File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed
hardware_interface/include/hardware_interface Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -482,17 +482,16 @@ class ActuatorInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNod
482
482
std::unordered_map<std::string, InterfaceDescription> unlisted_command_interfaces_;
483
483
484
484
private:
485
+ std::unordered_map<std::string, std::shared_ptr<StateInterface>> actuator_states_;
486
+ std::unordered_map<std::string, std::shared_ptr<CommandInterface>> actuator_commands_;
487
+
485
488
std::shared_ptr<StateInterface> emergency_stop_;
486
489
std::shared_ptr<StateInterface> error_signal_;
487
490
std::shared_ptr<StateInterface> error_signal_message_;
488
491
std::shared_ptr<StateInterface> warning_signal_;
489
492
std::shared_ptr<StateInterface> warning_signal_message_;
490
493
491
494
rclcpp_lifecycle::State lifecycle_state_;
492
-
493
- private:
494
- std::unordered_map<std::string, std::shared_ptr<StateInterface>> actuator_states_;
495
- std::unordered_map<std::string, std::shared_ptr<CommandInterface>> actuator_commands_;
496
495
};
497
496
498
497
} // namespace hardware_interface
Original file line number Diff line number Diff line change @@ -314,15 +314,14 @@ class SensorInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNodeI
314
314
std::unordered_map<std::string, InterfaceDescription> unlisted_state_interfaces_;
315
315
316
316
private:
317
+ std::unordered_map<std::string, std::shared_ptr<StateInterface>> sensor_states_;
318
+
317
319
std::shared_ptr<StateInterface> error_signal_;
318
320
std::shared_ptr<StateInterface> error_signal_message_;
319
321
std::shared_ptr<StateInterface> warning_signal_;
320
322
std::shared_ptr<StateInterface> warning_signal_message_;
321
323
322
324
rclcpp_lifecycle::State lifecycle_state_;
323
-
324
- private:
325
- std::unordered_map<std::string, std::shared_ptr<StateInterface>> sensor_states_;
326
325
};
327
326
328
327
} // namespace hardware_interface
Original file line number Diff line number Diff line change @@ -527,17 +527,16 @@ class SystemInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNodeI
527
527
std::unordered_map<std::string, InterfaceDescription> unlisted_command_interfaces_;
528
528
529
529
private:
530
+ std::unordered_map<std::string, std::shared_ptr<StateInterface>> system_states_;
531
+ std::unordered_map<std::string, std::shared_ptr<CommandInterface>> system_commands_;
532
+
530
533
std::shared_ptr<StateInterface> emergency_stop_;
531
534
std::shared_ptr<StateInterface> error_signal_;
532
535
std::shared_ptr<StateInterface> error_signal_message_;
533
536
std::shared_ptr<StateInterface> warning_signal_;
534
537
std::shared_ptr<StateInterface> warning_signal_message_;
535
538
536
539
rclcpp_lifecycle::State lifecycle_state_;
537
-
538
- private:
539
- std::unordered_map<std::string, std::shared_ptr<StateInterface>> system_states_;
540
- std::unordered_map<std::string, std::shared_ptr<CommandInterface>> system_commands_;
541
540
};
542
541
543
542
} // namespace hardware_interface
You can’t perform that action at this time.
0 commit comments