Servers by jDrones

Plane doesnt go to waypoints


(Artem Skorsky) #1

Hi,

I have uploaded mission in Mission palnner. i made auto take off, airplane always goes straight. I changed mode to FBWA and take the airplane back over the waypoint , then i switched to AUTO mode again , again it goes straight, i try to change heading by transmitter but again goes back to latest heading after switching to AUTO mode. I use latest Arduplane firmware.

I many times but result is the same, after uploading waypoints , i read waypoints from airplane, everything is correct.

log file here https://drive.google.com/open?id=0Bx3FmrXnSD0lMHJNZDM3d1FQOFU

any help appreciated


(Hunt0r) #2

Hi, I’m looking at your log. It looks like your plane was never in Auto mode… MODE.ModeNum never goes to 10. (which I believe is AUTO?, that info is in defines.h) It seems the plane was in Stabilize mode (Mode 2) when it armed, and then FBWA (Mode 5) for what seems to be takeoff, then Stabilize mode (Mode 2) for ~70sec while climbing in altitude. (I think this was your first post-takeoff “flight” portion)

At ~200 sec in the log, something goes odd… I haven’t looked at all of it. But at 208 sec, a Throttle Failsafe causes the plane to first circle (Mode=1), then RTL (Mode=11). Beyond this, I see Mode 8 (AutoTune), Mode 2 (Stabilize), Mode 5 (FBWA), and Mode 0 (Manual) at several portions in the log. Manual is the final mode, I’m guessing you used this to bring it home and land.

This seems to contradict what you said happened in your post. (Putting repeatedly into AUTO and FBWA) Did you perhaps upload the wrong logfile?


(Artem Skorsky) #3

Hi , probably i uploaded wrong log. but I also solved the problem… Problem was barometer. it was covered with tape and it was showing -700 something, and when i make auto take-off, always wanted to achive this altitude and it was going straight. so i removed the tape, baro shows correct, it flew perfect… Thnk you very much