Hi,

I would like to know what commands I should use and where I should include them in the source code Arducopter_2_0_55 for my quadrotor to take off and maintain an accurate altitude ?

And also, why can't I compile the source code ArduCopter_2_0_55 with the new IDE Aruino1.0 ?

Thanks

Views: 194

Reply to This

Replies to This Discussion

Have you read the arducopter wiki? It should answer any configuration questions.

Arduino 1.0 has only just been released and breaks just about every arduino project there is. Arducopter already includes alternative code to the key enhancements of Arduino 1.0, so there are not any immediate benefits to making 1.0 compatibility a priority. That's just my take on things but I am sure you won't have to wait long. You can grab arduino 0023 instead.

When you look at the wiki is isn't very obvious where the instructions are because the trees on the left are collapsed. Expand "Instructions for multirotor UAVs:". but then again i've just had a look and it isn't obvious :) Try the mission planner

 

Thank for your answer, but I don't want use mission planner that's why I have need to know commands for my quadrotor to take off and maintain an accurate altitude

You can use other MAVLink-compatible GCSs, such as QGroundControl and the HKGCS. We only support MAVLink comms, so if you want to write your own, you'll need to use that.

Ok then you just need to configure a switch on your tx to set alt_hold. it's probably a mode anyway. i'm not sure the auto take off stuff will work especially without adding waypoints so you could use stabalize mode to take off and then switch to alt_hold? do you know how to configure the modes?

Hi,

I'm not sure to know how configure the modes, I think I just need to add these lines in the file "APM_Config.h":

#define FLIGHT_MODE_CHANNEL   5
#define FLIGHT_MODE_1         STABILIZE
#define FLIGHT_MODE_2         STABILIZE
#define FLIGHT_MODE_3         ALT_HOLD
#define FLIGHT_MODE_4         ALT_HOLD
#define FLIGHT_MODE_5         MANUAL
#define FLIGHT_MODE_6         MANUAL

Can you confirm that ?

@Julien - you mean eliminate MissionPlanner entirely and hard code your entire mission?

I don't see the point unless you are planning on having no control/over-ride/failsafe at all(?)

Yes, Don't use the new Arduino. It's not supported yet.

Thanks

Jason does this sound right? I've been looking at the latest mission planner and some of the arducopter code. Without spending hours checking, it seems that alt_hold altitude might hold at whatever height the copter is at when you switch to alt_hold. I know there is more info about it somewhere, sorry if I am wrong. So you might be able to configure some waypoint to take you to a position and at a specified altitude then switch to alt_hold.

Thanks for your answer, I will test what you suggest if I still have some trouble I will come back to you.

I have one more question, I would like to know how I can get the altitude of the quadrotor indoor (what function ?)

Thanks

RSS

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