pyrobosim.web.commands.random_object

pyrobosim.web.commands.random_object(world: World) str | None

Samples a random object name to use as a manipulation target.

Parameters:

world – The world to sample an object from.

Returns:

A random object name, or None if the world has no objects.