Skip to content

Commit c27990a

Browse files
committed
remove rebase artefacts
1 parent 0929fe9 commit c27990a

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

hardware_interface/include/hardware_interface/actuator_interface.hpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -482,17 +482,16 @@ class ActuatorInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNod
482482
std::unordered_map<std::string, InterfaceDescription> unlisted_command_interfaces_;
483483

484484
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+
485488
std::shared_ptr<StateInterface> emergency_stop_;
486489
std::shared_ptr<StateInterface> error_signal_;
487490
std::shared_ptr<StateInterface> error_signal_message_;
488491
std::shared_ptr<StateInterface> warning_signal_;
489492
std::shared_ptr<StateInterface> warning_signal_message_;
490493

491494
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_;
496495
};
497496

498497
} // namespace hardware_interface

hardware_interface/include/hardware_interface/sensor_interface.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,15 +314,14 @@ class SensorInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNodeI
314314
std::unordered_map<std::string, InterfaceDescription> unlisted_state_interfaces_;
315315

316316
private:
317+
std::unordered_map<std::string, std::shared_ptr<StateInterface>> sensor_states_;
318+
317319
std::shared_ptr<StateInterface> error_signal_;
318320
std::shared_ptr<StateInterface> error_signal_message_;
319321
std::shared_ptr<StateInterface> warning_signal_;
320322
std::shared_ptr<StateInterface> warning_signal_message_;
321323

322324
rclcpp_lifecycle::State lifecycle_state_;
323-
324-
private:
325-
std::unordered_map<std::string, std::shared_ptr<StateInterface>> sensor_states_;
326325
};
327326

328327
} // namespace hardware_interface

hardware_interface/include/hardware_interface/system_interface.hpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -527,17 +527,16 @@ class SystemInterface : public rclcpp_lifecycle::node_interfaces::LifecycleNodeI
527527
std::unordered_map<std::string, InterfaceDescription> unlisted_command_interfaces_;
528528

529529
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+
530533
std::shared_ptr<StateInterface> emergency_stop_;
531534
std::shared_ptr<StateInterface> error_signal_;
532535
std::shared_ptr<StateInterface> error_signal_message_;
533536
std::shared_ptr<StateInterface> warning_signal_;
534537
std::shared_ptr<StateInterface> warning_signal_message_;
535538

536539
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_;
541540
};
542541

543542
} // namespace hardware_interface

0 commit comments

Comments
 (0)