16 : position_gaussian_noise(position_gaussian_noise),
17 position_dist_(0.0,position_gaussian_noise),
18 orientation_gaussian_noise(orientation_gaussian_noise),
19 orientation_dist_(0.0,orientation_gaussian_noise),
20 velocity_gaussian_noise(velocity_gaussian_noise),
21 twist_dist_(0.0,velocity_gaussian_noise),
geometry_msgs::Quaternion convertEulerAngleToQuaternion(geometry_msgs::Vector3 euler)
Sensor model of the nmea GPS plugin.
std::normal_distribution position_dist_
normal distribution generator for position
~GpsSensorModel()
destructor of GpsSensorModel class
std::normal_distribution orientation_dist_
normal distribution generator for orientation
std::default_random_engine engine_
random generation engine
std::normal_distribution twist_dist_
normal distribution generator for twist
GpsSensorModel(double position_gaussian_noise, double orientation_gaussian_noise, double velocity_gaussian_noise)
constructer of the GpsSensorModel class
geometry_msgs::Vector3 convertQuaternionToEulerAngle(geometry_msgs::Quaternion quat)
constexpr double orientation_gaussian_noise
gaussian noise of the orientation
constexpr double velocity_gaussian_noise
gaussian noise of the velocity
geometry_msgs::Twist addGaussianNoise(geometry_msgs::Twist twist)
add gausiann noise to the twist