Skip to main content
Version: 1.1.0

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.

FeaturePanel aloneWith the configurator serverWith the camera gateway
Live topics, graphs, map, 3D views, diagnostics, IO controllerYesYesYes
Read and set running parameters, restart the driversYesYesYes
IMU tare and calibration, solving a camera calibrationYesYesYes
Camera video over H.264 and RawYesYesYes
Parameter files on AutomatePro: compare, write, keep over a restartNoYesYes
GNSS receiver configuration, RTK corrections, and loginsNoYesYes
System information, processes, camera frame syncNoYesYes
Camera video over WebRTC and RTSPNoNoYes

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.

TabDescription
HomeShows the AutomatePro identity and software, and the computer's system load, processes, and packages.
GNSSShows the position and heading on a map, and edits the receivers' driver settings, their configuration, and the RTK corrections.
CameraShows each camera's video, edits its driver settings, the camera gateway, and the frame sync, and calibrates its lens.
IMUShows the IMU attitude on the AutomatePro model, and edits the driver settings, the tare, and the sensor calibration.
IO ControllerShows the IO controller diagnostics and inputs, sends its outputs, and edits the input calibration.
DiagnosticsShows every component on the /diagnostics topic as a status board.
ParametersReads 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:

StateMeaning
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.

ButtonEffect
ReadReads the parameter file and the running values again.
Save draftKeeps the staged values in this browser; Restore local draft brings them back.
ApplyWrites the parameter file, loads it onto the node, and restarts the node: its topics stop for a few seconds.
DiscardDrops the staged values.
Reset to defaultsStages 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.

GroupSettings (default)
GeneralConfigurator server node, silence timeout (3 s), AutomatePro 3D model, absolute time on graphs
LayoutColumn widths, Log and bottom row heights, GNSS map height, Reset layout
TabsEach tab on or off
HomeSystem info topic, load warning (80%), graph history (60 s), watched processes
GNSSReceiver nodes, parameter files, Apply saves to, satellite map, RTK correction clients, topics
CameraParameter file, Apply saves to, sync check interval (5 min), camera nodes, topics
IMUIMU node, robot description file, model link, driver service prefix, parameter file, Apply saves to, topics
IO ControllerIO controller node, services, topics, gauge ranges and colors, calibration slider ranges
DiagnosticsDiagnostics 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.

Important

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.

KeyDefaultAllows
allow_persistent_applyfalseWriting 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_applyfalseWriting the configuration of the receivers listed under gnss_devices.
allow_login_writefalseWriting the NTRIP, SPARTN, and camera gateway logins.
allow_mediamtxtrueTurning the camera gateway on and off.
allow_frame_synctrueSwitching and checking the camera frame sync.
allow_system_infotrueHome's device facts, system information, and packages.
  1. Open the policy file:

    sudoedit /etc/opt/automatepro/configurator-server/config.yaml
  2. Under automatepro_configurator_server.ros__parameters, set the keys you need to true, for example:

    allow_persistent_apply: true
    allow_gnss_apply: true
Important

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:

PortProtocolDescription
8765TCPFoxglove Bridge WebSocket, served by automatepro-foxglove-bridge.service.
8889TCPCamera gateway WebRTC connection setup.
7189UDPCamera gateway WebRTC video.
8554TCPCamera 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.