Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
kilted

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/schemas.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status MAINTAINED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
rolling

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

No version for distro ardent showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

No version for distro bouncy showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

No version for distro crystal showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

No version for distro eloquent showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

No version for distro dashing showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
galactic

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/schemas.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status MAINTAINED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
foxy

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/schemas.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status MAINTAINED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
iron

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/schemas.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status MAINTAINED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

No version for distro lunar showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

No version for distro jade showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

No version for distro indigo showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

No version for distro hydro showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

No version for distro kinetic showing humble. Known supported distros are highlighted in the buttons above.
Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
humble

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
melodic

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/schemas.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status MAINTAINED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange

Package symbol

foxglove_bridge package from foxglove_msgs repo

foxglove_bridge foxglove_msgs

ROS Distro
noetic

Package Summary

Tags No category tags.
Version 0.9.0
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/foxglove/foxglove-sdk.git
VCS Type git
VCS Version main
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

ROS Foxglove Bridge

Additional Links

Maintainers

  • Foxglove

Authors

  • Foxglove

foxglove_bridge

[!IMPORTANT] This upcoming version of foxglove_bridge is built using the Foxglove SDK and is in public beta. There may be some remaining bugs or unexpected behavior. We encourage users to take it for a spin and submit feedback and bug reports.

Older versions of foxglove_bridge, including those targeting ROS 1, still are available from the foxglove/ros-foxglove-bridge repository or via the ROS package index for your ROS distro.

ROS Humble version ROS Jazzy version ROS Kilted version ROS Rolling version

High performance ROS 2 WebSocket bridge using the Foxglove SDK, written in C++.

Motivation

Live debugging of ROS systems has traditionally relied on running ROS tooling such as rviz. This requires either a GUI and connected peripherals on the robot, or replicating the same ROS environment on a network-connected development machine including the same version of ROS, all custom message definitions, etc. To overcome this limitation and allow remote debugging from web tooling or non-ROS systems, rosbridge was developed. However, rosbridge suffers from performance problems with high frequency topics and/or large messages, and the protocol does not support full visibility into ROS systems such as interacting with parameters or seeing the full graph of publishers and subscribers.

The foxglove_bridge uses the Foxglove SDK (this repo!), a similar protocol to rosbridge but with the ability to support additional schema formats such as ROS 2 .msg and ROS 2 .idl, parameters, graph introspection, and non-ROS systems. The bridge is written in C++ and designed for high performance with low overhead to minimize the impact to your robot stack.

Build and install

Currently, foxglove_bridge must be built from source.

Getting the sources

Clone this repo from GitHub and cd to the local ROS workspace:

git clone https://github.com/foxglove/foxglove-sdk
cd foxglove-sdk/ros

All commands in this README hereafter assume you’re in the /ros subdirectory relative to the repository’s root.

Build using your ROS environment

Make sure you have ROS installed and your setup files are sourced. Then build:

make

Build using Docker

You can also build the bridge using a ROS environment within a Docker container:

# You can also append your preferred ROS 2 distro codename (e.g. make docker-build-jazzy). If omitted, ROS 'rolling' is used.
make docker-build

The built ROS workspace will be written to /ros in your foxglove_sdk directory.

Running the bridge

To run the bridge node, it is recommended to use the provided launch file.

If foxglove_bridge was built outside your ROS workspace, you need to source the local setup files so ROS 2 can find it:

source install/local_setup.bash

Once ROS is aware of the foxglove_bridge package, you can launch the bridge process:

ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765

You can also add foxglove_bridge to an existing launch file:

<launch>
  <!-- Including in another launch file -->
  <include file="$(find-pkg-share foxglove_bridge)/launch/foxglove_bridge_launch.xml">
    <arg name="port" value="8765"/>
    <!-- ... other arguments ... -->
  </include>
</launch>

Configuration

Parameters are provided to configure the behavior of the bridge. These parameters must be set at initialization through a launch file or the command line, they cannot be modified at runtime.

  • port: The TCP port to bind the WebSocket server to. Must be a valid TCP port number, or 0 to use a random port. Defaults to 8765.
  • address: The host address to bind the WebSocket server to. Defaults to 0.0.0.0, listening on all interfaces by default. Change this to 127.0.0.1 (or ::1 for IPv6) to only accept connections from the local machine.
  • topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted topic names. Defaults to [".*"].
  • service_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted service names. Defaults to [".*"].
  • param_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted parameter names. Defaults to [".*"].
  • client_topic_whitelist: List of regular expressions (ECMAScript grammar) of whitelisted client-published topic names. Defaults to [".*"].
  • capabilities: List of supported server capabilities. Defaults to [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets].
  • asset_uri_allowlist: List of regular expressions (ECMAScript grammar) of allowed asset URIs. Uses the resource_retriever to resolve package://, file:// or http(s):// URIs. Note that this list should be carefully configured such that no confidential files are accidentally exposed over the websocket connection. As an extra security measure, URIs containing two consecutive dots (..) are disallowed as they could be used to construct URIs that would allow retrieval of confidential files if the allowlist is not configured strict enough (e.g. package://<pkg_name>/../../../secret.txt). Defaults to ["^package://(?:[-\w%]+/)*[-\w%]+\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$"].
  • num_threads: The number of threads to use for the ROS node executor. This controls the number of subscriptions that can be processed in parallel. 0 means one thread per CPU core. Defaults to 0.
  • min_qos_depth: Minimum depth used for the QoS profile of subscriptions. Defaults to 1. This is to set a lower limit for a subscriber’s QoS depth which is computed by summing up depths of all publishers. See also #208.
  • max_qos_depth: Maximum depth used for the QoS profile of subscriptions. Defaults to 25.
  • best_effort_qos_topic_whitelist: List of regular expressions (ECMAScript) for topics that should be forced to use ‘best_effort’ QoS. Unmatched topics will use ‘reliable’ QoS if ALL publishers are ‘reliable’, ‘best_effort’ if any publishers are ‘best_effort’. Defaults to ["(?!)"] (match nothing).
  • include_hidden: Include hidden topics and services. Defaults to false.
  • disable_load_message: Do not publish as loaned message when publishing a client message. Defaults to true.

File truncated at 100 lines see the full file

CHANGELOG
No CHANGELOG found.

Launch files

  • launch/foxglove_bridge_launch.xml
      • port [default: 8765]
      • address [default: 0.0.0.0]
      • tls [default: false]
      • certfile [default: ]
      • keyfile [default: ]
      • topic_whitelist [default: ['.*']]
      • param_whitelist [default: ['.*']]
      • service_whitelist [default: ['.*']]
      • client_topic_whitelist [default: ['.*']]
      • min_qos_depth [default: 1]
      • max_qos_depth [default: 10]
      • num_threads [default: 0]
      • send_buffer_limit [default: 10000000]
      • use_sim_time [default: false]
      • capabilities [default: [clientPublish,parameters,parametersSubscribe,services,connectionGraph,assets]]
      • include_hidden [default: false]
      • asset_uri_allowlist [default: ['^package://(?:[-\\w%]+/)*[-\\w%.]+\\.(?:dae|fbx|glb|gltf|jpeg|jpg|mtl|obj|png|stl|tif|tiff|urdf|webp|xacro)$']]
      • ignore_unresponsive_param_nodes [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged foxglove_bridge at Robotics Stack Exchange