Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Absolut lean angle instead of degree/second

edited March 9 in Feature requests
Hi aol,
I was looking into logging device lean angle for a motorcycle and apparently racechrono reports on lean angle speed (degree/second). Would it be possible to report on absolute lean angle in degree instead? This would be much more useful for motorbike track analysis.
Thanks

Comments

  • That's on my TO-DO list. There is theoretical calculated lean angle in GPS channels, but I guess you're after real value.
  • Yes and I've played around with the device lean angle, it seams pretty accurate. I want to fix the phone horizontally on the bike and leverage that if possible. Any ETA? Is it far down the list?
  • aolaol
    edited March 9
    My plan is to write my own algorithm for that, and not to use what the device is reporting. I'll start testing my own algorithms during when season begins, but I think it needs quite a bit of work. So the ETA is 'depends'... But it is high on the list.
  • I understand. When you say own algorithm, do you mean getting the raw data from device gyroscope and analyse it yourself? Isn't that data outputted in a standard format?
  • Gyroscopes output in degrees/second and you have to do a sensor merge with magnetometer. Devices do this themselves too but that algorithm is not meant for vehicle physics, so they will give false readings on certain situations.
  • Ok good to know.
    I'll monitor the chanlogs, thanks for the feedback
  • My microcontroller based GPS + logger I use Sebastian Madgwick's Gyro + accelerometer + magnetometer algorithm and returning pitch, yaw, roll in RC3$ values for logging in RC. I won't be testing until riding season starts as well.

    My accelerometer has a built in IMU system but I had issues utilizing it and found it was actually faster to get raw values and have the microcontroller do the calcs.

    @aol: why do devices not return the correct readings on vehicles? Wouldn't the algorithms all basically be the same?

    Jeff
  • aolaol
    edited 1:20PM
    @J_D_W mainly because on motorcycles you cannot use gravity to compensate gyro drift, as gravity always points down. This is not saying that I would be expert on the matter, so I'll be happy to research any papers / algorithms / etc you have for me. I'll be looking at the one you named for sure!
Sign In or Register to comment.