Hi All,
I want to be able to use the SET_POSITION_TARGET_GLOBAL_INT MAV link message to control my Hexacopter's velocity/ location with a secondary on-board controller. The idea of this being that I can then play around with code on a more powerful platform and have that influence the Hex while in guided mode. If something goes horribly wrong I can still regain control in stabilize!
I have found that the SET_Position... message is accepted by copter in guided mode but I can't see how to use it with the either APM or Mission Planner?
Therefore end goal (I think) is to develop some lightweight code that will function like a GCS but run on my secondary controller to set up and maintain communication with the Pixhawk and send it position commands.
Two questions:
1.) Before reaching the end goal can anyone suggest an alternate GCS/method I can quickly use to send the SET_POSITION_TARGET_GLOBAL_INT and see how the Hex performs.
2.) Does my end goal seem achievable and does anything similar exist?
Thanks!
Jack
Replies
Just found this old discussion and thought I would share some links that helped me get up to speed, just in case anyone else finds this post while looking to do something similar.
http://ardupilot.org/dev/docs/companion-computers.html#companion-co...
http://python.dronekit.io/develop/installation.html
http://python.dronekit.io/guide/index.html
I am using a Windows based mini PC connected by USB to the Pixhawk.