Skip to content

[Garden] Port AcousticPinger plugin#531

Merged
caguero merged 7 commits into
gazebosimfrom
caguero/pinger
Oct 25, 2022
Merged

[Garden] Port AcousticPinger plugin#531
caguero merged 7 commits into
gazebosimfrom
caguero/pinger

Conversation

@caguero
Copy link
Copy Markdown
Collaborator

@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 <caguero@openrobotics.org>
Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
@caguero caguero changed the title Port AcousticPinger plugin [Garden] Port AcousticPinger plugin Oct 14, 2022
Copy link
Copy Markdown
Collaborator

@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
exordor pushed a commit to exordor/vrx_tunnel that referenced this pull request Oct 26, 2025
* RangeBearing plugin working.

Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
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