Skip to main content

Plem Lab

Plem Lab is the console for tuning controllers and watching their signals. A custom torque controller is also finished here: you tune and observe it in Lab.

Lab needs a running robot stack, so start it from the plem TUI first. The address is http://<device address>:8080/lab/.

If a PLEM is locked page opens instead of the console, see Troubleshooting › License.

The Plem Lab console. The status bar shows controller adrc, safety NORMAL, mode TRAJECTORY and Tuning enabled. Top left, the Tuning tab lists kp and b0 with Apply buttons. Bottom left, the signal tree shows the error and eso_comp groups with rt_raw and rt_diagnostics. On the right, the Live tab plots three error channels on top of each other.

PageCovers
Connecting and the screenConnecting, the status bar, switching modes, Protective Stop recovery, the pose panel
Tuning parametersThe Tuning tab: applying values, result marks, locks
Signals and thresholdsThe Live tab: signal tree, plots, saved layouts, convergence and violation checks
Experiments and simulationBuilding a stimulus, previewing it, running and recording
Comparing and exporting runsComparing recordings, statistics, exporting files
Custom torque controllerLoading your own control law as a plugin

What each mode allows​

What the console can do depends on the robot mode and the safety state.

StateTuningSignal streamMode switch
TRAJECTORY · NORMALYesYesYes
BRAKED · NORMALYesNo controller signalsYes
FREEDRIVENoNo controller signalsYes
PROTECTIVE_STOPNoNo controller signalsLocked. Only Recover
Recording an experimentFollows the mode and safety stateYesOnly FREEDRIVE is locked

While the brakes are on, the controller is suspended, so it sends no controller signals. In the three states without controller signals, the built-in signals can still arrive: rt_raw, rt_diagnostics, and ft_sensor when the robot has an F/T sensor.

One console watches one robot.

Do not command the robot from other tools while tuning or running an experiment

The Teaching Pendant and the TUI take turns on the robot through a shared lock. Lab does not take that lock, so they cannot tell that Lab is using the robot. While you tune or run an experiment, do not command the same robot from the Pendant or the TUI.