Leonardo Garberoglio
• Female
• Villa Ramallo, Buenos Aires
• Argentina

259 members

Leonardo Garberoglio's Discussions

DCM matrix implementation problem

Started this discussion. Last reply by Harry Jan 9, 2014.

Hello all, I'm Leonardo from argentina. I'm implementing dcm algorithm on an lpc1769 and can't make it work.I follow this order:I test my gyro, obtain raw data, calculate standar deviation on each…Continue

Leonardo Garberoglio's Page

Profile Information

I'm an electronic engeneer from Argentina
I'm interestin on DIY autopilot
Hometown:
Villa Ramallo

At 10:16am on January 4, 2014,
T3
William Premerlani
said…

Leonardo,

I have only glanced at your discussion, but one possibility that comes to mind is gyro scale factor.

The DCM integration step is looking for rotation in radians. To get that, you multiply the gyro outputs in radians per second times the time step in seconds.

For example, suppose rotation is 1 radian per second. That would be 180/pi, or about 57 degrees per second. Then, suppose your update rate is 50 times per second, time step is 0.02 seconds, so you would multiply the gyro rate in radians per second times 0.02.

Best regards,

Bill

At 10:51am on January 4, 2014, Leonardo Garberoglio said…

William this is the key:

The DCM integration step is looking for rotation in RADIANS. To get that, you multiply the gyro outputs in RADIANS per second times the time step in seconds.

Thank you very much!!

Join DIY Drones

1

2

3

4

5

6

7

8

9

10

Groups

163 members

3 members

1470 members

631 members

• ArduBoat User Group

259 members

Season Two of the Trust Time Trial (T3) Contest
A list of all T3 contests is here. The current round, the Vertical Horizontal one, is here