A simple extension for BlueOS that enables time-synchronized collection of sonar data from the Ping sonar, alongside GPS data. This extension provides both a full interface and a compact widget view for monitoring and recording survey data.
- Real-time sonar depth and confidence monitoring
- GPS position tracking
- Vessel heading display
- Data logging at 2Hz
- CSV data export
- Compact widget view for Cockpit integration
- Automatic system ID detection
- Support for multiple autopilot types (ArduPilot, PX4, Generic)
- Install the extension through the BlueOS extension manager
- Follow the guide here: https://bluerobotics.com/learn/collecting-creating-bathymetry-blueboat-ping2/
Access the full interface by navigating to the menu entry in BlueOS for Simple Ping Survey
To add the compact widget to your Cockpit interface:
- Open Cockpit's edit interface
- Add a new iframe widget
- Set the iframe URL to:
http://"your.vehicle.ip"/extension/simpleping2survey/widget?full_page=true
- Click the play button to start data collection
- The extension will automatically detect the correct system ID and begin logging
- Data is saved to a CSV file with timestamps
- Use the download button to retrieve the collected data
The CSV file includes:
- Unix Timestamp
- Date
- Time
- Depth (cm)
- Confidence (%)
- Vessel heading (degrees)
- Latitude
- Longitude
You can test the interface without connecting to real hardware by using the simulation mode:
- Create a file called
simulation.csvin the/app/logs/directory - Format it with the same columns as the regular data export (see Data Format section)
- Click the "Start Simulation" button in the interface
- The interface will play back the data from your CSV file at 5x real-time speed
This is useful for:
- Testing the interface without hardware
- Reviewing past survey data in the map view
- Demonstrating the tool's capabilities
- Development and testing
- Quickly visualizing large datasets (5x speed playback)
To create a simulation file from a previous survey, simply rename a downloaded data file to simulation.csv and place it in the logs directory.
- Fix bar at top that scrolls down to hide
- WP Survey speed parameter control on page
- User controlled confidence filter on live and/or logged data
- Better mobile experience - scaling corner logos
For more information and updates, visit the Blue Robotics discussion thread