44 const CpOdomTrackerGoalConstPtr & goal)
48 switch (goal->command)
50 case CpOdomTrackerGoal::RECORD_PATH:
54 case CpOdomTrackerGoal::CLEAR_PATH:
58 case CpOdomTrackerGoal::IDLE:
62 case CpOdomTrackerGoal::START_BROADCAST_PATH:
66 case CpOdomTrackerGoal::STOP_BROADCAST_PATH:
70 case CpOdomTrackerGoal::PUSH_PATH:
74 case CpOdomTrackerGoal::POP_PATH:
81 getLogger(),
"Odom Tracker Node - Action Server execute error: incorrect command - %d",
89 catch (std::exception & ex)
91 RCLCPP_ERROR(getLogger(),
"Odom Tracker Node - Action Server execute error: %s", ex.what());