mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 09:48:44 +02:00
revert last change to ignore position changes from self-gyro
This commit is contained in:
parent
7d244bbd45
commit
2ab58e00ca
1 changed files with 2 additions and 5 deletions
|
@ -393,11 +393,8 @@ void reset_sensors()
|
||||||
void update_pos(float frametime)
|
void update_pos(float frametime)
|
||||||
// Using serial data, update avatar/render position and angles
|
// Using serial data, update avatar/render position and angles
|
||||||
{
|
{
|
||||||
// float measured_pitch_rate = serialPort.getRelativeValue(PITCH_RATE);
|
float measured_pitch_rate = serialPort.getRelativeValue(PITCH_RATE);
|
||||||
// float measured_yaw_rate = serialPort.getRelativeValue(YAW_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_lateral_accel = serialPort.getRelativeValue(ACCEL_X);
|
||||||
//float measured_fwd_accel = serialPort.getRelativeValue(ACCEL_Z);
|
//float measured_fwd_accel = serialPort.getRelativeValue(ACCEL_Z);
|
||||||
|
|
Loading…
Reference in a new issue