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

Add ultrasonic and infrared sensors to Eddie #3

Merged

Conversation

arya-ebrahimi
Copy link
Contributor

@arya-ebrahimi arya-ebrahimi commented Jun 9, 2023

This pull request aims to add infrared and ultrasonic sensors to the eddiebot_description package.

Two URDF files are created to represent the IR and Ultrasonic sensors using the gpu_lidar since there is no dedicated Ultrasonic or IR sensor currently for Gazebo. (see gazebosim/gz-sensors#19)
Each file contains the following:

  1. Stand joint: connects the parent link to the stand link.
  2. Stand link: a cuboid on which the sensor is placed.
  3. Sensor joint: connects stand and sensor links.
  4. Sensor link: visualizes the sensor using sensor STL mesh file, which is added in the meshes folder.
  5. dummy joint: corrects the sensor's ray direction.
  6. dummy link: reference of the sensor.
  7. sensor: gpu_lidar sensor with appropriate settings for each type of sensor.

The main difference between these two sensors is the sensor's range. The ultrasonic sensor's ray supports a wider range than the IR sensors.

Five instances of these sensors (two Ultrasonic and three IR) are created and mounted on Eddie's base.

Screenshot from 2023-06-09 18-19-11

image

Sensor's ray visualized in Gazebo alongside the gz topic of the first infrared sensor:

eddie_ultrasonic_ir_sensors

@arya-ebrahimi arya-ebrahimi changed the title Arya ebrahimi add ultrasonic ir sensors Add ultrasonic and infrared sensors to Eddie Jun 9, 2023
@arashsm79
Copy link
Owner

Phenomenal job! Thanks.

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

Successfully merging this pull request may close these issues.

2 participants