CameraCommand Exclusive property

Rob Hunter

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.

0

Comments

3 comments

  • Comment author
    Jim McAndrew Dronelink Staff

    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.

    1
  • Comment author
    Rob Hunter

    Thanks. And d'oh. Teach me to work too late.

    0
  • Comment author
    Jim McAndrew Dronelink Staff

    No problem! It sounds like you are already advanced beyond needing this, but I created a version of the Path function with comments.

    0

Please sign in to leave a comment.