Skip to content

Commit

Permalink
Added functionality for auto-switching of chained mode in controllers.
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl committed Mar 16, 2022
1 parent 06db1c0 commit 126f154
Show file tree
Hide file tree
Showing 3 changed files with 498 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ class ControllerManager : public rclcpp::Node
CONTROLLER_MANAGER_PUBLIC
void stop_controllers();

CONTROLLER_MANAGER_PUBLIC
void switch_chained_mode();

CONTROLLER_MANAGER_PUBLIC
void start_controllers();

Expand Down Expand Up @@ -450,6 +453,7 @@ class ControllerManager : public rclcpp::Node
set_hardware_component_state_service_;

std::vector<std::string> start_request_, stop_request_;
std::vector<std::string> to_chained_mode_request_, from_chained_mode_request_;
std::vector<std::string> start_command_interface_request_, stop_command_interface_request_;

struct SwitchParams
Expand Down
Loading

0 comments on commit 126f154

Please sign in to comment.