I just joined the community. LAst weekend i spend building my Quad. Got the esc's calibrated and went on to connect my APM + oilpan.
I've been trying to connect to the thing on 3 computers now but without success.
What have i done so far.:
MACbook Pro running windows 7:
Installed the usb driver (ftdi)
Tried connecting both through the configuration and the CLI.
Used 115200, carriage return, COM3
I see the lights coming on on the board, and the TX light flicker when its trying to connect. After that it will show one line with jibberish (see image). Or it says it cannot connect
Also tried the same procedure on a PC running vista. And also on a Macbook pro under OSX. Also through configuration or the CLI. All the same result. One line with weird characters. Also tried different USB cables. No luck :(
It's only connected to the USB cable, and gets it power from that. So no ESC's connected or receiver.
Who can help me out?
Thanks,
You need to be a member of diydrones to add comments!
Replies
I'm having a really hard time uploading the Ardupirates code to the board. When i download the latast config from the trunk (ArdupiratesNG) and open that sketch in Arduino. After that i run the verify function, and i keep getting errors on the gps. Tried commenting it out, like the instructions say buit no succes. What could be the problem? This is the error list it returns after verifing the downloaded Ardupirates code from the trunk with the default config.h:
In file included from ArduPiratesNG.cpp:54:
/Config.h:48:20: error: AP_GPS.h: No such file or directory
ArduPiratesNG.cpp:64:24: error: FastSerial.h: No such file or directory
ArduPiratesNG.cpp:65:23: error: AP_Common.h: No such file or directory
ArduPiratesNG.cpp:68:76: error: AP_ADC.h: No such file or directory
ArduPiratesNG.cpp:69:59: error: APM_BMP085.h: No such file or directory
ArduPiratesNG.cpp:74:69: error: AP_RangeFinder.h: No such file or directory
In file included from ArduPiratesNG.cpp:54:
Config.h:320: error: 'AP_GPS_NONE' does not name a type
In file included from ArduPiratesNG.cpp:76:
Arducopter.h:198: error: expected constructor, destructor, or type conversion before '(' token
Arducopter.h:199: error: expected constructor, destructor, or type conversion before '(' token
Arducopter.h:200: error: expected constructor, destructor, or type conversion before '(' token
ArduPiratesNG:86: error: 'AP_ADC_ADS7844' does not name a type
ArduPiratesNG:87: error: 'APM_BMP085_Class' does not name a type
ArduPiratesNG:88: error: 'AP_Compass_HMC5843' 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:420: error: expected unqualified-id before '.' token
ArduPiratesNG:421: error: expected unqualified-id before '.' token
ArduPiratesNG:428: error: 'APM_BMP085' was not declared in this scope
ArduPiratesNG:457: error: 'APM_BMP085' 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 CALIB_CompassOffset()':
CLI:370: error: expected unqualified-id before '.' token
CLI:371: error: expected unqualified-id before '.' token
CLI:372: error: expected unqualified-id before '.' token
CLI:373: error: expected unqualified-id before '.' token
CLI:381: error: expected unqualified-id before '.' token
CLI:382: error: expected unqualified-id before '.' token
CLI:385: error: expected primary-expression before '.' token
CLI:385: error: expected primary-expression before '.' token
CLI:386: error: expected primary-expression before '.' token
CLI:386: error: expected primary-expression before '.' token
CLI:387: error: expected primary-expression before '.' token
CLI:387: error: expected primary-expression before '.' token
CLI:390: error: expected primary-expression before '.' token
CLI:390: error: expected primary-expression before '.' token
CLI:391: error: expected primary-expression before '.' token
CLI:391: error: expected primary-expression before '.' token
CLI:392: error: expected primary-expression before '.' token
CLI:392: error: expected primary-expression before '.' token
CLI:401: error: expected primary-expression before '.' token
CLI:403: error: expected primary-expression before '.' token
CLI:405: error: expected primary-expression before '.' token
CLI:407: error: expected primary-expression before '.' token
ArduPiratesNG.cpp: In function 'void CALIB_AccOffset()':
CLI:466: error: 'adc' was not declared in this scope
ArduPiratesNG.cpp: In function 'void Drift_correction()':
DCM:90: error: expected primary-expression before '.' token
DCM:90: error: expected primary-expression before '.' token
ArduPiratesNG.cpp: In function 'void sendSerialTelemetry()':
GCS:369: error: expected primary-expression before '.' token
GCS:371: error: expected primary-expression before '.' token
GCS:373: error: expected primary-expression before '.' token
GCS:375: error: expected primary-expression before '.' token
GCS:377: error: expected primary-expression before '.' token
GCS:379: error: expected primary-expression before '.' token
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 Read_adc_raw()':
Sensors:57: error: 'adc' was not declared in this scope
ArduPiratesNG.cpp: In function 'void read_baro()':
Sensors:203: error: 'APM_BMP085' was not declared in this scope
ArduPiratesNG.cpp: In function 'void APM_Init()':
System:106: error: 'adc' was not declared in this scope
System:114: error: 'gps' was not declared in this scope
System:184: error: expected unqualified-id before '.' token
System:185: error: expected unqualified-id before '.' token
System:186: error: expected unqualified-id before '.' token
System:187: error: expected unqualified-id before '.' token
System:220: error: 'APM_BMP085' was not declared in this scope
Cheers for the help
Ok, I'm a complete NOOB. After spending another night reading manuals I have it working! Thanks for putting up with my dumb questions.
It still needs some finetuning. But its dark now so no weather to fly
screen.bmp