So a few weeks ago I got my ArduStation in the mail. Since it is no longer supported under ACM2, I decided to rewrite the code to support MAVLink. So far so good. You can start and stop the MAVLink data feeds and monitor flight data.  I'm also looking into the thing's ability to show some basic graphical HUD displays (although note that there aren't pixels between characters or rows (bummer)).  I only have 9600kbps Xbees (9600 xsc).  So one thing I've noticed is if you get the data rate too high the pipe becomes clogged and you can't stop feeds.  Is this an Xbee problem or a ACM problem?

Views: 1971

Tags: acm2, arduino, ardustation


Distributor
Comment by RC Tech.se on May 16, 2011 at 9:54am
This IS a nice thing to buy already and i am so happy that it is coming to the APM 2. A daylight readable no frills display with just the right amount of information at hand. We already have state of the art LCDs on our laptop GCS. Just give me a simple heading arrow, battery indicator and a button to restart missions and i am happy.
Comment by Darren on May 16, 2011 at 10:09am
I recently updated the ardustation software to run on the ardupilotmega board and use the RC libraries. My intention was initially for antenna tracking in HK_GCS. I have yet to add the display output as I dont have an LCD to use at the moment. I also updated HK's ardutracker for the mega board as well, so if anyone is interested I can share the code changes I made.
Comment by Paul Mather on May 16, 2011 at 10:15am
Please do! If you want to email it to me, I'll post it on my Google Code page happy@happykillmore.com
Comment by Darren on May 16, 2011 at 3:44pm

the example changes for ArduTrackerMega and ArduStationMega are posted here:

http://code.google.com/p/happykillmore-gcs/issues/detail?id=2&c...

tracker It was pretty simple change. The one that took more time was the ArduStationMega :)

I would have to do a compare to see the actuall changes on both, but Ill email you both zip's in the meantime.

There was some sort of issue with rc_init command in the tracker startup just after connecting; but before the demo servos commands fired, that was swinging the antenna servos to full throw (hard servo endpoint) and back to center. not sure what that was all about though. playing with the delays aleviated most of the startup issue. you may notice I tried to replicate full swing (over 45 degrees) with the demo servo command with exagerated pwm output, but couldnt replicate it as I only get 45 on each servo even with those numbers.

 

edit: FYI, I posted the files to the issue on googlecode, instead of emailing...

double edit: this was way before mavlink, so of course those changes would need to be rolled in. as well as I betcha there are folks here that would like replaced lines removed instead of commented out. as it takes up more space... ;)

Comment by phillip.anthony.smith on May 21, 2011 at 11:58pm
For those interested, the code is getting pretty usable.  To try out the code visit: http://code.google.com/p/ardustation/wiki/UsersGuide for the guide and code.  Input is appreciated!  Understand that the instructions are a little sparse.
Comment by Luke on May 29, 2011 at 4:53pm
So is this only working with ACM then? When I try to compile the code I get a message about AP_Common.h not being found. A search of the net shows this to be some file from ArduCopter, but not APM2x anyway that I can see.

Comment by phillip.anthony.smith on May 29, 2011 at 9:27pm

Luke,

 

AP_Common.h is a library that is common to the ArduPilot family.  It is in the libraries folder of both ACM and APM.  When compiling the source it must be in your root Arduino sketches folder and ACM or APM libraries must also be there, so your tree should look something like:

Sketches Folder

-ArduCopterMega

-ArduPilotMega

-ArduStationPS

-Libraries

 

Phillip

Comment by Luke on May 30, 2011 at 12:06am
Thanks Phil! Such a simple thing, but I had my folders messed up, was putting ArduStationPS inside the APM folder, rather than in the root of sketches. It's working now.
Comment by Dario Lindo Andres on June 18, 2011 at 8:32am

Hello everyone,
 First I want to thank Phillip for their hard work and effort. It's wonderful to have Ardustation running again. Secondly I wanted to ask you if you plan to adapt the code for use the Ardustation as an antenna tracking solution (like the original code). I have been trying to adapt the code but my programming skills are very scarce. The idea is that the antenna decodes the three GPS values ​​of the plane, ie, LAT, LONG and ALT and then apply the rest of the original code (Ardustation_V1.3). What you think? would be it very difficult to do? I think could be a lot of people interested, with this we can perform circular flights of large radius (I have an antenna connected to XBee patch). Thanks for your time.

 Greetings from Spain.
 Dario

Comment by phillip.anthony.smith on June 18, 2011 at 1:35pm

Dario,

 

I don't currently have a direction setup going.  I do have some servos laying around so I'll dig them out and do some testing.  Completely doable.  I'll start on it this weekend.  I'll put another message up when I get the code uploaded.

 

Phillip

Comment

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

Join DIY Drones

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service