43 sensor_msgs::Imu& msg)
47 msg.header = msg_header;
57 msg.linear_acceleration.x = measurements.at(
IMU_X_ACC);
58 msg.linear_acceleration.y = measurements.at(
IMU_Y_ACC);
59 msg.linear_acceleration.z = measurements.at(
IMU_Z_ACC);
61 msg.angular_velocity.x = measurements.at(
IMU_WX);
62 msg.angular_velocity.y = measurements.at(
IMU_WY);
63 msg.angular_velocity.z = measurements.at(
IMU_WZ);
std::vector< double > rawMeasurements
The accelerometer and/or gyroscope measurements taken by the IMU at the given timestamp.
y-axis acceleration (local/vehicle frame) (m/sec2)
Orientation Quaternion X (global/navigation frame)
This class stores measurements from an Inertial Measurement Unit (IMU) (attitude estimation, raw gyroscope and accelerometer values), altimeters or magnetometers.
z-axis acceleration (local/vehicle frame) (m/sec2)
void set(TIMUDataIndex idx, double value)
Sets a given data type, and mark it as present.
angular velocity - x (local/vehicle frame) (rad/sec)
This namespace contains representation of robot actions and observations.
Orientation Quaternion Y (global/navigation frame)
angular velocity - z (local/vehicle frame) (rad/sec)
Orientation Quaternion Z (global/navigation frame)
Orientation Quaternion W (global/navigation frame)
bool toROS(const mrpt::obs::CObservationGPS &obj, const std_msgs::Header &msg_header, sensor_msgs::NavSatFix &msg)
Convert mrpt::obs::CObservationGPS -> sensor_msgs/NavSatFix The user must supply the "msg_header" fie...
angular velocity - y (local/vehicle frame) (rad/sec)
ROS message: http://docs.ros.org/api/sensor_msgs/html/msg/NavSatFix.html MRPT message: https://github...
bool fromROS(const sensor_msgs::NavSatFix &msg, mrpt::obs::CObservationGPS &obj)
Convert sensor_msgs/NavSatFix -> mrpt::obs::CObservationGPS.
x-axis acceleration (local/vehicle frame) (m/sec2)