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

Fix issue #691 #692

Merged
merged 3 commits into from
Jun 30, 2023
Merged

Fix issue #691 #692

merged 3 commits into from
Jun 30, 2023

Conversation

caguero
Copy link
Contributor

@caguero caguero commented Jun 28, 2023

Fixes #691

This pull request updates the topics associated with the pinger functionality.

The beacon located in the water uses a topic to set its position. The default topic is now /pinger/set_pinger_position.

The acoustic sensor mounted on the WAM-V uses a topic to access the sensor data, that estimates distance to the pinger. The default topic is now /wamv/sensors/acoustics/receiver/range_bearing.

How to test it?

This PR has a implications in a few places: acoustic_perception task, acoustic_tracking task and also wamv_generation.

Acoustic perception task

Follow the instructions from #609

Important: In step (3), echo the topic /wamv/sensors/acoustics/receiver/range_bearing instead.

Acoustic tracking task

Follow the instructions from #614

Important: Uncomment the block within lines 693-704 in acoustic_tracking_task.sdf instead.

You can also echo the topic /wamv/sensors/acoustics/receiver/range_bearing.

WAM-V generation

Follow the instructions from https://github.com/osrf/vrx/wiki/custom_components_tutorial

You can also echo the pinger sensor:

ros2 topic echo /wamv/sensors/acoustics/receiver/range_bearing

I also fix an issue in the tutorial and updated the example_component_config.yaml content from the tutorial.
Important: Clear your workspace and recompile before generating the WAM-V.

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 June 30, 2023 17: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.

Checked the following:

  • Acoustic perception task
  • Acoustic tracking task
  • WAMV generation
    These all worked as expected.

@caguero caguero merged commit 5b501ea into main Jun 30, 2023
1 check passed
@caguero caguero deleted the caguero/issue_691 branch June 30, 2023 19:06
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.

Update pinger topics
2 participants