Learning to program the Ardupilot Mega

Information

Learning to program the Ardupilot Mega

A group to discuss the many ways to edit and compile the code for the Ardupilot Mega!

Members: 328
Latest Activity: on Sunday

Discussion Forum

i2c Port Help!!

Started by Luis Carlos Barrios Fedechen. Last reply by Luis Carlos Barrios Fedechen on Saturday. 2 Replies

hi to all...it's possibel to any help me with read 2 bytes of data in the i2c port...in the old librarys i read the data but in the new hal library no work...i use this in arduplane 2.68 code with…Continue

imu read via serial monitor in arduino IDE

Started by mohamed arafat on Saturday. 0 Replies

Hi all I need to get the gyro & acc read through normal serial monitor arduino IDE I tried to use inertial sensor example included with arducopter mpu 6000 library but it gives me compiling error…Continue

using APM in (Vtol) Model which doesn't exist in the mission planner firm ware

Started by mohamed arafat. Last reply by MHefny on Friday. 13 Replies

Hi alli'm gonna make this with the APM 2.5 and i dont know how to start>should i remove the existing code in the APM and…Continue

Optical Flow Code Working on Arduino MEGA, but not APM 2.5

Started by Brandon Hurd. Last reply by Brandon Hurd on Thursday. 2 Replies

So here is what I'm having trouble with now. I wrote a driver for a CMOS chip and then I also have some code that will calculated the optical flow using the images from the camera. My code works…Continue

Comment Wall

Comment

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

Comment by Gabriel Garcia on April 26, 2013 at 1:22pm

I'm also interested.

cheers

Comment by Jesus on April 24, 2013 at 1:26am

Hello all,

I'm working in order to add a vision based navigation mode for the APM, using ROS and a C.O.M Odroid X2.

  I already have implemented, the vision tracking with the camsifht algoritm, a server-client system  in the odroid, and now, I've started with the mavlink-ros-pkg in order to add a dynamic waypoint. I'm going to estimate this waypoint with a vision based system, and introduce this waypoint with this ROS node in the mavlink message.

  But I have two troubles, first one, is that I need to create a new flight mode to read this waypoint, the second one, is where can I add this waypoint in the mavlink message. Can you help me, please?

Comment by Marcelo Gomes on April 7, 2013 at 8:54pm

Yes, Sergio.

APM will fly well in ANY plane or copter, if you set up it before, I mean, the PIDs for each aircraft. It's the .param file in arduplane.

For Bixler, skywalker, techpod, and many others aircraft these .param file are available at ardupilot wiki page, just download it and load through mission planner.

Good luck!

Comment by SERGIO TERUEL on April 7, 2013 at 8:43pm

any member of the group could assist me the indication and how to use it

Comment by SERGIO TERUEL on April 7, 2013 at 8:40pm

APM plane which is indicated for the Bixeler ?

Comment by Ellison Chan on November 13, 2012 at 8:15am

There's no real datasheet per se.  But if you know how to read schematics, there are always the eagle files here.  If you want the datasheets of the main processor, check out the Atmega2560 datasheet.


Assistant Admin
Comment by Joshua Johnson on November 12, 2012 at 3:38pm

I'm curious what programming languages can be used to program the autopilots, stablizers, gps, etc.

Currently Learning Microsoft C++.


Developer
Comment by Randy on October 15, 2012 at 4:38am

Francisc,

    Yes, I believe that's the reason.  From 2.7.4 onwards I don't think that will be necessary at least for quads, hexas and octacopters because we have a more intelligent "stability patch" that will reduce the throttle slightly if required to maintain roll, pitch and a very minimal amount of yaw control.

Comment by Francisc Bereczky on October 15, 2012 at 3:39am

In AP_Motors.h line 31 I find

 #define AP_MOTORS_DEFAULT_MAX_THROTTLE 850

What is the meaning of the value 850?

Is a limit to have 150 left for stabilise?

A few words please. Thanks. 

Comment by Altaf on October 14, 2012 at 8:57pm

Hi!! how do we use the user_hook fast loop for the arducopter ?? 

 
 
 

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

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service