Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
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.