Function nav2_route::utils::toMsg(const nav2_route::Route&, const std::string&, const rclcpp::Time&)

Function Documentation

inline nav2_msgs::msg::Route nav2_route::utils::toMsg(const nav2_route::Route &route, const std::string &frame, const rclcpp::Time &now)

Convert the route into a message.

Parameters:
  • routeRoute of nodes and edges

  • frame – Frame ID to use

  • now – Current time to use

Returns:

Route message