Skip to content

Commit

Permalink
Raw.
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarenerd committed Jun 17, 2016
1 parent c366072 commit 498dbc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MadgwickAHRS/CoreMotionMadgwickTestDriver.m
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ - (void)start
[_madgwickSensorFusion updateWithGyroscopeX:(float)[motion rotationRate].x
gyroscopeY:(float)[motion rotationRate].y
gyroscopeZ:(float)[motion rotationRate].z
accelerometerX:(float)[motion gravity].x
accelerometerY:(float)[motion gravity].y
accelerometerZ:(float)[motion gravity].z
accelerometerX:(float)[motion gravity].x * -1.0f
accelerometerY:(float)[motion gravity].y * -1.0f
accelerometerZ:(float)[motion gravity].z * -1.0f
magnetometerX:(float)[motion magneticField].field.x
magnetometerY:(float)[motion magneticField].field.y
magnetometerZ:(float)[motion magneticField].field.z];
Expand Down

0 comments on commit 498dbc0

Please sign in to comment.