Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

Commit 102ed9d

Browse files
authored
Merge branch 'master' into sea
2 parents 79ce878 + 6639e53 commit 102ed9d

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

gazebo_ros2_control/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ ament_target_dependencies(${PROJECT_NAME}
4141
yaml_cpp_vendor
4242
)
4343

44-
if("$ENV{ROS_DISTRO}" STREQUAL "rolling")
45-
add_definitions(-DROLLING)
46-
endif()
47-
4844
add_library(gazebo_hardware_plugins SHARED
4945
src/gazebo_system.cpp
5046
)

gazebo_ros2_control/src/gazebo_ros2_control_plugin.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,7 @@ void GazeboRosControlPlugin::Load(gazebo::physics::ModelPtr parent, sdf::Element
297297
}
298298

299299
for (unsigned int i = 0; i < control_hardware_info.size(); i++) {
300-
#ifndef ROLLING
301-
std::string robot_hw_sim_type_str_ = control_hardware_info[i].hardware_class_type;
302-
#else
303300
std::string robot_hw_sim_type_str_ = control_hardware_info[i].hardware_plugin_name;
304-
#endif
305301
auto gazeboSystem = std::unique_ptr<gazebo_ros2_control::GazeboSystemInterface>(
306302
impl_->robot_hw_sim_loader_->createUnmanagedInstance(robot_hw_sim_type_str_));
307303

0 commit comments

Comments
 (0)