vrx_2022 gymkhana_task - osrf/vrx GitHub Wiki
This task requires the system to combine several fundamental capabilities. In the first part of the task, the vehicle must traverse a channel marked by pairs of colored buoys. After passing through the final gate in the channel, the vehicle enters the second part of the task, in which it must searchs for an underwater acoustic pinger marking the location of a black box. The vehicle should navigate to the pinger and hold station as close as possible to the pinger.
roslaunch vrx_gazebo gymkhana.launch
The following ROS topics contain information relevant to this task:
/vrx/gymkhana_blackbox/goal
/vrx/gymkhana_blackbox/pose_error
/vrx/gymkhana_blackbox/mean_pose_error
/vrx/task/info
/wamv/sensors/pingers/pinger/range_bearing
For the timeout counter and your current score, subscribe to the /vrx/task/info
topic:
rostopic echo /vrx/task/info
To complete the second part of the task, you will also need to subscribe to the acoustic pinger topic:
rostopic echo /wamv/sensors/pingers/pinger/range_bearing
- Navigate the channel.
- Use the
range_bearing
information from the acoustic pinger to locate the black box. - Drive the vehicle as close as possible to the black box and remain at this location until the task times out.
- Even though the
gymkhana_channel
andgymkhana_blackbox
portions each has its owntask/info
topics, the final timeout and score go by the top-level topic. - The topics associated with the navigation channel are not relevant to the task and can be disregarded. However, Gazebo messages such as
[Msg] New gate crossed!
and[Msg] Course completed!
will be printed to the terminal, if you launch the task with argumentextra_gazebo_args:=--verbose
Important: Make sure to use only the acoustic pinger to determine the goal pose.
- Note that, for debugging purposes:
-
/vrx/gymkhana_blackbox/goal
provides the absolute goal pose. -
/vrx/gymkhana_blackbox/pose_error
provides the ground truth pose error -
/vrx/gymkhana_blackbox/mean_pose_error
provides the mean pose error.
-
- These topics are for debugging purposes only and will not be available to the system in the actual competition.