Ardustation 2: Antenna Tracking, Mavlink, Flight Data for Arducopter 2

Heino, Jeff E and myself have been working on updating Ardustation code to support Arductoper 2.

 

I think our code is ready for general use.

- Automatic antenna tracking, tested with ReadyMadeRC Antenna pan/tilt unit (even had my ContourHD cam attached to the directional antenna!)

- Manual antenna tracking (aka Antenna Test)

- Edit/View AC2 Params included PIDs

- Flight data display

 

Credits to Phillip Anthony Smith for updating Ardustation to support Mavlink (ArdustationPS).

 

Source code is available here

http://code.google.com/p/ardustation-ii/

Views: 3985

Comment by Earl on August 13, 2011 at 8:28pm

How much volts and where on the backlight for ardustation ?

Earl

 

Comment by Earl on August 13, 2011 at 8:40pm

Never mind. I found the brightness pot !

Earl

 

Comment by mc_don on August 14, 2011 at 2:53pm

are you using arduino + FTDI cable to upload the code? or using ISP cable?

becouse i cant upload my ardustation using FTDI + arduino

hire the error:

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

 

i have plug the power 12V and i have check 5V is good.

using FTDI using arduino

 

setting tools :

Arduino PRO board with 5V and 16 Mhz

38400 baud

 

can you help my problem?


Developer
Comment by Dario Lindo Andres on August 14, 2011 at 2:59pm

Hello mc_don,

You must select "Arduino Duemilanove or Nano w/ ATmega328" board.

Baud rate must be the same that you are using with your Xbee (software configurable).

 

Regards from Spain,

Dario.


Moderator
Comment by Grips on August 14, 2011 at 4:13pm

Hai! Awesome stuff man!


Moderator
Comment by Hai Tran on August 14, 2011 at 5:52pm

@mc_don That error caused by having the wrong board selected, the board Dario identified is correct, and the baud rate should be set for 57600

Comment by Zac on August 14, 2011 at 7:01pm

Is there an easy way to hand off back and fourth between the ardustation and a laptop?  Sorry I am still starting out, so forgive me. But how many communication channels can the zigbee/mavlink support? As In can I have a ardustation at one end for the launch, and then it hands off to another ardustation or a laptop on the way?

Comment by Jeff E on August 14, 2011 at 7:53pm

Zac, Xbee can support broadcast. Just set VID same for all Xbee and it should work hand in hand. I have ArduStation and Copter-GCS working at the same time. I also tried setting PIDs in ArduStation and it reflects on GCS. Should be the same with laptops/Mission Planner. I hope this is what you meant.

Comment by hiwa on August 19, 2011 at 6:11pm

hi all, i got this errors when i upload code to ardustation. plz guid me to upload it. thanks.

ArduStation2.cpp:40:24: error: FastSerial.h: No such file or directory
ArduStation2.cpp:41:25: error: GCS_MAVLink.h: No such file or directory
ArduStation2.cpp:45:55: error: AP_EEPROMB.h: No such file or directory
ArduStation2:38: error: variable or field 'gcs_handleMessage' declared void
ArduStation2:38: error: 'mavlink_message_t' was not declared in this scope
ArduStation2:38: error: 'msg' was not declared in this scope
ArduStation2:39: error: variable or field 'send_message' declared void
ArduStation2:39: error: 'mavlink_message_t' was not declared in this scope
ArduStation2:39: error: 'msg' was not declared in this scope
ArduStation2:49: error: 'AP_EEPROMB' does not name a type
ArduStation2:58: error: expected constructor, destructor, or type conversion before '(' token
ArduStation2.cpp: In function 'void SaveHomePosition()':
Antenna:5: error: 'eeprom_busy_wait' was not declared in this scope
Antenna:6: error: 'ee' was not declared in this scope
Antenna:10: error: 'eeprom_write_dword' was not declared in this scope
ArduStation2.cpp: In function 'void RestoreHomePosition()':
Antenna:16: error: 'eeprom_busy_wait' was not declared in this scope
Antenna:17: error: 'ee' was not declared in this scope
Antenna:21: error: 'eeprom_read_dword' was not declared in this scope
ArduStation2.cpp: In function 'void position_antenna()':
Antenna:121: error: 'ToDeg' was not declared in this scope
ArduStation2.cpp: At global scope:
MAVLink:0: error: variable or field 'gcs_handleMessage' declared void
MAVLink:0: error: 'mavlink_message_t' was not declared in this scope
MAVLink:0: error: 'msg' was not declared in this scope

 

Comment by Heino R. Pull on August 19, 2011 at 8:44pm
@hiwa. Hello. You need the current library folder from either the Arducopter or Apm distribution in your sketches folder The best way to verify this is if you can compile either project in the Arduino environment before you try to compile Ardustation2. Let me know if you need more info on how to do this.

Heino

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

© 2020   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service