Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.
Merged
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
5 changes: 5 additions & 0 deletions gazebo_ros2_control/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,18 @@ if(NOT CMAKE_CXX_STANDARD)
endif()

include_directories(include)
link_directories(
${gazebo_dev_LIBRARY_DIRS}
)

# Libraries
add_library(${PROJECT_NAME} SHARED
src/gazebo_ros2_control_plugin.cpp
)
ament_target_dependencies(${PROJECT_NAME}
angles
controller_manager
control_toolbox
gazebo_dev
gazebo_ros
hardware_interface
Expand Down
6 changes: 6 additions & 0 deletions gazebo_ros2_control/src/gazebo_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@ bool GazeboSystem::initSim(
nh_->get_logger(), "joint %s is configured in VELOCITY_PID mode",
transmissions[j].joints[0].name.c_str());
break;
case EFFORT:
{} // fallthrough
case POSITION_PID:
{} // fallthrough
case VELOCITY_PID:
{} // fallthrough
}
}
}
Expand Down