Sending hil_gps msg with mavros

asked 2016-03-14 12:09:20 -0500

xFirefly gravatar image


I'm trying to build indoor system with ultrasonic sensors. I'm substitute mocap msgs by publishing correct data to /mavros/mocap/pose and /tf , pixhawk accepts it but led won't go in green. So as I understand for flying indoor I also need to give fake gps data? As I undestand I can do it with sending HIL_GPS message. Is it possibly to send this msg with python+mavros? If yes, where I can learn how to do it? Any example?

P.S. I'm not sure but mby its possible to fly indoor without faking gps? If so, can you help me with that?

Thanks in advance, xFirefly

edit retag flag offensive close merge delete


Hi @xFirefly, Did you manage to create fake gps data?

JustFineD gravatar image JustFineD  ( 2017-11-12 13:37:30 -0500 )edit

Did you guys manage to do this?

Rika gravatar image Rika  ( 2021-08-10 22:04:21 -0500 )edit