sim2bot.Robot.delete_marker¶
delete_marker(marker_id: str) -> None
¶
Remove one debug marker.
Parameters:
-
marker_id(str) –ID previously supplied to
marker.
Returns:
-
None–Deleting an unknown marker ID is harmless.
Raises:
-
RuntimeError–If the client is not connected.
-
ConnectionClosed–If the WebSocket closes while sending the command.
-
OSError–If the selected transport cannot send the command.
Source code in sim2bot/client.py
Practical examples¶
Examples use objects discovered from the current scene rather than hard-coded robot metadata.
Replace a marker shape
Guidance¶
Common error
Deleting an unknown ID is harmless but does not clear other markers.