Hi again,
From investigating the voxl-vision-hub code with added prints for debug, I see that the setpoint SETPOINT_POSITION_MAGIC_NUMBER is sent to mavlink-server from two functions -
(1) _send_current_position()
sending the current position, and type-mask ignoring vx,vy,vz,ax,ay,az,yaw_rate
// fetch latest position and attitude from px4 itself so the setpoint
// we are about to send is a close as possible to where we currently are
(2) execute_setpoint_position_command()
sending the setpoint as recieved from voxl-planner
The implemented behaviour of (1) suits the situation of position+yaw command. However for vx+vy+z+yaw_rate command I think something is missing.
Any help will be appreciated.
Thank you, Meytal