Functions | |
bool | mrpt2ros (const CObservationRange &obj, const std_msgs::Header &msg_header, sensor_msgs::Range *msg) |
bool | ros2mrpt (const sensor_msgs::Range &msg, CObservationRange &obj) |
bool mrpt_bridge::range::mrpt2ros | ( | const CObservationRange & | obj, |
const std_msgs::Header & | msg_header, | ||
sensor_msgs::Range * | msg | ||
) |
Convert mrpt::obs::CObservationRange -> sensor_msgs/Range 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 COnservation does not contain "radiation_type", sensor_msgs::Range::radiation_type will be empty.
following part needs to be double checked, it looks incorrect ROS has single number float for range, MRPT has a list of sensedDistances
currently the following are not available in MRPT for corresponding range ROS message NO corresponding value for MRPT radiation_type at http://mrpt.ual.es/reference/devel/_c_observation_range_8h_source.html
following part needs to be double checked, it looks incorrect ROS has single number float for range, MRPT has a list of sensedDistances
currently the following are not available in MRPT for corresponding range ROS message NO corresponding value for MRPT radiation_type at http://mrpt.ual.es/reference/devel/_c_observation_range_8h_source.html
bool mrpt_bridge::range::ros2mrpt | ( | const sensor_msgs::Range & | msg, |
CObservationRange & | obj | ||
) |
Convert sensor_msgs/Range -> mrpt::obs::CObservationRange
again this is amibiguous as can't be certain of number of measurement from corresponding ROS message
again this is amibiguous as can't be certain of number of measurement from corresponding ROS message