Visualize dive log sensor data with Foxglove
With some simple steps you can visualize dive log data with ease in Foxglove. This is a great tool to play back and visualize control signals and estimated states and other sensor data from the dive.
- Download Foxglove here and create an account.
- Install the SDK with the
cliextra to get theblueyeCLI and the.mcapconverter:pip install "blueye.sdk[cli]". -
Download a dive log from the drone and convert it in one step:
blueye logs download --latest 1 --mcapAlready have
.bezfiles on disk? Convert them directly — no drone needed:blueye logs convert mydive.bez -
Open Foxglove, in the top left menu, click on
Open local file, and pick your newly created .mcap-file. - Click on
Add panel, andRaw message, orPlotand select the signal you want to display. - Start typing
DepthTel.depth.valueto get auto-complete on all available messages in the protocol. - You can also get a nice overview of the logged messages with this command:
mcap info logfile.mcapin your terminal.
For programmatic access to the log records (the converter is built on the same
parser), see LogStream.