Virtual Robot Racing League

Developer Center

VRRL
IRobotGyroscope Interface Reference

A small rotational controller near the robots center of mass that can apply torque More...

Properties

double PitchTorqueX [get, set]
 The amount of pitch torque to apply every frame [-1 (nose down) to 1 (nose up)] More...
 
double YawTorqueY [get, set]
 The amount of yaw torque to apply every frame [-1 (nose left) to 1 (nose right)] More...
 
double RollTorqueZ [get, set]
 The amount of roll torque to apply every frame [-1 (counter clockwise) to 1 (clockwise)] More...
 
bool StabilizeSpin [get, set]
 When true, the gyroscope will ignore the other torque values and just try to stop any angular momentum More...
 

Detailed Description

A small rotational controller near the robots center of mass that can apply torque

Property Documentation

◆ PitchTorqueX

double IRobotGyroscope.PitchTorqueX
getset

The amount of pitch torque to apply every frame [-1 (nose down) to 1 (nose up)]

◆ RollTorqueZ

double IRobotGyroscope.RollTorqueZ
getset

The amount of roll torque to apply every frame [-1 (counter clockwise) to 1 (clockwise)]

◆ StabilizeSpin

bool IRobotGyroscope.StabilizeSpin
getset

When true, the gyroscope will ignore the other torque values and just try to stop any angular momentum

◆ YawTorqueY

double IRobotGyroscope.YawTorqueY
getset

The amount of yaw torque to apply every frame [-1 (nose left) to 1 (nose right)]