Camera Managers
A camera manager facilitates all operations with cameras inside Rust.
Creation:
Only one Camera Manager can exist at once. Once a new one is created the old one will go stale.
Re Subscribing
Subscriptions only last around 15 seconds. After this, you must resubscribe by doing:
Getting Frames
Camera frames can be fetched for the camera using the following:
This returns a PIL
Image that can be saved or displayed. When the Camera Manager is first created there is no camera frame available. Use: camera_manager.has_frame_data()
to check for this.
Controlling Drones and Cameras
There are many possible movement options that can be sent via the following code:
Last updated