We are working with a 9 dof arduimu. we uploaded the AHRS program in arduino uno board and connected the uno board's receive pin to imu's transmit pin. but we are getting error values like :
!ERR: Mag data
!ANG:6.67,-19.99,-1.80
!ERR: Acc data
!ANG:6.51,-19.78,-1.94
!ERR: Acc data
!ANG:6.52,-19.84,-1.86
!ERR: Acc data
!ANG:6.51,-19.88,-1.79
!ERR: Acc data
!ANG:6.46,-19.83,-1.78
!ERR: Acc data
!ANG:6.34,-19.71,-1.88
!ERR: Acc data
!ERR: Mag data
!ANG:6.36,-19.79,-1.78
!ERR: Acc data
!ANG:6.16,-19.52,-1.95
!ERR: Acc data
!ANG:6.11,-19.48,-1.94
!ERR: Acc data
!ANG:6.13,-19.56,-1.82
!ERR: Acc data
!ANG:6.10,-19.58,-1.75
!ERR: Acc data
!ANG:6.11,-19.66,-1.63
!ERR: Acc data
!ERR: Mag data
!ANG:6.12,-19.72,-1.56
!ERR: Acc data
!ANG:6.00,-19.57,-1.66
!ERR: Acc data
!ANG:5.91,-19.51,-1.70
!ERR: Acc data
and the pitch roll yaw values are simply changing even if the imu is kept stationary. what possibly can be wrong?
Arduimu
- techsupport
- Site Admin
- Posts: 210
- Joined: Sat Mar 03, 2012 2:32 pm
Re: Arduimu
Hi friend;
Sorry for late. Do you define the right hardware in the AHRS program ?
Also the sensor need to be calibrated. please refer to this passage https://dev.qu.tu-berlin.de/projects/sf ... i/Tutorial chapter 5: Standard
calibration.Please try to change the parameter in the section of SENSOR CALIBRATION in the program.
Regards;
techsupport
Sorry for late. Do you define the right hardware in the AHRS program ?
Code: Select all
//#define HW__VERSION_CODE 10736 // SparkFun "9DOF Razor IMU" version "SEN-10736" (HMC5883L magnetometer)
Also the sensor need to be calibrated. please refer to this passage https://dev.qu.tu-berlin.de/projects/sf ... i/Tutorial chapter 5: Standard
calibration.Please try to change the parameter in the section of SENSOR CALIBRATION in the program.
Regards;
techsupport
Your real trustworthy partner in China!!
Email: forum@geeetech.com
Email: forum@geeetech.com