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

Acoustic perception task #609

Merged
merged 10 commits into from
Apr 13, 2023
Merged

Acoustic perception task #609

merged 10 commits into from
Apr 13, 2023

Conversation

caguero
Copy link
Contributor

@caguero caguero commented Mar 24, 2023

The acoustic perception task including:

  • Scoring plugin
  • Example world
  • Practice worlds

How to test it?

  1. Launch the simulation:
ros2 launch vrx_gz competition.launch.py world:=acoustic_perception_task
  1. Launch the joystick teleoperation node:
ros2 launch vrx_gz usv_joy_teleop.py
  1. Echo the output of the acoustic sensor:
/wamv/pingers/pinger/range_bearing

Take a look at the range value and teleoperate the robot until you minimize the distance. When the range is <= 3 meters the simulation should finish.

Bonus: Originally I was planning to use the exit and entrance gate. We're not going to use it during the competition but I decided to include it in case it's useful for anyone.

Screenshot from 2023-03-24 21-31-06

Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
@caguero caguero requested a review from M1chaelM March 24, 2023 20:28
Copy link
Collaborator

@M1chaelM M1chaelM left a comment

Choose a reason for hiding this comment

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

Everything seems to be working now but the pinger positions are so close together that it's hard to tell they have changed from world to world. Could we make the change a bit more obvious?

Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
@caguero
Copy link
Contributor Author

caguero commented Apr 11, 2023

Everything seems to be working now but the pinger positions are so close together that it's hard to tell they have changed from world to world. Could we make the change a bit more obvious?

I just updated the pinger positions in the practice worlds to make them more different.

@M1chaelM
Copy link
Collaborator

@caguero Your changes did make it easier to distinguish between the 3 worlds but I changed them even more to make it harder for teams to ignore the acoustic component and solve the task by driving around in a lawnmower pattern. (They can always do this, of course, but now it is more costly.)

@M1chaelM M1chaelM linked an issue Apr 13, 2023 that may be closed by this pull request
@caguero caguero merged commit 36fc916 into main Apr 13, 2023
@caguero caguero mentioned this pull request Jun 28, 2023
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.

Basic Acoustic Perception Task
2 participants