Hi everyone, I have a little project with ArduIMUV3.The point is to detect a complete revolution 360° on roll, pitch and yaw axis, and lit up one of the leds.I can't find where is the part in ArduIMU…Continue
I have a project with an arduIMU V3 and the aim is the following:
Detect a Full Rotation around Yaw, Yaw45, Pitch, Roll Axis, and standing Flat,The software should set on the corresponding LED:No Moves (standing flat) =…"
"Hi Al Toma,
I managed to detect the full Yaw rotation, and to lit the led with correct timing with the code attached.
But I am still struggling with the software interruption feature...I don't know why it does not fire.
"Hi Al Toma,
What I mean by initial values are the Yaw/Pitch/Roll values at calibration whatever the attitude of the IMU is, if it does not point north for example:
Yaw: -167.22 Pitch: 0.88 Roll: -0.33I am working on the FreeIMU_Yaw_Pitch_Roll code…"
"I'm not too clear what you mean about getting the "initial values". Assuming the sensors are calibrated and the board is laying flat and the usb pins on the board are pointing north, you should be seeing 0 degrees in…"
"Thanks for your answer again al Toma,
I am not sure but I think FreeIMU gives attitude by calculating Quaternions, which would get rid of Gimbal lock then, anyway that is not very important for my application as I only want to detect 5 types of…"
"I'm not familiar with the FreeIMU s/w. From what little I know, you can calculate the orientation using Euler angles (DCM algorithm) or Quaternions. As I mentioned above, getting the Euler angles from a DCM matrix involves…"
"Hi Al Toma,
Thanks for your answer, I am now trying with FreeIMU software, does this one also suffer Gimbal lock?
Do you have any idea of an algorithm to detect a complete revolution on each axis?
"I'm not certain but I think the DCM algorithm only gives you -90 to +90 degrees in pitch; -180 to 180 degrees in roll and yaw. The algorithm suffers from Gimbal Lock because in the pitch calculation there is a sin or cos function of…"
Hi everyone, I have a little project with ArduIMUV3.The point is to detect a complete revolution 360° on roll, pitch and yaw axis, and lit up one of the leds.I can't find where is the part in ArduIMU 1.9 code that gives the initial values of roll pitch and yaw, I would like to use these as my initial conditions to start counting a rotation on each axis.I have tried and adapted this code found on the web for yaw, add it to the DCM file and call the function in arduimu file but no chance, also…See More