Skip to content

Add support for SetRelay #45

Closed
Closed

Description

@snorkel123
No description provided.

Activity

  1. m4gr3d commented on Feb 9, 2015

    @m4gr3d
    Member

    @alextel69 I'm assuming you're referring to http://copter.ardupilot.com/wiki/mission-command-list/#do-set-relay?

  2. snorkel123 commented on Feb 9, 2015

    @snorkel123
    ContributorAuthor

    @ne0fhyk Yes, exactly

  3. m4gr3d commented on Feb 9, 2015

    @m4gr3d
    Member

    @alextel69 sounds good. Are you looking to use it as part of a mission?
    If so a MissionItem implementation should suffice similar to what was done for DO_SET_SERVO: https://github.com/DroidPlanner/3DRServices/blob/master/AidlLib/src/com/o3dr/services/android/lib/drone/mission/item/command/SetServo.java

  4. snorkel123 commented on Feb 9, 2015

    @snorkel123
    ContributorAuthor

    @ne0fhyk I need both mission and nonmission control. I believe adding SetRelay is a better solution then creating the class in my app

  5. m4gr3d commented on Feb 10, 2015

    @m4gr3d
    Member

    @alextel69 SET_RELAY mission item support has been added in version 1.2.5.beta.

  6. m4gr3d commented on Feb 10, 2015

    @m4gr3d
    Member

    Javadoc for the SetRelay mission item: https://droidplanner.github.io/3DRServices/javadoc/

  7. snorkel123 commented on Feb 10, 2015

    @snorkel123
    ContributorAuthor

    @ne0fhyk Amazing!
    Only nonmission control left. Possible option is to get MavLink message from SetRelayImpl, then send it as a raw message. But it won't be a good design anyway. Waiting for command addition to drone class.

  8. m4gr3d commented on Feb 12, 2015

    @m4gr3d
    Member

    @alextel69 the nonmission SET_RELAY control was added in version 1.2.6.beta.

    Given that function has no defined interaction model yet, it has been placed in the ExperimentalApi section of the client library: https://github.com/DroidPlanner/3DRServices/blob/87ea75bdd3aab4ac7a039e229686955158121261/ClientLib/mobile/src/main/java/com/o3dr/android/client/apis/drone/ExperimentalApi.java.

    To make use of the new api, you'll need version 2.2.11 of the client library: https://bintray.com/fredia/maven/3dr-services-lib/2.2.11/view

  9. added a commit that references this issue on Feb 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions