Specialized Template Function gazebo_ros::Convert(const gazebo::msgs::Time&)

Function Documentation

template<>
inline builtin_interfaces::msg::Time gazebo_ros::Convert(const gazebo::msgs::Time &in)

Specialized conversion from an Gazebo Time message to a ROS Time message.

Generic conversion from an Gazebo Time message to another type.

Parameters:
  • in[in] Gazebo Time message to convert.

  • in[in] Input time

Template Parameters:

T – Output type

Returns:

A ROS Time message with the same value as in

Returns:

Conversion result