Return to home- Ardupilot questions

Hi there,

 

I flew ardupilot for return to home in order to compare its performances with a "homemade" solution.

 

I had GPS lock before take off (I use Ublox GPS).

 

I tunned it so it does STABILIZATION very well.

However when I engage return to home, the plane just flies away, at most oscillating around pitch axis. It doesn't have ANY tendency to bank on right or left in order to return to home.

 

Questions:

 

1.) In order to tune it for return to home I see in manual that they recommend: 5) Now try RTL mode. The aircraft should come back to you. If it's flying away, increase 7-1 ("#define NAV_ROLL_P .6") by 25%. If it's still not responding enough, increase 7-2 ("#define NAV_ROLL_I .0"). If, on the other hand, the aircraft comes back to you but weaves and snakes, decrease 7-1. If that's not enough, increase 4-4 ("#define XTRACK_GAIN 00").

 

Is it neccessary to do the flight tunning for FLY BY WIRE A/B BEFORE I try to do the tunning for return to home?

I am not interested in FLY BY WIRE MODE so I would rather skip the flight tunning step for FLY BY WIRE if it is not neccessary for return to home.

 

2.) What is the effect of PITCH COMPENSATION parameter? What is its usual value for easystar airframe?

 

Thank you!

 

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • I'm having the same (or similar problem). Stabilization works and FBW works. I suspect my troubles with RTL are related to a problem I'm having in manual mode.

    In manual mode I'm getting extreme servo jitter and possibly a resetting of the ardupilot. I'm going to try flying tomorrow without ever switching in to manual mode (launching in FBW). If that fixes my RTL problem, I guess I'll start trying to figure out what is causing it.
    mode.in - This website is for sale! - Mode Resources and Information.
    This website is for sale! mode.in is your first and best source for all of the information you’re looking for. From general topics to more of what yo…
  • Thank you!
  • Developer
    Stabilization mixing has a linear response. The more stick you use the less the plane will stabilize.
  • Developer
    2: Pitch compensation is a feed forward term used to help the altitude controller in turns. It feeds pitch propotional to bank angle so that as the lift vector is tilted due to bank angle, the extra angle of attack required to maintain altitude is closely approximated by this adhoc factor. With out it the altitude controller would have a much harder time compensating.

    knowing now how it works you should be able to tweak the value to eyeball what would make sense for most cases. Big thing is just make sure the sign is correct or else it will do the opposite of help!

    -Beall
  • Just few more details: I am using Ardupilot firmware 2.7 ... shield V2...
This reply was deleted.

Activity