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

Function Documentation

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

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

Specialized conversion from an Gazebo Time to a RCLCPP Time.

Generic conversion from an Gazebo Time object to another type.

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

  • in[in] Input time;

  • in[in] Gazebo Time to convert.

Template Parameters:

T – Output type

Returns:

A ROS Time message with the same value as in

Returns:

Conversion result

Returns:

A rclcpp::Time object with the same value as in