Skip to content

Commit

Permalink
Ros2ControlSystem.hpp Clang-format compliant.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphieraccoon committed Nov 14, 2023
1 parent 98b6707 commit ea27318
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

#include "hardware_interface/handle.hpp"
#include "hardware_interface/hardware_info.hpp"
#include "hardware_interface/system_interface.hpp"
#include "hardware_interface/resource_manager.hpp"
#include "hardware_interface/system_interface.hpp"
#include "hardware_interface/types/hardware_interface_return_values.hpp"
#include "rclcpp/macros.hpp"
#include "webots_ros2_driver/PluginInterface.hpp"
Expand Down Expand Up @@ -51,7 +51,8 @@ namespace webots_ros2_control {
class Ros2ControlSystem : public Ros2ControlSystemInterface {
public:
Ros2ControlSystem();
void init(webots_ros2_driver::WebotsNode *node, const hardware_interface::HardwareInfo &info, const hardware_interface::ResourceManager &resource) override;
void init(webots_ros2_driver::WebotsNode *node, const hardware_interface::HardwareInfo &info,
const hardware_interface::ResourceManager &resource) override;

rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn on_init(
const hardware_interface::HardwareInfo &info) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@
#include <webots/supervisor.h>
#include "hardware_interface/handle.hpp"
#include "hardware_interface/hardware_info.hpp"
#include "hardware_interface/system_interface.hpp"
#include "hardware_interface/resource_manager.hpp"
#include "hardware_interface/system_interface.hpp"
#include "hardware_interface/types/hardware_interface_return_values.hpp"
#include "webots_ros2_driver/PluginInterface.hpp"
#include "webots_ros2_driver/WebotsNode.hpp"

namespace webots_ros2_control {
class Ros2ControlSystemInterface : public hardware_interface::SystemInterface {
public:
virtual void init(webots_ros2_driver::WebotsNode *node, const hardware_interface::HardwareInfo &info, const hardware_interface::ResourceManager &resource) = 0;
virtual void init(webots_ros2_driver::WebotsNode *node, const hardware_interface::HardwareInfo &info,
const hardware_interface::ResourceManager &resource) = 0;
};
} // namespace webots_ros2_control

Expand Down

0 comments on commit ea27318

Please sign in to comment.