compiling the apm stuff not using a gps device

i have not yet ordered a gps :)

and the code does not compile - and prob. never has been tested.


the variable/class AP_GPS_NONE does not exist.

it is sligthly different - in the ArduPilotMega you have to refelct the correct speeling.

locate for the line in bold and change it as written below:


AP_GPS_None        GPS(NULL);
# error Must define GPS_PROTOCOL in your configuration file.


change it in your project and then it compiles.



You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


sam liked Jimmy Oliver's profile
Aug 25
Mike Whitney liked Mike Whitney's profile
Jul 19
Abdulatif Tlaib liked Ryan's profile
Jun 24