CameraCommand Exclusive property
I might be having a blank moment, but when planning a mission in the UI I can set `Exclusive` for a number of `CameraCommand` descendants, e.g. `ExposureCompensationCameraCommand`, `StartCaptureCameraCommand`, etc, but I can't see how to set it in code for a function. I can see `get exclusiveExecution()` and `get exclusiveReadonly()` in the `Component` hierarchy, even `exclusive` in `SubComponent`, but I can't see anything in the `CameraCommand` hierarchy and it's ancestors that corresponds to that flag in the UI.
Am using https://github.com/dronelink/dronelink-kernel-js as my reference.
Apologies if being thick this evening.
Comments
3 comments
Commands are added to plans as part of the CommandComponent, which is a descendent of SubComponent, so the exclusive option on SubComponent is what you are looking for.
Thanks. And d'oh. Teach me to work too late.
No problem! It sounds like you are already advanced beyond needing this, but I created a version of the Path function with comments.
Please sign in to leave a comment.