Help need for uploading Ardustation source code

Hi,  I am new to this Arduino programming.  Having install the arduino-0100-relax, I tried to upload Ardustation 2 version 2.0.10.     On my hardward, only the GREEN led lit with nothing shown on the LCD. I have the following warning messages. Please provide me with advice on what should I do next.

ArduStation2.cpp:56:24: error: FastSerial.h: No such file or directory
ArduStation2.cpp:57:25: error: GCS_MAVLink.h: No such file or directory
ArduStation2.cpp:61:55: error: AP_EEPROMB.h: No such file or directory
ArduStation2.pde:-1: error: variable or field 'gcs_handleMessage' declared void
ArduStation2.pde:-1: error: 'mavlink_message_t' was not declared in this scope
ArduStation2.pde:-1: error: 'msg' was not declared in this scope
ArduStation2.pde:-1: error: variable or field 'send_message' declared void
ArduStation2.pde:-1: error: 'mavlink_message_t' was not declared in this scope
ArduStation2.pde:-1: error: 'msg' was not declared in this scope
ArduStation2.pde:-1: error: 'AP_EEPROMB' does not name a type
ArduStation2.pde:-1: error: expected constructor, destructor, or type conversion before '(' token
ArduStation2.cpp: In function 'void loop()':
ArduStation2.pde:-1: error: call of overloaded 'write(int)' is ambiguous
C:\Documents and Settings\itadmin\Desktop\Ho\Arduino_1_Windows\arduino-1.0\libraries\LiquidCrystal/LiquidCrystal.h:82: note: candidates are: virtual size_t LiquidCrystal::write(uint8_t)
C:\Documents and Settings\itadmin\Desktop\Ho\Arduino_1_Windows\arduino-1.0\hardware\arduino\cores\arduino/Print.h:49: note:                 size_t Print::write(const char*)
ArduStation2.cpp: In function 'void SaveHomePosition()':
ArduStation2.pde:-1: error: 'eeprom_busy_wait' was not declared in this scope
ArduStation2.pde:-1: error: 'ee' was not declared in this scope
ArduStation2.pde:-1: error: 'eeprom_write_dword' was not declared in this scope
ArduStation2.cpp: In function 'void RestoreHomePosition()':
ArduStation2.pde:-1: error: 'eeprom_busy_wait' was not declared in this scope
ArduStation2.pde:-1: error: 'ee' was not declared in this scope
ArduStation2.pde:-1: error: 'eeprom_read_dword' was not declared in this scope
ArduStation2.cpp: In function 'void position_antenna()':
ArduStation2.pde:-1: error: 'ToDeg' was not declared in this scope
ArduStation2.cpp: At global scope:
ArduStation2.pde:-1: error: variable or field 'gcs_handleMessage' declared void
ArduStation2.pde:-1: error: 'mavlink_message_t' was not declared in this scope
ArduStation2.pde:-1: error: 'msg' was not declared in this scope

Thanks in advance.

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

Join diydrones

Email me when people reply –

Replies

  • Many thanks for the posts guys, I took to working on my ArduStation after a bit of flying today, but have had very little luck. Your posts have helped me get to the point where I have worked through some of the errors you mentioned, but I am now getting another error:

    "problem uploading to board:

    Binary sketch size: 22678 bytes (of a 32256 byte maximum)
    avrdude: stk500_getsync(): not in sync: resp=0x00
    avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51"

    I am using 022 Relax, should have the libraries in the right place. Any help would be greatly appreciated!

  • Hi,

    Looks like you are either missing the APM libraries or the arduino IDE cannot find them. You should make sure that you have the libraries subdirectory inside your sketchbook folder. If this is missing you may want to get the latest version from the git repo although the mavlink versions may be incompatible (maybe someone who actually knows the code could comment on that).

    Cheers, good luck,

    Andre

This reply was deleted.

Activity