How to monitor ROS 2 nodes and topics remotely
To monitor ROS 2 remotely, measure on the robot and send only the results out, instead of pulling every topic across the network. For a quick look, SSH in and run ros2 node list and ros2 topic hz; for robots you need to watch all the time, run an agent on each robot that reads the ROS graph locally and reports nodes, topic rates, lost nodes and silent topics, with alerts and history. The PhysicalFleet agent does this read-only, with nothing added to your ROS workspace, over an outbound encrypted connection with no VPN or open port.
What you need
- A robot running ROS 2 on Linux (for example Humble or Jazzy), on Fast DDS or Cyclone DDS, on the host or in containers. ROS 1 works too.
- A way to reach it for the general methods below: SSH on the same network, a VPN overlay or a reverse SSH tunnel. The PhysicalFleet method only needs outbound internet from the robot.
- Fixed names and domains: a set
ROS_DOMAIN_IDper robot or cell, and named nodes (--ros-args -r __node:=planner). Every method below is easier with them. - A PhysicalFleet account for the PhysicalFleet steps. It is free for up to 3 machines.
Decide first what "monitor" means for you. Most teams want four answers without logging in: is every node I expect running, is every topic flowing at its normal rate, did anything restart or change, and what happened in the minutes before something failed.
Ways to monitor ROS 2 remotely
There are four common ways. They answer different questions, and most teams end up using two of them.
The ros2 CLI over SSH. Log in and ask the graph directly. It is the fastest way to answer "is it running right now?" on one robot.
ssh ubuntu@robot-07.local
source /opt/ros/jazzy/setup.bash
export ROS_DOMAIN_ID=10 # the robot's domain
ros2 node list # every node in the domain
ros2 node info /planner # its topics, services and actions
ros2 topic list -t # topics with their message types
ros2 topic info -v /scan # publishers, subscribers and their QoS
ros2 topic hz /scan # publish rate, measured on this computer
ros2 topic bw /camera/image_raw/compressed # bandwidth
ros2 topic echo /diagnostics --once # one message
ros2 doctor --report # distro, middleware and network checksIt needs a way in, shows only what is true right now, one robot at a time, and nobody is told when a topic stops at 3 a.m. Run it on the robot itself: ros2 topic hz on a laptop across a VPN measures what arrives over the link, not what the robot publishes.
rosbridge and a web UI. rosbridge runs as a node on the robot and turns topics into JSON over a WebSocket, so a web page can show them.
sudo apt install ros-jazzy-rosbridge-suite
ros2 launch rosbridge_server rosbridge_websocket_launch.xml # WebSocket on port 9090
# from a laptop, through SSH, so port 9090 is never open to the network
ssh -N -L 9090:localhost:9090 ubuntu@robot-07.localYou build the page and keep a bridge running on every robot. JSON is heavy for images and point clouds, so throttle them or use compressed topics. By default rosbridge doesn't check who connects, and clients can publish as well as read, so keep the port behind a tunnel.
Record bags and copy them. A bag holds every message of the topics you pick, which nothing else gives you.
ros2 bag record -s mcap -o incident_0412 /scan /odom /tf /diagnostics
# later, on a laptop
rsync -avP ubuntu@robot-07.local:~/incident_0412 .
ros2 bag info incident_0412But it is after the fact: you have to be recording when the problem happens, bags fill the disk, and copying gigabytes over Wi-Fi or cellular is slow.
DDS over a VPN. Put your laptop and the robot on one virtual network, join the robot's domain and run rviz2, rqt or the CLI as if you were next to it. This is where most teams get stuck: DDS finds peers by multicast, and most VPN overlays don't carry multicast, so nodes don't see each other. You switch to unicast discovery.
# ROS 2 Iron and later: unicast peers across the VPN
# on the laptop: the robot's VPN address
export ROS_STATIC_PEERS=10.8.0.12
# on the robot, in the environment of its launch: the laptop's VPN address
export ROS_STATIC_PEERS=10.8.0.20
ros2 daemon stop # the CLI caches the graph; restart it with the new settings
ros2 topic listOn Humble, use a peers list in your Cyclone DDS configuration or a Fast DDS discovery server instead. Then come the other costs: every remote subscriber pulls full data across the link, so one rviz2 window on a camera topic can fill a cellular uplink; large messages are split into many UDP fragments that lossy links drop; and your laptop joins as a full participant, so anyone who can join the domain can publish to /cmd_vel as easily as read it.
| Method | Good for | Weak spots |
|---|---|---|
| ros2 CLI over SSH | Spot checks on one robot | Needs a way in; no history, no alerts |
| rosbridge and a web UI | A custom live view | A bridge and a page to maintain; heavy for images; must stay private |
| Bags | Every message of one incident | After the fact; disk space and transfer size |
| DDS over a VPN | rviz2 and rqt from your desk | Discovery setup, bandwidth, and a laptop that can publish |
| An agent on each robot | Always-on rates, lost nodes, alerts, history and a fleet view | Doesn't keep every message: keep bags for that |
The pattern that scales is the last one: measure on the robot, where rates are true and nothing heavy crosses the network, and send small summaries out over a connection the robot opens itself. The steps below set it up with PhysicalFleet.
Step 1: Install the PhysicalFleet agent on the robot's host
In the PhysicalFleet dashboard, open Fleet and press Add machine. Copy the one-line install command and run it on the robot's host OS, not inside a ROS container: on the host, the agent sees every container, the hardware and the ROS graph. The machine shows up as online within about 10 seconds. Add options to the end of the command to name and place it:
--name arm-07 --group factory-a/line-3 --tags arm,ros-jazzyNothing goes into your workspace. The agent joins ROS 2 as a read-only DDS participant written in Go: it never publishes and never registers a node, so it can't change what your robot does. It works with Fast DDS and Cyclone DDS, any domain ID, localhost-only setups, static peers and discovery servers, and ROS running in containers, including containers on their own bridge network. ROS 1 is read through the master.
The agent only connects out, encrypted, over TCP 443: no public IP, VPN or open port on the robot's network. On a Raspberry Pi 4 with everything turned on, including the ROS observer, it used about 2 % of one core and 33 MB of memory, at low CPU and I/O priority. See Getting started.
Check it on the robot: sudo pfagent discover prints the machine map, which is exactly what PhysicalFleet sees about the machine, ROS included. No robot at hand? Fleet › Add machine › Try a demo machine starts a simulated arm with ROS 2 in seconds.
Step 2: Look at the graph, topics and rates
Open the machine and its ROS tab. It has four sections, and the Topics card names the distro, the middleware and the domain the agent found:
- Topics: every topic with its type, publishers and subscribers, rate and bandwidth. A topic that stopped is marked stopped. Switch List to Graph for a zoomable map of nodes and the topics between them, with live rates.
- Nodes: every node, its package, how many topics flow in and out, and the count of services and actions.
- Diagnostics: each
/diagnosticsstatus as OK, Warning, Error or Stale. - Events: nodes lost, topics stopped, diagnostics changed and stuck models over the last 7 days.
In the graph, moving dashes show data flowing, faster for higher rates, and a red, still link is a topic that stopped. /tf, /diagnostics, /clock and tools that listen to everything hide behind a toggle, so the picture stays readable.
For the whole fleet, open Observability › Software › ROS: tables of Topics, Nodes, Diagnostics and Machines (distro, middleware, domain). Whole fleet shows one row per topic across every robot that has it, with the median rate and the spread; By machine shows one row per robot. Table or Graph, and a window of 1 hour, 24 hours or 7 days. A Status column says Needs attention or In range.
The agent also reads the numbers inside your messages: joint states, motor temperatures, diagnostic values and any other numeric field become charts, alert conditions and fleet parameters. /rosout warnings and errors arrive in Debugging › Logs with the source ros:<node>, with secrets masked on the robot. See how to view logs on remote devices.
Step 3: Let it flag ROS problems on its own
With no rules at all, the agent turns ROS problems into issues on the machine's Overview, each with a probable cause, the evidence and what to do:
- Silent topics. A topic with a steady rhythm that stays quiet for 6 times its usual gap (at least 15 seconds) is reported stopped, and an issue opens if it is still silent 2 minutes later. Topics published only on change are never judged, so an event topic never raises a false alarm.
- Lost nodes. A node that disappears is reported with the container or systemd service it ran in, so the issue points at what to restart. If the node's process is still there but frozen, the issue says so.
- Stuck models. A model node that is still running but has stopped publishing opens a critical issue.
- Diagnostics. A
/diagnosticsstatus in warning or error opens an issue that carries the status's own message. - Launches that crash. The agent knows which
ros2 launchorroslaunchfiles run and the service or container behind them. A service that fails or crash-loops, and out-of-memory kills, open issues too.
The diagnosis runs on the robot. It waits a few seconds for related signals and picks the best explanation, for example the process (pid 1459) is stopped; what to do: kill -CONT 1459 or restart its service, or started 10 min after a change: ros-jazzy-rclcpp upgraded. An issue closes by itself once the problem has stayed gone for 5 minutes, so a topic that flickers doesn't open and close an issue all day. More in how to detect a ROS 2 node that silently stopped publishing.
A machine's health follows its issues: Healthy, Needs attention, Critical or Offline. The What's wrong card on the fleet Overview lists the most important open issues with their probable cause.
Step 4: Get alerted on ROS problems
Issues show in the dashboard. To have someone told, set up Observability › Alerts (owners and admins):
- Channels: add Slack (an incoming webhook URL), email (up to 20 addresses), Microsoft Teams, PagerDuty or a signed webhook. A test message goes out at once.
- Rules › Suggested for your fleet: rules proposed from what your robots report, including ROS topic stopped publishing (any topic that was publishing goes silent) and ROS topic rate dropped (a rate falls 50 % within 10 minutes). Press Turn on, or Adjust first.
- New rule for the topics that matter most. A rule is one sentence; start from the ROS topic rate quick start.
For example: When [any machine in line-3] has [Publish rate] of [/scan] [below] [8 Hz] for [30 s], raise a [critical] and tell [#robot-ops]. Before you save, the preview shows how many robots would fire right now, and Last 7 days replays the rule so you see how often it would have fired.
A rule on a topic's publish rate is checked in PhysicalFleet every 30 seconds, from the rates the robot sends. Simple thresholds on values the agent can check by itself, such as CPU, memory, disk, temperature or your app's own metrics, run on the robot instead, every second, even while it is offline. The rule's card says which: On the machine or In PhysicalFleet.
Other conditions that work well for ROS: outside its normal range (learned per machine for each hour of the day), unusual next to similar machines, a problem PhysicalFleet found itself, such as ROS node lost or ROS topic stopped, and any numeric field of your messages, such as a motor temperature. Alerts and notifications have no meter on any plan. The offline side is covered in how to get alerted when a robot goes offline.
Step 5: Find out what happened
Open the alert or issue and press Investigate. Debugging › Investigate › Timeline shows one machine around the incident:
- Metrics: every chart on one synced cursor, with warnings, errors, diagnoses and changes marked.
- Recordings: the flight recordings to replay.
- Events and Logs of the window,
/rosoutincluded. - What changed before: the 24 hours before the window's end.
- Issues open in the window.
The change timeline records packages installed, removed or upgraded (for apt, with the command and the user), files under /etc (paths, never contents), reboots, kernel and OS changes, hardware, services, container images and releases, including changes made while the agent was off. Each machine's Overview › Audit Log shows it too.
The agent keeps the last 5 minutes in memory: metrics every second, log lines, events, ROS logs and a camera frame every 2 seconds from up to two compressed image topics. When a node is lost, a topic goes silent, a model gets stuck, a process crashes or a critical alert fires, it waits 30 seconds for the aftermath and saves one MCAP file for the incident. Replay it on the Timeline, or download it and open it in any MCAP tool. To keep a moment yourself, press Save the last 5 minutes on the machine's Files tab.
A flight recording is not a rosbag: it holds metrics, logs, events and camera frames, not every message of every topic. Keep ros2 bag record for that.
Still want the CLI? Open Debugging › Remote › Terminal on the machine and run the same ros2 commands as over SSH, in the browser, with no VPN. Source your ROS setup and set the domain as you would over SSH. The terminal is for owners and admins, every session is audited, and what it sends counts as data transfer. A web tool that runs on the robot opens through Ports: see how to open a robot's web UI remotely.
Step 6: Compare robots across the fleet
One robot's numbers mean more next to its peers. Debugging › Investigate › Insights looks at the whole fleet every 15 minutes and writes what it finds in plain words. The kinds that matter most for ROS:
- Unlike its peers: a value far from the same thing on robots running the same software.
- Off its usual: a value far from the robot's own normal for this hour of the day, for example a camera topic at 12 Hz that usually runs at 30 Hz.
- Something missing: a ROS node, model or camera that most of its group has.
- Different setup: a camera format, checkpoint, agent version or OS that differs from most of its peers.
- Release and Version effect: what a release clearly changed on the robots that got it, compared with the robots that didn't.
Each insight comes with its proof, a chart of the robots it is about against the others. Every ROS measurement also has its own page, opened from the Observability tables (Publish rate, Rate vs its usual, Stopped now, Stalls in the window, Nodes lost, Nodes on other machines and more) that shows how the fleet spreads and which robots sit at the bad end.
Nodes on other machines is a quick check for domain cross-talk: on a robot that should be alone on its domain, anything above zero means another computer shares it. More in finding the robot that's different.
Step 7: Ship ROS changes that roll back on their own
Monitoring tells you a release broke a topic. The release itself can wait for the topics. In OTA Updates › Releases, press New release and add the ROS block, or start from the Update a ROS workspace template:
- Deploy a workspace (
ros.workspace.deploy): an archive of the workspace, uploaded or from a URL, unpacked into a versioned folder and switched atomically through acurrentlink. Build it on the machine with colcon (ROS 2) or catkin (ROS 1), with rosdep first if you like, or ship it already built. A failed build never switches. - Restart a launch (
ros.launch.restart): restart the systemd service, container, Compose service or launch file that runs it, then wait for the nodes and topics you list, at the minimum rate you set. Restarted means working. - Set parameters (
ros.param.set) in a file or live on a node, with the old values restored on rollback, and Install ROS packages (ros.package.install:nav2_bringupbecomesros-<distro>-nav2-bringup).
{
"variables": {"WS": "1.4.0"},
"steps": [
{"id": "ws", "type": "ros.workspace.deploy",
"url": "https://artifacts.example.com/robot_ws-{{var:WS}}.tar.gz", "sha256": "<sha256 of the archive>",
"dest": "/opt/robot/ws", "version": "{{var:WS}}", "build": "colcon", "rosdep": true},
{"id": "launch", "type": "ros.launch.restart", "service": "robot-bringup",
"nodes": ["/planner", "/arm_driver"], "topics": ["/joint_states"], "min_rate_hz": 10,
"timeout_s": 300}
]
}If any step fails, the workspace switches back and the launch restarts on the old one. Preview on a machine runs a dry run on a real robot first and changes nothing. Then roll it out in phases with the health gate on: after each phase it compares updated robots with robots not yet updated, and halts when a guarded metric, ROS topic rates included, gets more than 20 % worse. Updates cost $0.10 per machine updated (free on the Free plan). See how to update software on many devices.
Safety, privacy and what the agent can't see
The agent is built to stay on production robots without getting in the way:
- Read-only on ROS. It never publishes and never registers a node.
- Below your software. Lower CPU and I/O priority than your apps, never more than one core, and the kernel's out-of-memory killer picks it before your robot processes.
- Outbound only. Encrypted connections out over TCP 443, and no inbound port.
- Masked on the robot. Passwords, tokens and keys in logs are masked before anything leaves, and process names are collected, never full command lines.
- Controlled access. The remote terminal and ports are for owners and admins, audited, and can be turned off for the organization, for one machine, or for good on the robot with
--no-terminaland--no-forwardat install.
Compare that with the DDS-over-VPN and rosbridge setups above, where anyone who can join the domain or reach the WebSocket can also publish.
Limits to know: ROS 2 on rmw_zenoh and SROS2-encrypted systems are not observable yet. The machine page says so, and everything else on those robots is still monitored. The agent doesn't capture the content of every message and doesn't record rosbags. See ROS 2 best practices for setups that give the most complete picture.
When something goes wrong
| What you see | Likely cause | What to do |
|---|---|---|
| No ROS on this machine. | ROS isn't running, or the agent runs where it can't see it | Start your launch. Install the agent on the host, not inside a ROS container. On the robot, sudo pfagent discover shows what the agent finds. |
| The agent sees ROS here but no nodes yet. | The nodes have just started | Wait: nodes appear within a minute of starting. |
| A note under Nodes about rmw_zenoh or SROS2 | The graph uses a setup the agent can't observe yet | Everything else on the robot is still monitored. Use Fast DDS or Cyclone DDS where you can. |
| A topic marked stopped, with an issue | Its publisher crashed, hung or was stopped | Read the probable cause on the issue, then press Investigate for the timeline and the recording. |
| A topic at 0 Hz that is not marked stopped | It is published only on change, or it has no publisher | Expected for topics published only on change, which are never judged. Check Pub / sub for a missing publisher. |
| Another robot's nodes in the list, or Nodes on other machines above zero | Two robots share a ROS_DOMAIN_ID on one network | Give each robot or cell its own domain in every launch, systemd unit and container. |
ros2 topic hz on your laptop shows less than the dashboard | You are measuring what crosses the network | Trust the rate measured on the robot, or run the CLI on the robot in Debugging › Remote › Terminal. |
ros2 node list shows nothing in a terminal | The shell has another domain or RMW than the robot, or the ros2 daemon's cache is stale | Export the robot's ROS_DOMAIN_ID and RMW, run ros2 daemon stop and try again. |
| A release fails at Restart a launch | The nodes or topics you listed didn't come up at the rate you set before the timeout | Check the names (with the leading /), the rate and the timeout. The old workspace is already running again. |
| No flight recording for an incident | The day's automatic recording budget is used up, or the machine is on the Very low bandwidth level | Press Save the last 5 minutes on the Files tab. Requests always work. |
The ros2 CLI over SSH and PhysicalFleet, side by side
| ros2 CLI over SSH | PhysicalFleet | |
|---|---|---|
| Reaching the robot | Same network, a VPN or a tunnel | The robot connects out; no VPN or open port |
| What you see | The graph right now, one robot at a time | Graph, rates, bandwidth and diagnostics, live and over 7 days, per robot and across the fleet |
| Topic rates | ros2 topic hz, measured where you run it | Measured on the robot for every topic, all the time |
| When something stops | You find out when you look | An issue with a probable cause, and an alert to your channel |
| History | None, unless you record bags | Metrics, events, logs, the change timeline and MCAP flight recordings |
| Message contents | ros2 topic echo and bags | Numeric fields as charts; no full message capture or rosbags |
| Cost | Free | Free for up to 3 machines, then $99 a month plus usage |
Keep both: the CLI and bags for deep debugging on one robot, and an agent so you know, without looking, that every robot is fine.
- A set ROS_DOMAIN_ID per robot or cell, and named nodes
- Fast DDS or Cyclone DDS, not rmw_zenoh or SROS2, which the agent can't observe yet
- The PhysicalFleet agent on the robot's host, not in a ROS container
- The ROS tab shows the distro, the domain and every node you expect
- Alert rules on the topics that matter, checked against the last 7 days
- A channel someone watches: Slack, email, Teams, PagerDuty or a webhook
- ROS releases that wait for their nodes and topic rates before they count as done
PhysicalFleet watches ROS 2 and ROS 1 from inside each robot, read-only and with nothing in your workspace: nodes, topics with their rates and bandwidth, diagnostics, lost nodes tied to the container or service they ran in, and silent topics, per robot and across the fleet. Problems become issues with a probable cause, alerts reach your team's channels, flight recordings keep the minutes around an incident as MCAP files, and ROS releases restart launches and wait for their topics before they count as done. The robot only connects out, encrypted, so it needs no VPN or open port, and PhysicalFleet is free for up to 3 machines.
See PhysicalFleet ObservabilityWritten for PhysicalFleet as of December 3, 2026.
How do I see ROS 2 topics from another computer?
Put both computers on the same network and ROS_DOMAIN_ID, source ROS 2 and run ros2 topic list. Across networks, DDS discovery usually needs unicast peers or a discovery server, because VPNs rarely carry multicast. For monitoring alone, it is simpler to read the graph on the robot and send the results out, which is what an agent such as PhysicalFleet's does.
Why can't I see my robot's ROS 2 topics over a VPN?
DDS finds peers by multicast, and most VPN overlays don't carry it. Set up unicast discovery: ROS_STATIC_PEERS on ROS 2 Iron and later, a peers list in Cyclone DDS, or a Fast DDS discovery server. Also check that both sides use the same ROS_DOMAIN_ID and RMW, and run ros2 daemon stop after changing them.
How do I check how fast a ROS 2 topic is publishing?
Run ros2 topic hz with the topic name on the robot itself. On another computer it measures what arrives over the network, which can be less than what the robot publishes. PhysicalFleet measures the rate of every topic on the robot, all the time, and can alert when it drops.
How do I know when a ROS 2 node crashes?
Run it under systemd or in a container with a restart policy, and watch for restarts or for the node leaving the graph. PhysicalFleet reports a lost node with the container or systemd service it ran in, opens an issue with a probable cause, saves a flight recording and can alert your channel.
Do I need to add a node or package to my ROS workspace?
No. The PhysicalFleet agent joins as a read-only DDS participant written in Go. It never publishes and never registers a node, and nothing is installed or sourced in your workspace.
Which ROS versions and middleware does PhysicalFleet support?
ROS 2 on Fast DDS, Cyclone DDS and other DDS middleware, any domain ID, on the host or in containers, and ROS 1 through the master. ROS 2 on rmw_zenoh and SROS2-encrypted systems are not observable yet, but the rest of those robots is still monitored. Zenoh, Dora-rs, LCM, eCAL and plain DDS without ROS are observed too.
Can PhysicalFleet record rosbags?
No. It saves flight recordings of the minutes around an incident as MCAP files, with metrics, logs, events, ROS logs and camera frames, which you replay in the dashboard or open in any MCAP tool. Use ros2 bag record when you need every message.
How much does it cost?
PhysicalFleet is free for up to 3 machines, then $99 a month plus usage. Alerts have no meter on any plan. What the remote terminal sends counts as data transfer, usually very little.
- Raspberry Pi remotely
- Jetson Orin remote access
- Robot web UI remotely
- Robot camera remotely
- Update many devices
- Logs on remote devices
- Offline alerts
- Jetson remote update
- Jetson remote desktop
- Jetson camera remotely
- Jetson remote monitoring
- Jetson fleet management
- Docker on many Jetsons
- TensorRT on many Jetsons
- Jetson remote debugging
- Jetson reboot and recovery
- SO-101 remotely
- All how-to guides →
From the lab bench. To the entire fleet.
Connect your first machine in minutes, develop it in the lab and run your whole fleet in production from one place.
Free for up to 3 machines · Then pay as you go