This repository was archived by the owner on Oct 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
This repository was archived by the owner on Oct 17, 2025. It is now read-only.
Reproduced current status of gazebo_ros2_control #3
Copy link
Copy link
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
I have created two PRs where I have added:
- gazebo_ros2_control - preliminary version Added initial version of gazebo_ros2_control #1
- gazebo_ros2_control_demos - preliminary demo package with a cart in a 30 meter rail. Added initial demos in gazebo_ros2_control_demos #2
The ROS 2 distro used for this tutorial is Foxy
Run the demos:
mkdir -p ~/ros2_control_ws/src
cd ~/ros2_control_ws/src
git clone https://github.com/ros-simulation/gazebo_ros2_control/ -b ahcorde/test
git clone https://github.com/ros/xacro -b dashing-devel
git clone https://github.com/ros-simulation/gazebo_ros_pkgs -b ros2
git clone https://github.com/ros-controls/realtime_tools -b ros2_devel
git clone https://github.com/ros-controls/ros2_control
git clone https://github.com/ros-controls/ros2_controllers
git clone https://github.com/ddengster/ros2_control/ -b coffeebot_deps ros2_control_ddengster
touch ros2_control_ddengster/COLCON_IGNORE
cp -r ros2_control_ddengster/joint_limits_interface ros2_control_ddengster/transmission_interface ros2_control
cd ~/ros2_control_ws
colcon build --merge-installRunning the examples
I created two examples: hardware_interface/PositionJointInterface and hardware_interface/VelocityJointInterface. I only made it work the PositionJointInterface example
Launch the Gazebo classic world with the gazebo_ros2_plugin
ros2 launch gazebo_ros2_control_demos cart_example_position.launch.py
Call the action follow_joint_trajectories:
ros2 run gazebo_ros2_control_demos example_position
Check /joint_states or /state
ros2 topic echo /joint_states
ros2 topic echo /state
Dependencies
- xacro
- gazebo_ros_pkgs
- ros2_control
- ros2_controllers
- realtime_tools
swilcock0 and arjun-cod
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed
