diff --git a/docs.md b/docs.md index 3022eb8..31ce98b 100644 --- a/docs.md +++ b/docs.md @@ -283,3 +283,86 @@ SensorData = { } } ``` + +The member variables of the Thruster table are as follows (using some example thrusters): + +```lua +Thrusters = { + gyroscopic_propeller_bearing_0 = { + type = "rotator", + name = "gyroscopic_propeller_bearing_0", + thruster = nil, + transmission = nil, + affectVectors = { + lateral = { + yaw = nil, + pitch = "up", + roll = "star", + }, + angular = { + x = nil, + y = "up", + z = nil + } + }, + power = nil + }, + gyroscopic_propeller_bearing_1 = { + type = "rotator", + name = "gyroscopic_propeller_bearing_1", + thruster = nil, + transmission = nil, + affectVectors = { + lateral = { + yaw = nil, + pitch = "up", + roll = "port", + }, + angular = { + x = nil, + y = "up", + z = nil + } + }, + power = nil + }, + gyroscopic_propeller_bearing_2 = { + type = "rotator", + name = "gyroscopic_propeller_bearing_2", + thruster = nil, + transmission = nil, + affectVectors = { + lateral = { + yaw = nil, + pitch = "down", + roll = "port", + }, + angular = { + x = nil, + y = "up", + z = nil + } + }, + power = nil + }, + gyroscopic_propeller_bearing_3 = { + type = "rotator", + name = "gyroscopic_propeller_bearing_3", + thruster = nil, + transmission = nil, + affectVectors = { + lateral = { + yaw = nil, + pitch = "down", + roll = "star", + }, + angular = { + x = nil, + y = "up", + z = nil + } + }, + power = nil + } +} +```