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
Tags:
Permalink Reply by Tim - Arduino for Visual Studio on December 11, 2011 at 8:51am 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
Permalink Reply by julien.jouffrit on December 11, 2011 at 12:37pm 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.
Permalink Reply by Tim - Arduino for Visual Studio on December 11, 2011 at 12:43pm 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?
Permalink Reply by julien.jouffrit on December 12, 2011 at 9:02am 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 ?


Yes, Don't use the new Arduino. It's not supported yet.
Thanks
Permalink Reply by Tim - Arduino for Visual Studio on December 11, 2011 at 12:40pm 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.
Permalink Reply by julien.jouffrit on December 11, 2011 at 1:49pm 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
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.186 members
1298 members
24 members
51 members
51 members
© 2013 Created by Chris Anderson.
Powered by
