I tryed P, PI, PID,- filter. I couldn´t make him stable. Best I had was 2 minutes. After that the drifting of the zero point was too high and the robot goes more and more in one direction.
Seems to be that only me has this kind of problem. Perhaps my sensor was not ok. Who knows. I made same with light sensor but with ROBOTC (another program language).No problems.
I wasted so much time to get it working with gyro. I couldn´t belive that it should be so difficult.
Ofcourse, but the drifting is not linear. I had tryed to avoid the drifting by compensate. But this is not working. Finally I was reading that this kind of gyros need some filter. For example: Kallman Filter. This filter is quite tricky. Cant belive that everybody is using that kind of filter but same time say nothing about that.
PLEASE DON'T READ THIS you will die in seven days if you don't post this comment on 10 videos in the next hour. if you do, tomorrow will be the best day of your life
I tryed P, PI, PID,- filter. I couldn´t make him stable. Best I had was 2 minutes. After that the drifting of the zero point was too high and the robot goes more and more in one direction.
Seems to be that only me has this kind of problem. Perhaps my sensor was not ok. Who knows. I made same with light sensor but with ROBOTC (another program language).No problems.
I wasted so much time to get it working with gyro. I couldn´t belive that it should be so difficult.
THANKS for Reply
Backtotree 1 year ago
@Backtotree The solution is the PID tuning first the P, next D, and final the Integrator.
You dift grow because you have to correct the drift meanwhile the bot balances, so Theta=0,99*Theta+0,01*Theta_past;
Once you get It, you will see It's is very easy.
malito69 1 year ago
Ofcourse, but the drifting is not linear. I had tryed to avoid the drifting by compensate. But this is not working. Finally I was reading that this kind of gyros need some filter. For example: Kallman Filter. This filter is quite tricky. Cant belive that everybody is using that kind of filter but same time say nothing about that.
BR Backtotree
Backtotree 1 year ago
@Backtotree You only need a IIR filter like a=0,99a+0,01a' Its all.
tarribas 1 year ago
I use LabVIEW.
It´s terrible. After setting the offset, the gyro lose them after few cycles. The zero-point drift depends how big is the Ki value.
Any idea?
Backtotree 2 years ago
Its very important to stimate the bias in real time continously
tarribas 1 year ago
@Backtotree You have to understand de drift of the Gyrosensor.
malito69 1 year ago
Gyro sensor... i think
DronElektron 2 years ago
I remember when all legos were good for was to build castles. Now they can fly to the moon.
CrazyMonkey124 2 years ago
This has been flagged as spam show
PLEASE DON'T READ THIS you will die in seven days if you don't post this comment on 10 videos in the next hour. if you do, tomorrow will be the best day of your life
14Juffrey 3 years ago
is that the exelerometer senser?!
Tubajock2 3 years ago
The accelerometer is not an apropiated sensor due the amount of considerations around acceleration issues of the dynamic problem.
My recomendation is the GyroSensor.
malito69 3 years ago
Witch Software do you use plz answer me I am lost
tobias94530 3 years ago
My recomendation is RobotC or NXC.
malito69 3 years ago
wow lego came a long way i must say
MeOODK 4 years ago 2
What Language did you use?
Frog2Dude 4 years ago
RobotC, NXC or NBC any language is usefull.
malito69 3 years ago
GyroSensor is a Gyroscope sensor based in a quartz torsion (piezoelectric) wire that give us the rotation angle in one axis.
tarribas 4 years ago
What is gyro sensor and where did you get it?
kapu995 4 years ago
They're on the mindstorms website. Part number MS1040
bubbamc119 4 years ago