Sb forum speech.png DiscordLink.png FacebookLink.png RedditLink.png SteamLink.png TwitterLink.png YoutubeLink.png

Difference between revisions of "Gyroscope"

From Starbase wiki
Jump to navigation Jump to search
Line 65: Line 65:
! '''GyroCalibrate'''
! '''GyroCalibrate'''
|  Reset gyroscope and set a 0-position
|  Reset gyroscope and set a 0-position
|  
| boolean
|-
|-
! '''GyroPitch'''
! '''GyroPitch'''

Revision as of 01:00, 5 April 2024

Русский
Gyroscope.png
Gyroscope
Type Controls
Function Tracks device rotation

Size 48x48x24 cm
Mass 338.0 kg
Volume 38.951 kv

Primary material Bastium
Composition

Gyroscope devices are used to track device rotation over yaw, pitch and roll axes relative to a calibrated 0-pose. Calibrate 0-pose by setting GyroCalibrateId to 1, it will automatically return to 0 after calibration is complete.

Due to the device's construction, roll delta values are limited to a range of [-90,90] and rolling further than that will cause the yaw and pitch values to change.

Basic information

  • Gyroscope resets after each ship reloading/rehosting
  • Gyroscope can work without electricity

Device fields

YOLOL field description range
GyroCalibrate Reset gyroscope and set a 0-position boolean
GyroPitch Current charge level of the battery -180 to 180
GyroYaw Maximum charge level of the battery -180 to 180
GyroRoll Current charge level of the battery -90 to 90

To learn more about the usage of fields, consult these wiki pages:

Cookies help us deliver our services. By using our services, you agree to our use of cookies.