Send Position to px4
-
Hi,
I was wondering how I have to configure px4 to get the position estimate from voxl for position mode.The connection to
TELEM2port of my Pixhawk4 works, I am getting Odometry Messages whenvoxl-vision-px4is running. I set the px4 parameterEKF_AID_MASKto8which isvision position fusion. I completely removed GPS from my drone.When I inspect
LOCAL_POSITION_NEDmessages I see thex,ycoordinates from the odometry but thezcoordinate is very off.Any thoughts on that? Thank you!
-
Nevermind, apparently I looked in the wrong places:
https://dev.px4.io/master/en/ros/external_position_estimation.html has the answer:
EKF2_HGT_MODEmust be set tovisionto use the voxl odometry instead of the barometer. Closing this.