Detailed Description
HiTechnic Gyroscopic Sensor
Function Documentation
float HTGYROreadCal |
( |
tSensors |
link ) |
|
Retrieve the current offset for the gyro
- Parameters:
-
muxsensor | the SMUX sensor port number |
- Returns:
- the offset value for the gyro
Definition at line 187 of file hitechnic-gyro.h.
Read the value of the gyro
- Parameters:
-
muxsensor | the SMUX sensor port number |
- Returns:
- the value of the gyro
Definition at line 89 of file hitechnic-gyro.h.
float HTGYROreadRot |
( |
tSensors |
link ) |
|
void HTGYROsetCal |
( |
tMUXSensor |
muxsensor, |
|
|
int |
offset |
|
) |
| |
Override the current offset for the gyro manually
- Parameters:
-
muxsensor | the SMUX sensor port number |
offset | the new offset to be used |
Definition at line 165 of file hitechnic-gyro.h.
void HTGYROsetCal |
( |
tSensors |
link, |
|
|
int |
offset |
|
) |
| |
Override the current offset for the gyro manually
- Parameters:
-
link | the HTGYRO port number |
offset | the new offset to be used |
Definition at line 153 of file hitechnic-gyro.h.
float HTGYROstartCal |
( |
tSensors |
link ) |
|
Calibrate the gyro by calculating the average offset of 50 raw readings.
- Parameters:
-
muxsensor | the SMUX sensor port number |
- Returns:
- the new offset value for the gyro
Definition at line 129 of file hitechnic-gyro.h.
Variable Documentation
Initial value: {{620.0, 620.0, 620.0, 620.0},
{620.0, 620.0, 620.0, 620.0},
{620.0, 620.0, 620.0, 620.0},
{620.0, 620.0, 620.0, 620.0}}
Definition at line 62 of file hitechnic-gyro.h.