Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gazebo_ros2_control/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ link_directories(

# Libraries
add_library(${PROJECT_NAME} SHARED
src/gazebo_ros2_control_plugin.cpp
src/gazebo_ros2_control_plugin.cpp src/node.cc
)
ament_target_dependencies(${PROJECT_NAME}
angles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class GazeboSystem : public GazeboSystemInterface
bool initSim(
rclcpp::Node::SharedPtr & model_nh,
gazebo::physics::ModelPtr parent_model,
gazebo::transport::NodePtr & transport_nh,
const hardware_interface::HardwareInfo & hardware_info,
sdf::ElementPtr sdf) override;

Expand All @@ -86,6 +87,10 @@ class GazeboSystem : public GazeboSystemInterface
const hardware_interface::HardwareInfo & hardware_info,
gazebo::physics::ModelPtr parent_model);

void registerGazeboTopics(
const hardware_interface::HardwareInfo & hardware_info,
gazebo::physics::ModelPtr parent_model);

/// \brief Private data class
std::unique_ptr<GazeboSystemPrivate> dataPtr;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include "hardware_interface/system_interface.hpp"

#include "gazebo_ros2_control/node.hh"
#include "rclcpp/rclcpp.hpp"


Expand Down Expand Up @@ -69,6 +70,7 @@ class GazeboSystemInterface
virtual bool initSim(
rclcpp::Node::SharedPtr & model_nh,
gazebo::physics::ModelPtr parent_model,
gazebo::transport::NodePtr & transport_nh,
const hardware_interface::HardwareInfo & hardware_info,
sdf::ElementPtr sdf) = 0;

Expand Down
Loading