Because of a few people asking for it on the dronekit Gitter channel I’ve created a PR to add support for the set-attitude-target message (http://mavlink.org/messages/common#SET_ATTITUDE_TARGET) in Guided mode. https://github.com/diydrones/ardupilot/pull/2959.
This is much like AltHold for use by a GCS or companion computer. So the caller can specify the lean angle using a quaternion and a thrust value. The thrust value is a number from 0 to 1.0. 0 = descend at WPNAV_SPEED_DN, 0.5=maintain alt and 1.0 = climb at WPNAV_SPEED_UP cm/s.
There’s a corresponding PR for MAVProxy to allow testing the new feature:
https://github.com/Dronecode/MAVProxy/pull/208
All feedback welcome here or in the PR.
This is a Copter-3.4 feature.
-Randy
Kristian,
I’ve seen some requests to add support for the acceleration fields in the SET_POSITION_TARGET_* messages so there’s definitely interest but I think those people also expect the control to be “closed loop” and what I mean by that is that the vehicle would lean over to generate the acceleration but it would also integrate that desired acceleration up to the velocity and position and maintain those as well. In this way the caller could make the vehicle fly a nice circle for example without having to worry about externally checking the vehicle’s position.
-Randy
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.