pyrobosim.web.app.status_text

pyrobosim.web.app.status_text(robot: Robot | None) str

Builds the selected robot’s status string (battery / location / holding).

It is shown in an HTML element beside the graph rather than as the figure title, so per-frame updates do not relayout the plot.

Parameters:

robot – The robot to describe, or None for an empty string.

Returns:

The status text, formatted over two lines.