Skip to content

vrx_2023 acoustic_tracking_task

M1chaelM edited this page May 30, 2023 · 2 revisions

Task 7: Acoustic Tracking

Summary

In this task, the vehicle will track a moving underwater acoustic beacon while avoiding obstacles.

How to Run

Step 1: Launch the example

ros2 launch vrx_gz competition.launch.py world:=acoustic_tracking_task

Step 2: Subscribe to the relevant topics

ros2 topic echo /wamv/pingers/pinger/range_bearing
  • For the timeout counter and your current score, subscribe to the /vrx/task/info topic:
ros2 topic echo /vrx/task/info

Step 3: Complete the task

  • In order to complete the task, you can manually drive the WAM-V to follow the beacon's path with a gamepad:
ros2 launch vrx_gz usv_joy_teleop.launch

The goal pose at every timestep is calculated as the vertical projection from the acoustic beacon to the surface of the water. Your score is incremented based on the distance between the WAM-V and the current goal pose - which will move, as the the beacon is moving. Collisions with obstacles will result in a score penalty.

Back: Follow the Path Top: VRX Tutorials Next: Scan and Dock and Deliver
Clone this wiki locally