Odometry#
#include "navground/sim/state_estimations/sensor_odometry.h"
A sensor that add normal error to the true twist and integrates it.
Registered properties:
longitudinal_speed_std_dev
(float, get_longitudinal_speed_std_dev)longitudinal_speed_bias
(float, get_longitudinal_speed_bias)transversal_speed_std_dev
(float, get_transversal_speed_std_dev)transversal_speed_bias
(float, get_transversal_speed_bias)angular_speed_std_dev
(float, get_angular_speed_std_dev)angular_speed_bias
(float, get_angular_speed_bias)update_ego_state
(bool, get_update_ego_state)update_sensig_state
(bool, get_update_sensing_state)
Public Functions
Constructs a new instance.
- Parameters:
longitudinal_speed_bias – [in] The longitudinal speed bias
longitudinal_speed_std_dev – [in] The longitudinal speed standard deviation
transversal_speed_bias – [in] The longitudinal speed bias
transversal_speed_std_dev – [in] The transversal speed standard deviation
angular_speed_bias – [in] The longitudinal speed bias
angular_speed_std_dev – [in] The angular speed standard deviation
update_sensing_state – [in] Whether to update the behavior environment state
update_ego_state – [in] Whether to update the behavior ego state
name – [in] The name to use as a prefix
Sets the longitudinal speed relative bias.
- Parameters:
value – [in] The desired value
Sets the longitudinal speed relative standard deviation.
- Parameters:
value – [in] The desired (positive) value
Gets the longitudinal speed relative bias. rangings.
- Returns:
The bias.
Gets the longitudinal speed relative standard deviation. rangings.
- Returns:
The standard deviation.
Sets the transversal speed relative bias.
- Parameters:
value – [in] The desired value
Sets the transversal speed relative standard deviation.
- Parameters:
value – [in] The desired (positive) value
Gets the transversal speed relative bias. rangings.
- Returns:
The bias.
Gets the transversal speed relative standard deviation. rangings.
- Returns:
The standard deviation.
Sets the angular speed relative bias.
- Parameters:
value – [in] The desired value
Sets the angular speed relative standard deviation.
- Parameters:
value – [in] The desired (positive) value
Gets the angular speed relative bias. rangings.
- Returns:
The bias.
Gets the angular speed relative standard deviation. rangings.
- Returns:
The standard deviation.
Gets whether to update the behavior environment state.
- Returns:
True if it updates the behavior environment state.
Sets whether to update the behavior environment state.
- Parameters:
value – [in] The desired value
Gets whether to update the behavior ego state.
- Returns:
True if it updates the behavior ego state.
Sets whether to update the behavior ego state.
- Parameters:
value – [in] The desired value
Gets the current pose.
- Returns:
The pose.
Gets the current twist.
- Returns:
The twist.
Public Static Attributes
The default longitudinal speed standard deviation.
The default transversal speed standard deviation.
The default angular speed standard deviation.