|
@@ -249,11 +249,11 @@ void loop() {
|
|
sensor_last_sent = current_time;
|
|
sensor_last_sent = current_time;
|
|
sendOSC_3f("/gyro", gyroX, gyroY, gyroZ);
|
|
sendOSC_3f("/gyro", gyroX, gyroY, gyroZ);
|
|
sendOSC("/gyro_smooth", gyro_rar.getValue()-2047);
|
|
sendOSC("/gyro_smooth", gyro_rar.getValue()-2047);
|
|
- sendOSC_3f("/acc", accX, accY, accZ);
|
|
|
|
- sendOSC_3f("/ahrs", yaw_ahrs, pitch_ahrs, roll_ahrs);
|
|
|
|
- sendOSC_3f("/ahrs_fixed", yaw, pitch, roll);
|
|
|
|
- sendOSC_3f("/ahrs_smooth", yaw_smooth.get(), pitch_smooth.get(), roll_smooth.get());
|
|
|
|
- sendOSC_3f("/ahrs_rar",yaw_rar.getValue()/10., pitch_rar.getValue()/10., roll_rar.getValue()/10.);
|
|
|
|
|
|
+ //sendOSC_3f("/acc", accX, accY, accZ);
|
|
|
|
+ // sendOSC_3f("/ahrs", yaw_ahrs, pitch_ahrs, roll_ahrs);
|
|
|
|
+ // sendOSC_3f("/ahrs_fixed", yaw, pitch, roll);
|
|
|
|
+ // sendOSC_3f("/ahrs_smooth", yaw_smooth.get(), pitch_smooth.get(), roll_smooth.get());
|
|
|
|
+ sendOSC_3f("/ahrs",yaw_rar.getValue()/10., pitch_rar.getValue()/10., roll_rar.getValue()/10.);
|
|
}
|
|
}
|
|
|
|
|
|
//update LCD
|
|
//update LCD
|