This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reset calibration
#1
The other day I found myself at sea with 'boat not level' and bad steering performance. I must have done something wrong, possibly whilst in the harbour: one of the roll or pitch values was 40 degrees off.

With sails down, I was able to report 'boat is level' and get suitable, near-zero values for roll and pitch, but sadly I was unable to redo my 2D calibration with the seastate I was in. Eventually I got into some shallows, but it took 5 full circles (in fact, I had already given up) before I got calibration age to reset. Even after that, even in flat water, the pypilot steered very badly, until after some time, and to my big relief, it suddenly all snapped into place and steered as smoothly as I have been used to for the last years. I was under the impression that a messed-up 3D calibration was preventing this procedure to succeed swiftly, and my question is now: how can I reset any calibration? What variables should I set to what value, to erase the 2D and 3D calibration if all is messed up? Thx!
Reply
#2
I really dont know but it could be a sensor glitch. This meaning the sensors for odd reason (cosmic ray? heh) start outputing strange values for a while.

Keep us posted, and for ultimate reliability have two systems that can swap... If you can take note of the raw calibration values for compass and accel, and maybe even the gyro bias. Then compare these over time. The results could help make the program smarter.

Already the driver has special logic to reset the sensors in cases where the data seems very wrong and this usually fixed the problem (so I thought) which was somewhat rare and difficult to reproduce but I was able to (by plugging/unplugging i2c enough times randomly), So although this problem should not actually ever occur.. it does but may be a different problem, or maybe the same but just not quite bad enough to trigger the reset.
Reply
#3
Somewhat related - I seem to have problems with my sensor again. I brought pypilot service down and removed all imu settings from it, then tried to get my accelerometers calibrated, but on this (spare) system it looks crooked. Never had a bad sensor - does this denote I have one? See youtube clip: this was taken after I put the machine on all 6 sides, while I continued to do so: https://photos.app.goo.gl/3oMB5n1eeaKzpvqj8
Reply
#4
Hello, I had the same problem at the beginning of my tests of Pypilot. I replaced the MPU (MPU-9250/6500/9255) and it is much better, the points are in the sphere during the calibration and the compass gives consistent values.
Reply
#5
I replaced the IMU with another one and now all accelerator calibration points are on the sphere again and the compass calibration succeeds as well. So I have concluded that when the accelerator calibration points don't land on the sphere, the IMU is bad.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)