Template Function tf2::toMsg(const Sophus::SE2<Scalar>&)

Function Documentation

template<class Scalar>
inline beluga_ros::msg::Transform tf2::toMsg(const Sophus::SE2<Scalar> &in)

Converts a Sophus SE2 type to a Transform message.

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

Parameters:

in – The Sophus SE2 element to convert.

Returns:

The transform converted to a Transform message.