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

[Garden] Port AcousticPinger plugin #531

Merged
merged 7 commits into from
Oct 25, 2022
Merged

[Garden] Port AcousticPinger plugin #531

merged 7 commits into from
Oct 25, 2022

Conversation

caguero
Copy link
Contributor

@caguero caguero commented Oct 14, 2022

This pull request ports the AcousticPingerPlugin to Gazebo.

How to test it?

  1. Run the simulation loading the new gymkhana_task world:
ros2 launch vrx_gz competition.launch.py world:=gymkhana_task
  1. On a separate terminal echo the pinger topic:
ros2 topic echo /wamv/pingers/pinger/range_bearing

The pinger is located 2 meters below the red buoy. You should get a range of around 29m. You can also try rotating/translating the WAM-V to see how the angles change. Keep in mind that there's some noise applied.

  1. You can also try changing the pinger position (for example to the origin):
ros2 topic pub /wamv/pingers/pinger/set_pinger_position --once geometry_msgs/msg/Vector3
  1. Verify how the range changes accordingly.

Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
@caguero caguero changed the title Port AcousticPinger plugin [Garden] Port AcousticPinger plugin Oct 14, 2022
Copy link
Contributor

@iche033 iche033 left a comment

Choose a reason for hiding this comment

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

works for me

@caguero caguero merged commit 63ac79e into gazebosim Oct 25, 2022
@caguero caguero mentioned this pull request Oct 27, 2022
14 tasks
@caguero caguero deleted the caguero/pinger branch January 5, 2023 21:21
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