1 #ifndef _CSLAM_SIMULATED_RENDEZVOUS_H_ 
    2 #define _CSLAM_SIMULATED_RENDEZVOUS_H_ 
    9 #include <rclcpp/rclcpp.hpp> 
   26         SimulatedRendezVous(std::shared_ptr<rclcpp::Node> &
node, 
const std::string& schedule_file, 
const unsigned int &robot_id);
 
   36         std::shared_ptr<rclcpp::Node> node_;
 
   37         unsigned int robot_id_;
 
   38         std::vector<std::pair<uint64_t, uint64_t>> rendezvous_ranges_;
 
bool is_alive()
Check if the robot is alive (aka in the rendez-vous schedule)
 
SimulatedRendezVous(std::shared_ptr< rclcpp::Node > &node, const std::string &schedule_file, const unsigned int &robot_id)
Rendez-vous simulation. Reads a config file indicating when the robot should be considered alive.