aboutsummaryrefslogtreecommitdiff
path: root/calibrate_client.c
diff options
context:
space:
mode:
authorJoshua Allen <axlecrusher@gmail.com>2017-03-08 20:10:22 -0500
committerJoshua Allen <axlecrusher@gmail.com>2017-03-08 20:10:22 -0500
commit4384e9850016e2117fda6e50499afec797993002 (patch)
tree6eae1ca4c09e839c8acbabe3f4be7f5ef204c295 /calibrate_client.c
parentb13b5f9af2c2803f919d8897cd3ed5d24831cad3 (diff)
parent5eeecb19eb884baf4781280a9c8e1c394fe9c669 (diff)
downloadlibsurvive-4384e9850016e2117fda6e50499afec797993002.tar.gz
libsurvive-4384e9850016e2117fda6e50499afec797993002.tar.bz2
Merge branch 'master' of github.com:cnlohr/libsurvive
Diffstat (limited to 'calibrate_client.c')
-rw-r--r--calibrate_client.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/calibrate_client.c b/calibrate_client.c
index 9867d67..b15b9db 100644
--- a/calibrate_client.c
+++ b/calibrate_client.c
@@ -75,15 +75,14 @@ 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 )
+ if( 0 )
{
- 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 );
}
}