Hello all.

1st of all, Thanks to all the people that participate and improve the Ardupilot project.

I have tried all the code posted since 2.0 and in all the versions I try, I found that when in mode MANUAL the servos movement are fluid and continuous   following the movement of the sticks in the radio.

But when I select the Stabilize mode, the movement of the servos due to the input of the arduimu (or the IR sensor) is fluid and smooth, but if I input some command using the Tx sticks, then the servos movement become  coarse and jumpy and sometimes doesn't reflect the stick position.

This is true also for channer3 (motor) and I already change the wire from pin 13 to pin 11 (and  change also the pin# in the code)

Did this happen also with your setups, jerky movements of the servos following your inputs in the Rc Tx but smooth movement following arduimu/ir sensor corrections??

How this reflects when the model is in the air flying?


 

Views: 27

Reply to This

Replies to This Discussion

I think most of what you are seeing is due to the radio input filter. Due to the way we capture the input signals we apply some fairly heavy filtering. This seems to be necessary for some radio types but not for others. We left it in pretty heavy - better slow response than glitchy. If you want to see how it behaves for you with less filtering look in radio.pde. There are some comments in there that would help you change the filtering.
Thanks Doug,

I try to change the filtering changing the parameters .8 and .1 in these sentences (ch1 and ch2):
ch2_temp = (float)ch2_temp *.8 + (float)timer2diff *.1;

changed to:

ch2_temp = (float)ch2_temp *.9 + (float)timer2diff *.05;

The servo movement become smoother but slow changing position.

I try other values but that only gave no movement of the servos with the stick input when in stabilize or RTL (the two modes I want to use in my models), even the arduimu was unable to move the servos, odd.

Is this parameters the right ones to change in radio.pde in order to improve the smoothness of the servos when in stabilize??

I try to find some info about changing the filtering in radio.pde but has no luck so far.
I manage to change the filtering of the radio imput (after all a easy task once we understand the code).

I have now a smooth servo movement when in stabilize mode but only if I am really gentle with the Tx sticks.

If I advance rapidly the sticks, the servos just freeze , they advance to the right position if I move gently the stick (1 click is enough).

The FBW mode continues not to work as it should, the throttle channel (ch3) work well, but ch1 work very badly (almost no movement) and ch2 work worst than in stabilize mode.

Any tips to improve the FBW behaviour and fine tune the stabilize mode?

Thanks in advance.

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

  • X8

    X8

    130 members

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service