ROS-2 · Foxglove Visualization

Mar 9, 2025 | Tech Software

Some brief notes for quick reference.

Foxglove visualization.

  • to install ros-bridge
    • sudo apt install ros-humble-rosbridge-suite
  • to launch ros-bridge
    • ros2 launch rosbridge_server rosbridge_websocket_launch.xml
    • change address and port if necessary
  • using Foxglove with ROS official documentation
    • by default, the address and port are ws://localhost:9090
    • to debug remotely, your and host machines should be in the same network, you can typically configure Foxglove to monitor ws://{host_machine_address}:9090
    • to debug remotely offline, you can record ROS Bags as MCAP files and review them in Foxglove
  • visualizing transformation official documentation
  • below visualization uses Foxglove's web API, the panels are:
    • Plot for curves
    • 3D for transformation, which can also visualize robot URDF like in RViz, see official documentation for more information
    • Raw Message for raw text in JSON format
‎Check network for missing images.

A simple ROS-2 example with pose and transformation publishers.

The ROS-2 example's package XML.

The ROS-2 example's CMake.