diff options
author | ultramn <dchapm2@umbc.edu> | 2017-03-08 21:03:46 -0800 |
---|---|---|
committer | ultramn <dchapm2@umbc.edu> | 2017-03-08 21:03:46 -0800 |
commit | 91598e1806efce519d76c667954fd4c8da74e82e (patch) | |
tree | cd68d7b3f20b3ca09881b418f92cc06e65d906c6 /data_recorder.c | |
parent | 3fa72f4b765457ce369d1aa1495dc36c90a94ebf (diff) | |
parent | 5629fd458d1de11f604248422473291e434c289f (diff) | |
download | libsurvive-91598e1806efce519d76c667954fd4c8da74e82e.tar.gz libsurvive-91598e1806efce519d76c667954fd4c8da74e82e.tar.bz2 |
Merge branch 'master' of https://github.com/cnlohr/libsurvive
Diffstat (limited to 'data_recorder.c')
-rw-r--r-- | data_recorder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data_recorder.c b/data_recorder.c index 951f234..5504d42 100644 --- a/data_recorder.c +++ b/data_recorder.c @@ -77,15 +77,15 @@ void my_light_process( struct SurviveObject * so, int sensor_id, int acode, int } -void my_imu_process( struct SurviveObject * so, int16_t * accelgyro, uint32_t timecode, int id ) +void my_imu_process( struct SurviveObject * so, int mask, FLT * accelgyro, uint32_t timecode, int id ) { - survive_default_imu_process( so, accelgyro, timecode, id ); + survive_default_imu_process( so, mask, accelgyro, timecode, id ); //return; //if( so->codename[0] == 'H' ) if( 1 ) { - printf( "I %s %d %d %d %d %d %d %d %d\n", so->codename, timecode, accelgyro[0], accelgyro[1], accelgyro[2], accelgyro[3], accelgyro[4], accelgyro[5], id ); + printf( "I %s %d %f %f %f %f %f %f %d\n", so->codename, timecode, accelgyro[0], accelgyro[1], accelgyro[2], accelgyro[3], accelgyro[4], accelgyro[5], id ); } } |