Functions | |
bool | mrpt2ros (const CObservationIMU &obj, const std_msgs::Header &msg_header, sensor_msgs::Imu &msg) |
bool | ros2mrpt (const sensor_msgs::Imu &msg, CObservationIMU obj) |
bool mrpt_bridge::imu::mrpt2ros | ( | const CObservationIMU & | obj, |
const std_msgs::Header & | msg_header, | ||
sensor_msgs::Imu & | msg | ||
) |
Convert mrpt::obs::CObservationIMU -> sensor_msgs/Imu The user must supply the "msg_header" field to be copied into the output message object, since that part does not appear in MRPT classes.
Since COnservationIMU does not contain covariance terms NEED TO fix those.
computing acceleration in global navigation frame not in local vehicle frame, might be the other way round
bool mrpt_bridge::imu::ros2mrpt | ( | const sensor_msgs::Imu & | msg, |
CObservationIMU | obj | ||
) |