mavlink / MAVSDK

API and library for MAVLink compatible systems written in C++17
https://mavsdk.mavlink.io
BSD 3-Clause "New" or "Revised" License
635 stars 509 forks source link

Camera: support more than one camera with one plugin instantiation #2365

Open julianoes opened 3 months ago

julianoes commented 3 months ago

In order to support more than one camera from language wrappers, we need to change the camera API, so it supports more than one camera with just the one instance.

This would be a similar change to the API as the gimbal API change.

Do you have objections @JonasVautherin?

JonasVautherin commented 3 months ago

In the past I wanted to make it such that one could instantiate multiple Camera() objects (one for each), instead of calling each function with a camera id. Unfortunately gRPC does not seem to make it very convenient, so I guess the id makes sense :+1:.