Send Position to px4
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 when
voxl-vision-px4is running. I set the px4 parameter
vision position fusion. I completely removed GPS from my drone.
When I inspect
LOCAL_POSITION_NEDmessages I see the
x,ycoordinates from the odometry but the
zcoordinate 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 to
visionto use the voxl odometry instead of the barometer. Closing this.