Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Meta-ticket] Port gazebo_ros2_control to ROS 2 #6

Closed
1 of 2 tasks
ahcorde opened this issue Jun 3, 2020 · 8 comments
Closed
1 of 2 tasks

[Meta-ticket] Port gazebo_ros2_control to ROS 2 #6

ahcorde opened this issue Jun 3, 2020 · 8 comments
Assignees
Labels
enhancement New feature or request

Comments

@ahcorde
Copy link
Collaborator

ahcorde commented Jun 3, 2020

Not all functionality from ROS 1 has been ported to ROS 2 yet.

For ROS 1 see http://gazebosim.org/tutorials?tut=ros_control

This package provides a plugin which uses the ros2_control API to control joints inside Gazebo simulations.

The gazebo_ros_control tag also has the following optional child elements:

  • robotNamespace: The ROS namespace to be used for this instance of the plugin, defaults to robot name in URDF/SDF
  • controlPeriod: The period of the controller update (in seconds), defaults to Gazebo's period
  • robotParam: The location of the robot_description (URDF) on the parameter server.
    • Parameters in ROS 2 are inside each node. By default the plugin check this parameter in a node called robot_state_publisher and the parameter is called robot_description
  • robotSimType: The pluginlib name of a custom robot sim interface to be used (see below for more details), defaults to 'DefaultRobotHWSim'

TODO

Already added

  • ROS 2's style guidelines and linters.
  • Add demos for all ported functionality.

Not implemented yet

Status

Package Status
gazebo_ros_control
default_robot_hw_sim 🧑‍🏭 partially ported
gazebo_ros_control_plugin 🧑‍🏭 partially ported
robot_hw_sim 🧑‍🏭 partially ported
@ahcorde ahcorde added the enhancement New feature or request label Jun 3, 2020
@bmagyar
Copy link
Member

bmagyar commented Jun 3, 2020

Hi @ahcorde , here's a github project on the ros-controls org side collecting tickets for making ROS1 functionality available: https://github.com/orgs/ros-controls/projects/5

feel free to request new ones to be added

@chapulina
Copy link
Collaborator

@bmagyar , if it would make it easier to transfer this repo to ros-controls so it is better integrated with the board, just let us know.

@ahcorde
Copy link
Collaborator Author

ahcorde commented Jun 4, 2020

@mkhansenbot
Copy link

I'm looking for a status, not clear to me what's left to be done for porting gazebo_ros2_controls? @chapulina or @ahcorde can you update?

@chapulina
Copy link
Collaborator

@mkhansenbot , we've paused work on this task until the upstream ros2_control package is released into Foxy. Our understanding is that there are upcoming API changes to ros2_control that will require a refactoring of the code that we currently have in gazebo_ros2_control.

We've been tracking upstream's changes in the hope that providing simulation would speed up their development. However, the latest I heard, the ros2_control developers aren't making use of gazebo_ros2_control, so there isn't much benefit in us continuing to track their development so closely. Once ros2_control is stable (i.e. released), we'll restart work and update what's needed here.

@mkhansenbot
Copy link

Thanks for the update, I'll check with the ros2_control maintainers

@chapulina
Copy link
Collaborator

All the basic functionality is available since #44 . We're planning to make a bloom release into Foxy soon.

@ahcorde
Copy link
Collaborator Author

ahcorde commented Feb 15, 2021

Package was released and master branch build on top of Foxy packages thanks to this PR #44

@ahcorde ahcorde closed this as completed Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants