scenario_simulator_v2 C++ API
|
#include <imu_sensor.hpp>
Public Member Functions | |
ImuSensor (const simulation_api_schema::ImuSensorConfiguration &configuration, const typename rclcpp::Publisher< MessageType >::SharedPtr &publisher) | |
auto | update (const rclcpp::Time ¤t_ros_time, const std::vector< traffic_simulator_msgs::EntityStatus > &statuses) const -> bool override |
Public Member Functions inherited from simple_sensor_simulator::ImuSensorBase | |
ImuSensorBase (const simulation_api_schema::ImuSensorConfiguration &configuration) | |
virtual | ~ImuSensorBase ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from simple_sensor_simulator::ImuSensorBase | |
auto | calculateCovariance (const double stddev) const -> std::array< double, 9 > |
Protected Attributes inherited from simple_sensor_simulator::ImuSensorBase | |
const bool | add_gravity_ |
const double | noise_standard_deviation_orientation_ |
const double | noise_standard_deviation_twist_ |
const double | noise_standard_deviation_acceleration_ |
std::mt19937 | random_generator_ |
std::normal_distribution | noise_distribution_orientation_ |
std::normal_distribution | noise_distribution_twist_ |
std::normal_distribution | noise_distribution_acceleration_ |
const std::array< double, 9 > | orientation_covariance_ |
const std::array< double, 9 > | angular_velocity_covariance_ |
const std::array< double, 9 > | linear_acceleration_covariance_ |
|
inlineexplicit |
|
inlineoverridevirtual |
Implements simple_sensor_simulator::ImuSensorBase.