Robotics StackExchange | Archived questions

Sending hil_gps msg with mavros

Hello,

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

Asked by xFirefly on 2016-03-14 12:09:20 UTC

Comments

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

Asked by JustFineD on 2017-11-12 14:37:30 UTC

Did you guys manage to do this?

Asked by Rika on 2021-08-10 22:04:21 UTC

Answers