Function rmf_traffic_ros2::schedule::reconnect_schedule(rmf_traffic_msgs::msg::ScheduleIdentity&, const rmf_traffic_msgs::msg::ScheduleIdentity&)
Defined in File ScheduleIdentity.hpp
Function Documentation
-
bool rmf_traffic_ros2::schedule::reconnect_schedule(rmf_traffic_msgs::msg::ScheduleIdentity &previous, const rmf_traffic_msgs::msg::ScheduleIdentity &incoming)
Compare a previous schedule startup message to an incoming one. If a reconnection is appropriate, then the previous argument will be filled with the data of the new incoming message and the function will return true. If no reconnection should happen then the previous argument will not be modified and the function will return false.