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

Drivetrain Simulation with Ros2 Control #244

Open
nico-palmar opened this issue May 14, 2023 · 0 comments
Open

Drivetrain Simulation with Ros2 Control #244

nico-palmar opened this issue May 14, 2023 · 0 comments

Comments

@nico-palmar
Copy link
Contributor

We currently do not have a Gazebo simulation set up for our drivetrain.

As of right now (May 14), the ros2 control drivetrain code has not been merged into master but this is the current working branch: https://github.com/uwrobotics/uwrt_mars_rover/tree/user/andrew2002zhao/CAN-drivetrain-nico

The goal of this task would be to create a gazebo simulation which integrates the URDF that is in the branch above (ie. do not create a new URDF, just use the one there). The tasks are:

  1. Spawn a drivetrain of our rover in gazebo (first try doing it by manually launching gazebo and spawning the drivetrain. The combine all of that into a launch file that can launch gazebo, spawn the drivetrain, and open rviz)
  2. Integrate ros2 control into the gazebo simulation. Ros2 control has been tested on hardware but should be able to run in gazebo. You need to find out how to set up ros2 control to run in gazebo. In the end, you should be able to publish a cmd_vel command and see the drivetrain moving as expected in gazebo (see https://control.ros.org/master/doc/ros2_control_demos/example_2/doc/userdoc.html for details on running ros2 control). Note that you should not need to write anything new with ros2 control, it should be about figuring out how we can integrate ros2 control in gazebo so that our virtual actuators (ie. virtual motors and encoders) in gazebo can be moved properly with ros2 control.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant