Template Function tf2::fromMsg(const A&, B&)

Function Documentation

template<typename A, typename B>
void tf2::fromMsg(const A &a, B &b)

Function that converts from a ROS message type to another type. It has to be implemented by each data type in tf2_* (except ROS messages) as it is used in the “convert” function.

Parameters:
  • a – a ROS message to convert from

  • b – the object to convert to