I’m having a HITL setup using pixhawk, gazebo and QGC using mavros communication. The default gps location for HIL is in Zurich Irchel Park according to this. I tried to change the coordinates of the default location but that doesn’t seem to work out. From what I’ve understood, I can see that it uses some kind of motion capture in sending these coordinates through the fcu for the HIL simulation. Using a motion capture software doesn’t make much sense to me in order to be able to send fake gps location to my HITL setup. Kindly help me in understand the fake_gps.cpp plugin better.
Thanks in advance