Visualizing telemetry data and sending commands when tethered to the barracuda vehicle, real or simulation.
- Download and install Foxglove on your local computer (support for Linux, Mac, and Windows).
- Download and install joy-panel as a local extension within Foxglove Extension for Playstation and Xbox controller support.
Clone this repo locally on your computer with Foxglove installed.
git clone git@github.com:usc-robosub/barracuda-topside-ui.gitFrom the Foxglove Dashboard > Layouts > + Add > Import Personal Layout, select all the .json panel files found within the locally cloned barracuda-topside-ui/foxglove_layouts directory.
First ensure the foxglove_bridge node has been started on the target device (Jetson or Simulation).
From the Foxglove Dashboard > Foxglove WebSocket type in the following in the WebSocket URL:
- connecting to Jetson over wifi in the makerspace (or cloudflare)
ws://192.168.8.167:8765- connecting to Jetson over tether
ws://192.168.8.158:8765- connecting to simulated barracuda
coming soon...
After starting a live connection, the most recently used layout will load in. To change the layout, select from the dropdown menu on the top right of the foxglove window, to the left of the Add panel button.
-
Xbox controllers on Mac only work via Bluetooth and will not work via USB (internal issue with Mac controller drivers to electron/chromium based apps).
-
With Windows Xbox controllers work with a USB connections.
-
Playstation controllers should work with either USB or Bluetooth.