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:

 

#elif GPS_PROTOCOL == GPS_PROTOCOL_NONE
AP_GPS_None        GPS(NULL);
#else
# error Must define GPS_PROTOCOL in your configuration file.
#endif

 

change it in your project and then it compiles.

 

robert

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

Join diydrones

Email me when people reply –

Activity