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
 
(10 intermediate revisions by 2 users not shown)
Line 3: Line 3:
}}{{SB Infobox Begin
}}{{SB Infobox Begin
|{{SB Infobox Header
|{{SB Infobox Header
  |image=[[File:Gyroscope.png|thumb]]
  |image=[[File:GyroPNG.png]]
  |factionLogo=
  |factionLogo=
  |caption=
  |caption=
Line 28: Line 28:
  |arkanium=15%
  |arkanium=15%
  |bastium=30%
  |bastium=30%
  |Bastonium=35%
  |bastonium=35%
  |charodium=
  |charodium=
  |corazium=
  |corazium=
Line 39: Line 39:
  |lukium=
  |lukium=
  |merkerium=
  |merkerium=
  |nhurgite=80%
  |nhurgite=
  |oninum=
  |oninum=
  |surtrite=
  |surtrite=
Line 48: Line 48:
  |xhalium=
  |xhalium=
}}
}}
}}<section begin=summary/>A battery is a storage device for electrical energy, and currently is available in just one size. This battery holds up to 10,000 energy units and has two sockets on opposite sides for ease-of-use, but are also semi-modular and can share connections with batteries placed immediately adjacent to them. Small ships can run entirely on batteries, but most ships use them as a buffer to handle periods of higher energy drain while their [[Generator (Assembly)|generators]] are warming up. Batteries with energy stored tend to explode when damaged, so designers should be careful about how many batteries they place near one another. Power drain and recharge is automatically balanced between all batteries on the network if all batteries have the same priority. It is common to see ships with an emergency buffer using the priority field to keep vital systems running in the case of an unintended shutdown.<section end=summary/>
}}<section begin=summary/>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.<section end=summary/>
 
== Basic information ==
* Gyroscope resets after each ship reloading/rehosting
* Gyroscope can work without electricity
 
== Device fields ==
== Device fields ==


Line 56: Line 63:
! range
! range
|-
|-
! '''BatteryPriority'''
! '''GyroCalibrate'''
| Batteries with a lower priority get used first
| Reset gyroscope and set a 0-position
|  
| 0 - 1
|-
! '''GyroPitch'''
|  Pitch offset
| -180 to 180
|-
|-
! '''StoredBatteryPower'''
! '''GyroYaw'''
| Current charge level of the battery
| Yaw offset
| 0 - 10 000
| -180 to 180
|-
|-
! '''MaxBatteryPower'''
! '''GyroRoll'''
| Maximum charge level of the battery
| Roll offset
| 10 000
| -90 to 90
|}
|}
To learn more about the usage of fields, consult these wiki pages:
To learn more about the usage of fields, consult these wiki pages:
Line 74: Line 85:




[[Category:Devices and machines|Battery]]
[[Category:Devices and machines|Gyroscope]]

Latest revision as of 19:30, 21 April 2024

Русский
GyroPNG.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 0 - 1
GyroPitch Pitch offset -180 to 180
GyroYaw Yaw offset -180 to 180
GyroRoll Roll offset -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.