mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
don't allow gyro to move user head for themselves
This commit is contained in:
parent
16bdacb8bf
commit
7d244bbd45
1 changed files with 6 additions and 2 deletions
|
@ -393,8 +393,12 @@ void reset_sensors()
|
|||
void update_pos(float frametime)
|
||||
// Using serial data, update avatar/render position and angles
|
||||
{
|
||||
float measured_pitch_rate = serialPort.getRelativeValue(PITCH_RATE);
|
||||
float measured_yaw_rate = serialPort.getRelativeValue(YAW_RATE);
|
||||
// float measured_pitch_rate = serialPort.getRelativeValue(PITCH_RATE);
|
||||
// float measured_yaw_rate = serialPort.getRelativeValue(YAW_RATE);
|
||||
|
||||
float measured_pitch_rate = 0;
|
||||
float measured_yaw_rate = 0;
|
||||
|
||||
//float measured_lateral_accel = serialPort.getRelativeValue(ACCEL_X);
|
||||
//float measured_fwd_accel = serialPort.getRelativeValue(ACCEL_Z);
|
||||
|
||||
|
|
Loading…
Reference in a new issue