Skip to main content

ROS 1

Visualize your robot live

The best way to visualize your live ROS 1 robot in Foxglove is using the Foxglove bridge. It's written in C++ with sensible defaults to get you up and running quickly and is designed for high performance with low overhead. It's also highly configurable.

1. Install the Foxglove bridge

Install and launch the ROS Foxglove bridge node:

sudo apt install ros-$ROS_DISTRO-foxglove-bridge
roslaunch --screen foxglove_bridge foxglove_bridge.launch

The Foxglove Bridge will automatically subscribe to all topics in your ROS system and make them available for live visualization over WebSocket.

note

For ROS 1 distributions older than Melodic, you will have to build from source.

2. Connect to your robot:

Make sure you are on the same network as your robot. In Foxglove, select Open connection from the dashboard or left-hand menu.

Select open connection

Select Foxglove WebSocket in the Open a new connection dialog, then enter the URL to your Foxglove bridge server:

Foxglove WebSocket dialog

tip

While Foxglove does support rosbridge and ROS 1 native connections, we recommend always using the Foxglove Bridge for the best features, performance, and stability.

Explore your data

Your data is now available for exploring in Foxglove. Add some panels to begin visualizing what your robot is seeing and producing. Not sure where to start? Try adding a Raw Messages panel, Plot panel, or 3D panel.

Learn more

  • Explore all of the panels Foxglove has to offer for viewing and exploring data
  • Create and save sets of panels and their setting as layouts to reuse them or share with teammates
  • Use the data management platform to store, stream, and share your robotics data