12 int main(
int argc,
char **argv) {
14 rclcpp::init(argc, argv);
16 auto node = std::make_shared<rclcpp::Node>(
"pose_graph_manager");
18 node->declare_parameter<
int>(
"max_nb_robots", 1);
19 node->declare_parameter<
int>(
"robot_id", 0);
20 node->declare_parameter<
int>(
"backend.pose_graph_optimization_start_period_ms", 1000);
21 node->declare_parameter<
int>(
"backend.pose_graph_optimization_loop_period_ms", 100);
22 node->declare_parameter<
int>(
"backend.max_waiting_time_sec", 100);
23 node->declare_parameter<
bool>(
"backend.enable_broadcast_tf_frames",
true);
24 node->declare_parameter<
double>(
"neighbor_management.heartbeat_period_sec", 1.0);
25 node->declare_parameter<
bool>(
"evaluation.enable_logs",
false);
26 node->declare_parameter<std::string>(
"evaluation.log_folder",
"");
27 node->declare_parameter<
bool>(
"evaluation.enable_gps_recording",
false);
28 node->declare_parameter<
bool>(
"evaluation.enable_simulated_rendezvous",
false);
29 node->declare_parameter<std::string>(
"evaluation.rendezvous_schedule_file",
"");
30 node->declare_parameter<
bool>(
"evaluation.enable_pose_timestamps_recording",
false);
31 node->declare_parameter<
bool>(
"visualization.enable",
false);
32 node->declare_parameter<
int>(
"visualization.publishing_period_ms", 0);
int main(int argc, char **argv)
Node to manage the pose graph data.