The supervisor UObjects are only available from a supervisor robot (i.e. from the controller of a supervisor node in Webots).
This extended API allows URBI to control the world and the whole simulation.
Construct a new ManipulateNode object. ManipulateNode can only manipulate solid objects. Give the name of the manipulated object to the constructor of ManipulateNode.
Example:
floor = new ManipulateNode("FLOOR");
Sends a request to the simulator process, asking to stop the movement of all physics enabled solids in the world. It means that for any Solid node containing a Physics node, the linear and angular velocities of the corresponding body is reset to 0, hence the inertia is stopped. This function is especially useful when resetting a robot at an initial position from which no initial inertia is required. This function resets the seed of the random number generator used in Webots, so that noise based simulations can be be reproduced identically after calling this function.
Sends a request to the simulator process, asking to reload the current world immediately. As a result of reloading the current world, the supervisor process and all the robot processes are terminated and restarted. You might want to save some data in a file from you supervisor program to be able to reload it when the supervisor controller restarts.
Sends a request to the simulator process, asking to terminate and quit immediately. As a result of terminating the simulator process, all the controller processes, including the calling supervisor controller process will terminate.