Skip to content
New issue

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

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

Already on GitHub? # to your account

Support bumper sensors in Gazebo #99

Merged
merged 10 commits into from
May 9, 2023

Conversation

sasilva1998
Copy link

@sasilva1998 sasilva1998 commented Oct 3, 2022

Description

  • Added the support for bumper sensor for each of the iRobot Create versions. The contact with the bumpers is checked according to the mesh of the corresponding bumper shape for each robot. For that I added a new arg version in create_description/urdf/create_base.urdf.xacro.
  • Unfortunately, since there is no plugin for Omni IR, could only add a the common IR from Gazebo which I hope is still of use.
  • Generated a package with a minimal example to simulate the different Create robot version. Also updated the Readme to specify how to run the simulation. Uses a world file from turtlebot3_gazebo.
  • Added the publish of transforms for the wheels.

This PR is connected to #76.

Test configuration
ROS version: Noetic

@sasilva1998 sasilva1998 marked this pull request as ready for review October 3, 2022 22:30
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the additions!

See my feedback below.

create_description/urdf/create_base_gazebo.urdf.xacro Outdated Show resolved Hide resolved
create_gazebo/launch/create_gazebo.launch Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated
$ roslaunch create_bringup joy_teleop.launch [joy_config:=xbox360]
```

There exists configuration files for the [Xbox 360 wired controller](https://www.amazon.ca/Microsoft-Xbox-360-Wired-Controller/dp/B003ZSN600) and the [Logitech F710 controller](http://gaming.logitech.com/en-ca/product/f710-wireless-gamepad). You can adapt these files for your preferred joystick configuration.

## Simulation

The package `create_gazebo` has a launch file with a minimal simulation example of the Create robots.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have mixed feelings about adding a simulation-specific package. The package is not providing any custom simulation plugins or configuration; it is simply an example launch file and rviz config file. I think it makes more sense to simply move those into create_bringup (which is the package meant for example launch/config files). While I think having the examples are nice, it technically introduces a runtime dependency on Gazebo, which I'd rather avoid.

It might be best to keep these examples in a separate repository.

@sasilva1998 sasilva1998 changed the title Support IR Omni and bumper sensors in Gazebo Support bumper sensors in Gazebo Oct 9, 2022
@sasilva1998
Copy link
Author

Hi @jacobperron, sorry for the late response and thanks for your comments. I have made the recommended changes.

@jacobperron jacobperron merged commit e871723 into AutonomyLab:melodic May 9, 2023
@jacobperron
Copy link
Member

Thanks for the contribution!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants