Function rclcpp::operator*

Function Documentation

::rclcpp::Duration rclcpp::operator*(const ::rclcpp::Duration &val1, const ::rclcpp::Duration &val2)

Multiply two durations. The units of the result are [s^2].

Note

This function will throw an exception if the result is out of bounds of the standard ROS duration range.

Parameters:
  • val1[in] Duration to multiply.

  • val2[in] Duration to multiply.

Returns:

The multiple.