|
| void | abort_mission (const std::string &reason) override |
| | SystemActions: aborts the active mission, if any, telling its client why.
|
| bool | apply_pending_reconfigure () |
| | Applies the pending reconfiguration request, if any, while Active: cycles through unconfigured, setting the parameters there.
|
| std::string | get_configuration_dump () |
| | Every EasyNav parameter, one "node/parameter=value" per line, sorted.
|
| std::shared_ptr< NavState > | get_nav_state () const |
| | Access to the shared navigation state (for testing and tools).
|
| std::vector< std::string > | get_nodes_without_clock () |
| | EasyNav nodes with use_sim_time whose ROS clock has not started (still at 0): no /clock reaches them, so their components never run.
|
| rclcpp::CallbackGroup::SharedPtr | get_real_time_cbg () |
| | Get the real-time callback group.
|
| const safety::SafetySupervisor & | get_safety () const |
| | Safety mode, memory lock and configuration hash, as of the last configure.
|
| std::string | get_shutdown_reason () const |
| | Why the shutdown was requested.
|
| std::map< std::string, SystemNodeInfo > | get_system_nodes () |
| | Get all system nodes managed by this coordinator.
|
| void | hold_mission_progress (bool hold) override |
| | SystemActions: while held, GoalManager takes no goal as reached.
|
| bool | is_reconfigure_pending () const |
| | Whether a reconfiguration is pending.
|
| bool | is_shutdown_requested () const |
| | Whether the recovery system asked EasyNav to terminate (request_shutdown()).
|
| CallbackReturnT | on_activate (const rclcpp_lifecycle::State &state) |
| | Activate the node.
|
| CallbackReturnT | on_cleanup (const rclcpp_lifecycle::State &state) |
| | Cleanup the node.
|
| CallbackReturnT | on_configure (const rclcpp_lifecycle::State &state) |
| | Configure the node.
|
| CallbackReturnT | on_deactivate (const rclcpp_lifecycle::State &state) |
| | Deactivate the node.
|
| CallbackReturnT | on_error (const rclcpp_lifecycle::State &state) |
| | Handle lifecycle transition error.
|
| CallbackReturnT | on_shutdown (const rclcpp_lifecycle::State &state) |
| | Shutdown the node.
|
| bool | request_reconfigure (const std::vector< ParameterChange > &changes, const std::string &reason) override |
| | SystemActions: pending until apply_pending_reconfigure(); rejected in safety mode.
|
| bool | request_restore_parameters (const std::string &reason) override |
| | SystemActions: pending until apply_pending_reconfigure(); rejected in safety mode.
|
| void | request_shutdown (const std::string &reason) override |
| | SystemActions: records that EasyNav must terminate (see is_shutdown_requested()).
|
| void | system_cycle () |
| | Non-real-time system cycle.
|
| void | system_cycle_rt () |
| | Real-time system cycle.
|
| | SystemNode (const rclcpp::NodeOptions &options=rclcpp::NodeOptions()) |
| | Constructor.
|
| | ~SystemNode () |
| | Destructor.
|
ROS 2 lifecycle node coordinating all Easy Navigation components.
Manages lifecycle transitions, real-time execution, and communication between planner, controller, localizer, map manager, and sensor nodes.
Safety ("safety.*" parameters, configuration hash): safety::SafetySupervisor.
| bool apply_pending_reconfigure |
( |
| ) |
|
Applies the pending reconfiguration request, if any, while Active: cycles through unconfigured, setting the parameters there.
Called by whoever drives this node's lifecycle, between cycles (never from a cycle: the recovery system is reloaded).
- Returns
- True if EasyNav was reconfigured (with the new values or, if they failed, the previous ones).