Configurator
The AutomatePro Configurator is a Foxglove Studio panel that monitors and configures AutomatePro. It shows the live state of the computer, the GNSS receivers, the cameras, the IMU, and the IO controller, and changes their settings on the robot. To install it and connect Foxglove Studio to AutomatePro, follow Configurator Installation in the Quick Start Guide.
Each tab has its own page, listed under Tabs & Rail.
Before You Start
The panel talks to AutomatePro through Foxglove Bridge, ws://<ip-address>:8765. It reads topics and node parameters, calls the nodes' services, and publishes the IO controller outputs through it. The configurator server, automatepro-configurator-server.service, is installed with the AutomatePro software and adds what the bridge alone cannot do: it reads and writes the parameter files and the GNSS receiver configuration, reports the system information, and runs the camera gateway and the camera frame sync.
| Feature | Panel alone | With the configurator server | With the camera gateway |
|---|---|---|---|
| Live topics, graphs, map, 3D views, diagnostics, IO controller | Yes | Yes | Yes |
| Read and set running parameters, restart the drivers | Yes | Yes | Yes |
| IMU tare and calibration, solving a camera calibration | Yes | Yes | Yes |
| Camera video over H.264 and Raw | Yes | Yes | Yes |
| Parameter files on AutomatePro: compare, write, keep over a restart | No | Yes | Yes |
| GNSS receiver configuration, RTK corrections, and logins | No | Yes | Yes |
| System information, processes, camera frame sync | No | Yes | Yes |
| Camera video over WebRTC and RTSP | No | No | Yes |
As installed, the configurator server reads the parameter files and the receivers but writes neither. To let the panel save changes, follow Enable Configuration Writes.
Panel Layout
Tabs & Rail
The rail on the left lists the tabs: Home, GNSS, Camera, IMU, IO Controller, Diagnostics, and Parameters. Below them, Help opens Configurator Installation in the Quick Start Guide, and Settings opens the panel settings in Foxglove's settings sidebar. Turn a tab off under Tabs in the panel settings to remove it from the rail.
| Tab | Description |
|---|---|
| Home | Shows the AutomatePro identity and software, and the computer's system load, processes, and packages. |
| GNSS | Shows the position and heading on a map, and edits the receivers' driver settings, their configuration, and the RTK corrections. |
| Camera | Shows each camera's video, edits its driver settings, the camera gateway, and the frame sync, and calibrates its lens. |
| IMU | Shows the IMU attitude on the AutomatePro model, and edits the driver settings, the tare, and the sensor calibration. |
| IO Controller | Shows the IO controller diagnostics and inputs, sends its outputs, and edits the input calibration. |
| Diagnostics | Shows every component on the /diagnostics topic as a status board. |
| Parameters | Reads and sets the parameters of any running node and compares them with the node's parameter file. |
Server Status
The top of every tab's left column shows the configurator server's state:
| State | Meaning |
|---|---|
Server reachable (green) | The server answers; every feature that needs it works. |
Server paused (gray) | The server runs but serves nothing. Select Resume to resume it. |
No configurator server (gray) | The server never answered, or the data source cannot call services. The panel shows what the topics and node parameters provide. |
Server unavailable (red) | The server answered before and has stopped. |
The server starts paused. The panel resumes it while it is shown, and the server pauses itself again 300 s after its last request. A part of a tab that needs the paused server says so and has its own Resume button.
Beside the server status, each tab shows the state of its main topic: Live with the measured rate, gray Silent before the topic's first message, amber Stale once its messages stop for longer than the silence timeout (3 s by default), with how long on hover, or red Offline while the selected node does not run.
Columns & Log
The left column holds the devices of the tab and their Lifecycle card, the center column the main view and its information cards, and the right column the configuration and the Pending changes. Drag a border between two sections to resize them, and double-click it to reset it.
The Log card under the left column lists the last 200 results and errors of every tab, newest first, each with its level, its tab, and its time.
Status Chips
Chips carry the state of a value: green is normal, amber needs a look, red is a fault, and gray is off or unknown. Hover over a chip for the reason. A card whose data stops keeps its last values and shows Stale in its title.
Pending Changes & Apply
Changing a value on the GNSS, Camera, IMU, or Parameters tab only stages it. The Pending changes card lists each staged value as name old → new, and nothing reaches AutomatePro until you select Apply. Every apply first opens a confirmation that names what changes, and every confirmation can be canceled.
| Button | Effect |
|---|---|
| Read | Reads the parameter file and the running values again. |
| Save draft | Keeps the staged values in this browser; Restore local draft brings them back. |
| Apply | Writes the parameter file, loads it onto the node, and restarts the node: its topics stop for a few seconds. |
| Discard | Drops the staged values. |
| Reset to defaults | Stages the AutomatePro defaults of one section; Apply sets them. |
Apply saves to, in each sensor's panel settings, chooses between writing the parameter file and the running node, the default, or the running node only. Writing the file needs the configurator server and allow_persistent_apply; the server checks that the file has not changed since it was read, keeps a backup, writes it, and reads it back.
Lifecycle
The GNSS, Camera, IMU, and Parameters tabs have a Lifecycle card for the selected node. It shows the node's state, Active in green, and the buttons Configure, Activate, Deactivate, Cleanup, and Shutdown. Each asks for a confirmation. Deactivate and Cleanup stop the node's topics until it is activated again, and Shutdown stops the node until its process restarts. A node without lifecycle services shows Not a lifecycle node.
Panel Settings
Select Settings on the rail to open the panel settings in Foxglove's settings sidebar. The defaults are AutomatePro's; change them only for a robot with other node or topic names. A Foxglove layout saves only the settings changed from their defaults.
| Group | Settings (default) |
|---|---|
| General | Configurator server node, silence timeout (3 s), AutomatePro 3D model, absolute time on graphs |
| Layout | Column widths, Log and bottom row heights, GNSS map height, Reset layout |
| Tabs | Each tab on or off |
| Home | System info topic, load warning (80%), graph history (60 s), watched processes |
| GNSS | Receiver nodes, parameter files, Apply saves to, satellite map, RTK correction clients, topics |
| Camera | Parameter file, Apply saves to, sync check interval (5 min), camera nodes, topics |
| IMU | IMU node, robot description file, model link, driver service prefix, parameter file, Apply saves to, topics |
| IO Controller | IO controller node, services, topics, gauge ranges and colors, calibration slider ranges |
| Diagnostics | Diagnostics topic, stale timeout (5 s) |
Enable Configuration Writes
As installed, the configurator server does not write the ROS parameter files, the GNSS receiver configuration, or the logins, so the panel cannot save changes to them. To allow it, edit the server's startup policy on AutomatePro.
Foxglove Bridge on AutomatePro listens on every network interface and exposes every ROS 2 service, including the configurator server's, to any computer that can reach port 8765. Enable writes only while AutomatePro is on a trusted network.
The shipped policy already lets any such computer switch the frame sync of the four-camera board, at once and for every later boot (allow_frame_sync: true), turn the camera gateway on and off (allow_mediamtx: true), and read the system information (allow_system_info: true). Where the bridge is reachable from an untrusted network, set these keys to false in the policy file and restart the server, as described below.
| Key | Default | Allows |
|---|---|---|
allow_persistent_apply | false | Writing the .yaml and .yml files under /etc/opt/automatepro/ros: Apply persistent, the YAML editors, and the sensor tabs' file writes. The server keeps a backup of each file it replaces. |
allow_gnss_apply | false | Writing the configuration of the receivers listed under gnss_devices. |
allow_login_write | false | Writing the NTRIP, SPARTN, and camera gateway logins. |
allow_mediamtx | true | Turning the camera gateway on and off. |
allow_frame_sync | true | Switching and checking the camera frame sync. |
allow_system_info | true | Home's device facts, system information, and packages. |
-
Open the policy file:
sudoedit /etc/opt/automatepro/configurator-server/config.yaml -
Under
automatepro_configurator_server.ros__parameters, set the keys you need totrue, for example:allow_persistent_apply: trueallow_gnss_apply: true
The server reads the policy only when it starts. Restart it after editing the file:
sudo systemctl restart automatepro-configurator-server
The server does not start when it cannot accept the policy, or when the file is not owned by root or is writable by group or others. Inspect the reason with:
sudo journalctl -u automatepro-configurator-server -n 100 --no-pager
Developer Notes: configurator server and ports
/automatepro_configurator_server is a lifecycle node. It starts inactive, paused, the panel activates it while the panel is shown, and it deactivates itself after idle_timeout_s in the policy, 300 s, without a request. automatepro_system_monitor publishes the computer's load on /diagnostics while the server is active.
The panel uses these ports on AutomatePro:
| Port | Protocol | Description |
|---|---|---|
| 8765 | TCP | Foxglove Bridge WebSocket, served by automatepro-foxglove-bridge.service. |
| 8889 | TCP | Camera gateway WebRTC connection setup. |
| 7189 | UDP | Camera gateway WebRTC video. |
| 8554 | TCP | Camera gateway stream for other video players, at rtsp://<ip-address>:8554/<camera_name>. |
mediamtx_webrtc_udp_port in the policy file sets the UDP port of the WebRTC video, from 1024 to 65535; without it, the gateway uses 7189. A port that another program holds keeps the gateway from starting.
The configurator server starts and stops the camera gateway, automatepro-mediamtx.service, as the Camera tab turns it on and off. The gateway is off until you turn it on.