adelphysi:
shock means bad result ,right?
No, shock is just some external force upon the system.
adelphysi:
ok lets say it is a shock , but what is appearing that is a kind of acceptable control .isnt it?
That really depends what you think is acceptable.
adelphysi:
but i have been working on this project for a very long time
Please don't take my comments the wrong way, I am not trying to discourage you!
adelphysi:
and i have made all the guy's models, the one with just a gyro (like mine) cant take off from ground with this stability!
It should be able to. The fact that it can't suggests there is some problem elsewhere (e.g. PID parameters). Note that using gyro only is often described as 'rate' or 'acro' (acrobatic) mode, and it will not autolevel or maintain a particular angle (attitude), instead it can maintain a particular rate of rotation. Google it.
adelphysi:
i think all i have done is that i reduced the the effect of control random errors by not adding them to PID
Can you explain what you mean by a control random error?
adelphysi:
lets consider that i have achieved the same result with the orginal one with just gyro ,
dont we have to ask a big quastion about PID standers.
how do you explain the result you see in the previous video?
bms001:
As I mentioned previously your PID is basically acting as if the setpoint is zero. And it looks like your control input is acting like a shock to the system, which the PID controller will then try and counteract.
I have already offered a possible explanation twice (but again, without seeing the full code it is a guess). By removing the setpoint you have implicitly made it zero, so your QC wants the rate of rotation to be zero. Your control input affects the motor speed directly - in many ways it's similar to someone hitting the QC on one side as it will cause some rotation. Because the PID setpoint is zero, the QC will try to resist this rotation to bring the actual rotation back to zero. Again, this is a guess and I'm happy to be proven wrong but without any additional information this is what I suspect is happening, and is not a good control method.
adelphysi:
but i am ready to share to public but arduino forum dosnt allow much characters
You can attach it to your post if it's too long to include in the main body.