Ardupilot first flight - Easystar with Xbee and Telemetry - Having issue...

Ok, so the first flight went well. Stabilization mode works great, tested that 2nd. NE Test perfect. Then I takeoff and switch to enable autopilot, no crazy diving, plane turns east and then straightens out. And flys east. I try different entry angles, all it does is turn back east. I landed and read the waypoint file, all the waypoints look good. So whats going on, is the aircraft trying to return home, and not initializing the autopilot. ? Is the GPS somehow confused as to compass heading ? I have only a 2 switch setup, so I am not using a 3 switch setup. I did not modify the code at all so its default. Any ideas why its doing this, I do not have the ne code test enabled anymore, i checked that right away assuming it did not write the update to turn it off. Any help much appreciated..

Views: 76

Reply to This

Replies to This Discussion

Peter,
I added my last test log HERE. I could only get her to guide me west with the fake bearing on (1). With the fake bearing off, she always wants to go east.
I looked at the code, trying to see in the navigation routines where fake bearing is applied. It's used under the AMain tab where "desired fake bearing" takes the place of "waypoint bearing". I figured if I could see how the rudder/ailerons are controlled differently (correctly) with the fake bearing, the problem could be solved. Also, under the controls tab is the heading error calculation. It may be something as simple as changing a + sign to a -. Unfortunately, I'm not a programmer and after racking my little brain trying to interpret/understand Jordi's code I'm back to where I started.
Got it, so only when you applied a 1 to the fake bearing and changed its course to WEST did it stop going EAST. I hope Jordi replies to this, its quite frustrating to be this close, but not be able to get over the last hurdle.
Hi,
it seems that I have the same problems, but my plane is going South both in rtl and in waypoint flight mode.
I use an FMA z sensor modified with 1k resistor. I think it has too high gain level, because when the plane is banking very gently, the ground station show a 80 degrees turn! Is that right?
Anyway I tryed from every direction and the plane simply turn Suth and stabilize in this direction.
Any help/solution?
Thanks
This is the problem everyone is having. Its not fixable as of now. It will take more people to post they are having similar problems for chris and jordi to act on this.

The count stands @

Bryan C.
Fefenin
Peter M.
Riccardo K.

Same exact issues for all 4 pilots...!!!!!!!

-Peter
Peter,

Please don't be rude. I know you're frustrated with your own problems, but Jordi is working hard on a new version of the code which may address these issues. And it's not true that "everyone" is having that problem. Some are, and for some RTL and Waypoints are working perfectly. So this is a configuration issue with some setups, not a core code logic problem. That's what's making it so hard to diagnose--neither Jordi nor I can reproduce the problem on our own setups.

This is an open source software project. You know the drill: it's free and created by volunteers. Collectively, we'll work it out, but your haranguing in the meantime is not helping.
Chris,

We have what 8 people now complaining, either plane goes north-east or south. You respond its not a code issue(Its configuration?????), I am not being rude. But the facts are mounting and the only response we get is - its YOUR SETUP....Well the truth of the matter is its EVERYONES setup. Outside of you, and jordi and david low. Know one else has had a successful 2.2.3 flight. Is that not unusual???? Are we all using the WRONG Setup. I know the drill chris, for sure. But I also know if my project had a code issue, or simply wasn't working I would tackle it head on until it is solved. This is DIY yes, but if the new code is not working for all who try it, that is an indication that it needs to be fixed. Read the posts....

We can't all be stupid and have in-correct setups. That is all I am saying. I know you have a full time life outside this, and jordi. I am not ragging on either of you, all I am saying is let us all acknowledge there is a serious code problem at this juncture and get everyone engaged to resolve it. My 2 cents...

-Peter
Peter,

As you know, Jordi is working hard to fix this problem. But it's hard for us because we can't replicate it (see his video effort to do so here). He's uploaded some new code that you can try to help him diagnose it.

What's rude is to suggest that we're ignoring this (as you put it: "It will take more people to post they are having similar problems for chris and jordi to act on this"). We're working as hard as we can on this and, as I said, we very much value your input and diagnostic help. Just please don't suggest that just because we haven't found the bug we're not taking this issue seriously.

Put yourself in our position: how would you fix a problem that you can't replicate? (other than doing what we're doing, which is giving people with the problem code to test)
Chris,

You are right, my wording was rude and I apologize for that. I will test jordis new code and get back to you.
Just another 2c, I haven't recognized it as flying East, but certainly after pulling the RTL GPS bind plug, my distance to home on the ground station would be just over 59000m from home... when it should be 0. So when I entered RTL mode it would try to fly away... When it's off flying east what does the distance say on the Groundstation for you lot?
Just for laugh:
in the past day, trying to make my system working, I noticed that without gps connected (I had trouble with it, do you remember?) the plane actual position showed in the ground station was in the Atlantic (I don't remember exactly, but I think it was 0 lat 0 lon). Now my plane is going South (from Switzerland) other planes from the states are going East. Are they not searching to reach 0 lat, 0 lon?
Just for laugh...

Regards
Hmm. So you think that the bug is that for some reason in some situations, the code think waypoint 1 (or home) is 0.0? Intersting.

That's easy to check. Just put a println in the code and display the Waypoint 1 values.
Have tested this many times, the waypoint CRS and Distance to waypoint from the ardupilot are showing proper for getting to the waypoint. If I manually fly the plane to the waypoint, it decreases and you can see this via the Ground Station and via telemetry in-coming.

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

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service