AP_GPS_NONE compile error

6 views
Skip to first unread message

Daniel Saez

unread,
Feb 1, 2011, 3:10:47 PM2/1/11
to ardup...@googlegroups.com
Hi Pirates,

has anyone tried compiling las rev with gps disabled, that is selecting:

AP_GPS_NONE    gps(NULL); // No GPS attached!!

Any other value is OK, but selecting none I get these:

In file included from ArduPiratesNG.cpp:54:
Config.h:279: error: 'AP_GPS_NONE' does not name a type
ArduPiratesNG.cpp: In function 'void loop()':
ArduPiratesNG:253: error: 'gps' was not declared in this scope
ArduPiratesNG:270: error: 'gps' was not declared in this scope
ArduPiratesNG:405: error: 'gps' was not declared in this scope
ArduPiratesNG:488: error: 'gps' was not declared in this scope
ArduPiratesNG:503: error: 'gps' was not declared in this scope
ArduPiratesNG.cpp: In function 'void sendSerialTelemetry()':
GCS:421: error: 'gps' was not declared in this scope
GCS:657: error: 'gps' was not declared in this scope
ArduPiratesNG.cpp: In function 'void read_GPS_data()':
Navigation:42: error: 'gps' was not declared in this scope
ArduPiratesNG.cpp: In function 'void Position_control(long int, long int)':
Navigation:63: error: 'gps' was not declared in this scope
ArduPiratesNG.cpp: In function 'void Position_control_v2(long int, long int)':
Navigation:107: error: 'gps' was not declared in this scope
Navigation:114: error: 'gps' was not declared in this scope
ArduPiratesNG.cpp: In function 'void read_radio()':
Radio:114: error: 'gps' was not declared in this scope
Radio:121: error: 'gps' was not declared in this scope
ArduPiratesNG.cpp: In function 'void APM_Init()':
System:102: error: 'gps' was not declared in this scope


Anyone??

Dani
Reply all
Reply to author
Forward
0 new messages