You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
Activity
m4gr3d commentedon Feb 9, 2015
@alextel69 I'm assuming you're referring to http://copter.ardupilot.com/wiki/mission-command-list/#do-set-relay?
snorkel123 commentedon Feb 9, 2015
@ne0fhyk Yes, exactly
m4gr3d commentedon Feb 9, 2015
@alextel69 sounds good. Are you looking to use it as part of a mission?
If so a
MissionItemimplementation 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.javasnorkel123 commentedon Feb 9, 2015
@ne0fhyk I need both mission and nonmission control. I believe adding SetRelay is a better solution then creating the class in my app
m4gr3d commentedon Feb 10, 2015
@alextel69
SET_RELAYmission item support has been added in version 1.2.5.beta.m4gr3d commentedon Feb 10, 2015
Javadoc for the
SetRelaymission item: https://droidplanner.github.io/3DRServices/javadoc/snorkel123 commentedon Feb 10, 2015
@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.
m4gr3d commentedon Feb 12, 2015
@alextel69 the nonmission
SET_RELAYcontrol was added inversion 1.2.6.beta.Given that function has no defined interaction model yet, it has been placed in the
ExperimentalApisection 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.11of the client library: https://bintray.com/fredia/maven/3dr-services-lib/2.2.11/viewMerge pull request #45 from 3drobotics/release-1.5.1.beta.9