Function mrpt::ros2bridge::imuToObservation

Function Documentation

mrpt::obs::CObservationIMU::Ptr mrpt::ros2bridge::imuToObservation(const sensor_msgs::msg::Imu &imu, const std::string &sensorLabel)

Convert an Imu message to CObservationIMU. The caller is responsible for filling sensorPose afterwards.