Template Function tf2::fromMsg(const beluga_ros::msg::Transform&, Sophus::SE2<Scalar>&)

Function Documentation

template<class Scalar>
inline void tf2::fromMsg(const beluga_ros::msg::Transform &msg, Sophus::SE2<Scalar> &out)

Converts a Transform message type to a Sophus SE2 type.

This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters:
  • msg – The transform message to convert.

  • out – The transform converted to a Sophus SE2 element.