sim2bot.Robot.close¶
close() -> None
¶
Close control, telemetry, camera, and UDP resources.
Active camera feeds are unsubscribed first. Calling close() more than
once is safe.
Returns:
-
None–The method is safe to call repeatedly.
Source code in sim2bot/client.py
Practical examples¶
Examples use objects discovered from the current scene rather than hard-coded robot metadata.
Always close with finally
Close an active camera feed
Guidance¶
Usage tip
It is safe to call close() more than once during cleanup.