How to detect the boot state of the robot?

I want to run a script every time the robot is started but AFTER it powered its 24V outputs on the controller. This normally happens once the robot has completed booting.

Is there any flag that shows this state of the robot?

I tried to use isResolvable() for a digital output as a workaround but it returns true before the robot finished booting.

You may want to take a look at the Dashboard Server commands and see if you can leverage the robotmode functionality. https://s3-eu-west-1.amazonaws.com/ur-support-site/42728/DashboardServer_e-Series.pdf

You might be able to start the Dashboard in the Installation contribution as well as a timer to call the appropriate command every X amount of time until you see RUNNING as a result.

1 Like