Functions
mrpt_bridge::range Namespace Reference

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)
 

Function Documentation

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.

Returns
true on sucessful conversion, false on any error.

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

Definition at line 41 of file range.cpp.

bool mrpt_bridge::range::ros2mrpt ( const sensor_msgs::Range &  msg,
CObservationRange obj 
)

Convert sensor_msgs/Range -> mrpt::obs::CObservationRange

Returns
true on sucessful conversion, false on any error.

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

Definition at line 26 of file range.cpp.



mrpt_bridge
Author(s): Markus Bader , Raphael Zack
autogenerated on Fri Feb 28 2020 03:22:14