After connecting with other teams, we learned that manyβourselves includedβfaced issues launching Foxglove using IPv6 or the Husarnet peer address. To help others avoid these problems, we're creating this guide with the future in mind, so it can serve as a universal setup reference for anyone facing similar challenges.
Install the Foxglove bridge for your ROS 2 distribution:
sudo apt install ros-$ROS_DISTRO-foxglove-bridgeIf you're experiencing issues connecting to the bridge via IPv6, try explicitly setting the address parameter(you can get the IPv6 address through sudo husarnet status command):
ros2 launch foxglove_bridge foxglove_bridge_launch.xml address:="'::'"Brave and Chrome have been tested and confirmed to work well with Foxglove(Scroll down for reference screenshots).
-
Choose Connection Type: Select
Foxglove WebSocket. -
Find Husarnet Peer Address:
- Run
husarnet statusor check the Husarnet Dashboard to find the IPv6 peer address of the remote device where topics are published.
- Run
-
Connect Using IPv6:
-
Enter the address in this format:
ws://[<HUSARNET_IPV6_ADDRESS>]:8765 -
Ensure the IPv6 address is enclosed in square brackets
[].
-
-
Enable Content:
- Click "Load unsafe scripts" if prompted in the browser.
-
Raw Messages View raw sensor data like IMU, battery voltage, etc.
-
Gauge Visualize numeric values (e.g., speed, voltage) on customized gauges.
-
Image Panel Stream and view camera feeds.
-
Teleop Panel Control robot movement interactively from the browser.
- Click "Create New Layout".
- Add your desired panels.
- Select the relevant topics for each panel.
- Arrange the layout as you prefer.
- Use the "Export" option to save the layout as a
.jsonfile to a chosen location.
- Use "Import from file" and select your previously saved
.jsonlayout. - All topic and panel settings will be restored.
This guide helps you:
- Overcome IPv6 connection issues using Husarnet with Foxglove.
- Properly visualize ROS 2 topics including LiDAR, images, sensor data, and control interfaces.
- Save and reuse customized layouts for quicker setup in future sessions.






