QuasiPITech Contact
Robotics · Project 04 · Running

Robot Fleet Manager: one panel, a Jetson on each robot.

A fleet controller I wrote from scratch in plain Python. A server on a PC holds the map and the fleet; an operator sends robots by tapping the map. On every robot an NVIDIA Jetson Nano runs a small program, the Robot Agent, that turns the server’s waypoints into wheel speeds and stops the robot on its own if anything goes quiet.

Fleet server
1,977lines of Python
Robot Agent
885lines of Python, on the Jetson
Third-party packages
0standard library only
Offline sites
10real places from OpenStreetMap
The real program

What the operator sees

These are screenshots of the running build, not mock-ups. Twelve simulated robots and two Robot Agents (the same program that runs on the Jetson) are on Kraków’s Main Market Square.

Play the recording · 0:25
robot-fleetKraków, Main Market Square · 12 simulated robots + 2 Robot Agents (JETSON-1, JETSON-2) · one V-formation mission · shown at 4× speed

One tap sends all fourteen robots. Each gets its own path around the Cloth Hall (the thin lines), they pass one another without touching, and they close up into a V around the two Jetson-driven robots. At the end JETSON-1 is selected and its status panel opens.

Site picker with ten map cards: Kraków Main Market Square, Rotterdam container terminal, Gdańsk shipyard, Schiphol apron, a car factory, an Amazon logistics centre, greenhouses, a campus, a refinery and a theme park
01 — Choose a siteTen real places pre-loaded from OpenStreetMap: a port, a shipyard, an airport apron, a factory, a warehouse yard and more. Buildings, fences and water become obstacles. Everything works with the internet unplugged.
3D map of Kraków market square with a group of robots heading out in V formation and yellow planned paths fanning out across the square
02 — Send the fleetOne tap sends the selected robots to a point in a formation. Each yellow line is a path the server planned around the Cloth Hall and the other robots. The ◆ JETSON-1 and JETSON-2 markers at the bottom are robots driven by the Robot Agent.
Robots spread out on the square after arriving, with JETSON-1 selected and an inspector panel showing ID, status, battery, speed, GPS position and MGRS grid reference
03 — ArrivedThe fleet holds its V on the open square. JETSON-1 is selected: the panel on the right shows its status, battery, speed and position in GPS and the MGRS grid reference field crews use. The buttons pause it, resume it, send it home or stop it.
Robot Agent v1.0 settings page showing TEST no hardware, connected to the server, robot ID JETSON-1, state READY, driver bench, and settings for motors and GPS
04 — On the JetsonThe Robot Agent’s own page, opened from a desktop icon on the Jetson. It shows the connection and state, and holds the settings: server address, robot ID, driver, motor serial port and GPS receiver.
Top bar

Fleet status and a big red E-STOP that stops every robot. Releasing it is a separate, deliberate action.

Tools

Send a group, Deploy robots, draw a Route through waypoints, set up a Base with docks and traffic rules, or Cover an area with an even grid of robots.

Zones

Draw no-go and slow zones on the map. Robots plan around the first and slow down in the second.

Touch first

Big tap targets and no hover, because in the field this runs on a tablet, not a desk.

How it works

From a tap on the map to turning wheels

01

The server holds the world

One Python program on a PC or a small box on the shelf. It loads a site, turns buildings and fences into an obstacle grid, and keeps the state of every robot. The operator panel is served from the same program, so any browser on the network can open it.

No cloud · no database · no packages to install
02

A robot registers

When the Robot Agent on a Jetson starts, it tells the server its name and position. From then on it appears on the map with a ◆ marker: TEST when it runs without hardware, LIVE when a real motor driver is active.

03

The operator sends a goal

A tap on the map, a route or a formation. The server plans a path around obstacles, no-go zones and the other robots, and keeps re-planning as things move.

04

The robot asks for its next waypoint

Five times a second the agent sends its position, battery and GPS fix, and gets back the next point to drive to plus a recommended speed. The server never steers wheels directly: it hands out destinations and limits.

05

The robot keeps itself safe

If the server goes silent for 1.5 seconds, the agent stops the robot by itself. Stop, pause, lost GPS fix or no goal also mean stop. The agent never clears an emergency stop on its own.

NVIDIA Jetson Nano

What the Jetson does on each robot

The Jetson Nano is the robot’s own computer. It does not plan the fleet; it is the link between the fleet server and the robot’s motors and sensors. It runs the Robot Agent as a system service that starts with the Jetson and restarts itself if it crashes.

The agent is written for the software the Nano ships with (Ubuntu 18.04 and Python 3.6) and needs nothing else installed. One command installs it, checks the server and puts a Robot Agent icon on the desktop.

Talks to the fleet

Registers with the server, sends position, speed, battery and GPS status five times a second, and receives the next waypoint and speed limit.

Drives the motors

Turns the waypoint into a forward speed and a turn rate and sends them over a serial cable to the motor controller, clipped to the configured limits.

Reads GPS

Reads a GNSS receiver (standard NMEA), including RTK fixes accurate to centimetres, and reports how good the fix is. With no valid fix the server keeps the robot stopped.

Stops on its own

Local stop when the network drops, on any driver error and on every stop command. When the server returns, the agent reconnects by itself.

Where it stands

What is tested, and what is not yet

Works today

The fleet server, the operator panel and the ten offline sites. A Jetson Nano on my desk, on battery and on the local network, connected to the server over the network and showed up in the panel as a robot, running an earlier, simpler version of the agent. The current agent (v1.0) passes its 29 automated tests and drives robots in software, as in the screenshots above; it still has to be installed and checked on the Jetson itself.

Not yet

No motors or GPS receiver are connected yet, so the serial motor driver and the GPS reading are untested on hardware. The next steps are a motor controller and an RTK receiver, first runs with the wheels off the ground, and an independent hardware emergency stop that cuts motor power whatever the software is doing.

Not a safety system

This software can stop a robot and reports when it has, but it is not a functional-safety system. A real robot needs a physical emergency stop that cuts motor power on its own. The robotics page explains the rules I build to, and the project card has the short version.