Hi,
I built an external position estimation vision based system for a drone that runs Ardupilot.
As far as I know, MAVLINK_MSG_ID_LOCAL_POSITION_NED returns the position of the drone. However, this position is depending on the internal position estimation systems (GPS, IMU, optical flow…).
How can I send to Ardupilot my results from the external position estimation I made to replace those values? or to fuse those values into the EKF that Ardupilot uses internally?
Isn’t GPS a global position estimation while the vision system is just a local one? Wouldn’t this make some troubles?
As far as I understood from the conversation, that it would involve some Ardupilot code changing. So in other words, there is no ready solution in Ardupilot for this?
Hi everyone, @JustFineD I am also working with an Intel Aero drone and have designed an external algorithm that provides drone’s position and orientation in the “room” coordinate system.
The final purpose of my project is to be able to inject this position to the drone and the send position (or if that’s not possible even attitude) targets to it.
Do you think you can help me, at least with a high level list of steps (actual implementation would be of great help) I should take in order to achieve this (which is basically what you have achieved so far)?
I have tried to use the VISION_POSITION_ESTIMATE message but the folks from the gitter channel of ArduPilot have told me that that is only possible in the latest 3.6 version of ArduCopter and for some reason when I flash that to my Aero it doesn’t work anymore. Maybe you have encountered this problem too and have a solution for this as well.
I am struggling with this for a few weeks now.
Any kind of help is highly appreciated.
Thank you very much.
Hi @JustFineD, I would be interested. I’m currently trying to use GPS_INPUT (AC 3.5.5) but it seems liek Arducopter does not accepts the altitude. How did you manage the injection of position data?
Thanks.