No output on mavros/global_position/pose topic even after publishing mocap data using mocap_pose_estimate
I publish mocap data from Optitrack software to mavros/mocap/pose and tf data on mavros/mocap/tf as per http://wiki.ros.org/mavros_extras documentation. Running px4.launch I see FCU: [inav] Mocap data valid msg. However I mavros/global_position/global topic does not publish anything. The local_position topic publishes nothing. As a result of that I cannot switch to auto_takeoff mode which I guess requires some source publishing global position data.
Any idea what I am missing?
I though global position data will only be published after I arm the uav. So I armed in altitude control mode. but it doesnt work. Do I need to be in off_board mode always?
I have tried publishing mocap data to /mocap/pose, /mocap/tf, mavros/vision_pose/pose but it doesnt work.
I also get no gps_fix warning. Is that an issue? If yes then how do i disable it.
Hi @automate, Did you manage to use the /mocap/pose topic? I also have the same problem as you described. I receive GPS 3d fix with geo location of (0,0)