Started by alex corbett. Last reply by Sid Apr 30. 10 Replies 1 Like
Hi Everyone,I've been happily flying and being flown by my apm2 tricopter since pretty much it came out. I've never dabbled in altering or writing code.......until now.I'm trying to sort …Continue
Started by Nicholas J Anderson. Last reply by Redemptioner Apr 26. 8 Replies 0 Likes
Hello,For the sake of better understanding APM guts I've been working on what I've been calling ArduGimbal. I've just assembled code together looking at Arducopter 2.5.5 for how to structure the…Continue
Started by anubhav prabakar. Last reply by Steven Lutz Mar 25. 6 Replies 0 Likes
Hi guys!!!I would like to program the APM 2.0 and integrate these 6 sensors for obstacle avoidance. Has anybody done that?? Any hints on how to do this??Continue
Started by Markus Järve. Last reply by Markus Järve Mar 18. 21 Replies 0 Likes
Firstly I would like to apologize for sending takeoff message to all people in "Learning to program the Ardupilot…Continue
Comment
Comment by Veikko Vierola on May 11, 2012 at 1:22pm I managed to upload the data to the board, I used port /dev/tty.usbserial-A8003WBz???
Then I tried the verify again, and the same error as earlier ....(
AP_Int16 format_version; (highlighted in yellow)
'AP_Int16' does not name a type (white text on red)
And then a lot of errors (red text on black)).....
What might cause this....
Comment by Veikko Vierola on May 11, 2012 at 1:01pm I try the upload next....
Comment by Veikko Vierola on May 11, 2012 at 1:01pm Sorry, my mistake didn't do the folder selection right way...Now when I verify there is no errors, only .....Done compiling text....
and
Binary sketch size: 141948 bytes (of a 258048 byte maximum)
Comment by Veikko Vierola on May 11, 2012 at 12:52pm Does APM need to be connected already when verifying or only when uploading?
I selected board Arduino Mea 2560 ....Lot of errors when verifying...
AP_Int16 format_version; (highlighted in yellow)
'AP_Int16' does not name a type (white text on red)
And then a lot of errors (red text on black)

Veikko,
I also run Lion, so I will offer some help.
First, download the arduino code with the relax-patch from here:
http://code.google.com/p/ardupilot-mega/downloads/detail?name=ardui...
This is the arduino IDE that will allow you to compile and load the code.
Unzip and copy "Arduino" to Applications
Next, grab the software. Get copter or plane from the downloads directory:
plane - http://code.google.com/p/ardupilot-mega/downloads/detail?name=ArduP...
copter - http://code.google.com/p/arducopter/downloads/detail?name=ArduCopte...
Unzip the files into a directory.
Open Arduino from applications. Open Preferences
Change sketchbook location to be the top directory where you unzipped the APM code.
Click the "open sketch" button which is the "up" arrow. You should see the directory you unzipped the code. Select "ArduCopter" or "ArduPlane" as the sketch.
Arduino should open a lot of tabs
Select the board and speed
Hit Veirfy to compile [this is where things might go wrong. Copy any errors from the console and come back here for help!]
then Upload
Comment by Veikko Vierola on May 11, 2012 at 9:51am What a great idea to create this Group. I salute you M. Monroe ;)
Comment by Veikko Vierola on May 10, 2012 at 3:02pm Never compiled or installed manually code to APM. Now I need to do it so I can get the Antonopolous's DroneCell code working in my APM1 (2560). can someone help how get started what programs to use etc...
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.1298 members
24 members
51 members
51 members
185 members
© 2013 Created by Chris Anderson.
Powered by

You need to be a member of Learning to program the Ardupilot Mega to add comments!