I want to read data from gps module and use hal.console->printf to display it on console. I need the lattitude and longtitude for some calculations. How can I do it

I want to display my drones gps coordinates using sitl

Use the real time plotting capabilities of mission planner. No need to change the software.

Doing printfs is slow and unefficient

Do the calculations in lua