-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bring back kill switch #1511
Bring back kill switch #1511
Conversation
closes #1433 |
Ready for merge. It should work fine for ArduPlane, but I don't have one to test with. |
@@ -13,7 +13,7 @@ dependencies { | |||
compile 'com.android.support:cardview-v7:22.1.0' | |||
compile 'com.android.support:recyclerview-v7:22.1.0' | |||
|
|||
compile 'com.o3dr.android:dronekit-android:2.3.32' | |||
compile 'com.o3dr.android:dronekit-android:2.3.33' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upgrade to version 2.3.34
. Version 2.3.33
has a bug that the newer version fixes.
DroneStateApi.setVehicleMode(drone, VehicleMode.COPTER_STABILIZE); | ||
} | ||
} | ||
DroneStateApi.arm(drone, false, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@squilter the version check logic can be removed. It's handled by 3DR Services in https://github.com/DroidPlanner/DroneKit-Android/blob/371cfd568046fc772726f9af3b2baf3e9e1dd866/ServiceApp/src/org/droidplanner/services/android/api/DroneApiUtils.java#L682-L748
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That logic is now up in the develop branch for 3DR Services.
Do not merge yet. I need to test with once more tomorrow.
Also, does APM:Plane support the emergency disarm command?