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
TELEM2
port of my Pixhawk4 works, I am getting Odometry Messages whenvoxl-vision-px4
is running. I set the px4 parameterEKF_AID_MASK
to8
which isvision position fusion
. I completely removed GPS from my drone.When I inspect
LOCAL_POSITION_NED
messages I see thex,y
coordinates from the odometry but thez
coordinate 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_MODE
must be set tovision
to use the voxl odometry instead of the barometer. Closing this.