space_ex v0.8.0 SpaceEx.SpaceCenter.Wheel
A wheel.
Includes landing gear and rover wheels.
Obtained by calling SpaceEx.SpaceCenter.Part.wheel/1.
Can be used to control the motors, steering and deployment of wheels, among other things.
Link to this section Summary
Functions
Whether automatic friction control is enabled
The braking force, as a percentage of maximum, when the brakes are applied
Whether the wheel is broken
Current deflection of the wheel
Whether the wheel is deployable
Whether the wheel is deployed
Manual setting for the motor limiter
Whether the wheel is touching the ground
Whether the wheel has brakes
Whether the wheel has suspension
Manual friction control value
Whether the motor is enabled
Whether the direction of the motor is inverted
The output of the motor
Whether the direction of the motor is inverted
The part object for this wheel
Whether the wheel is powered by a motor
Radius of the wheel, in meters
Whether the wheel is repairable
Whether automatic friction control is enabled
The braking force, as a percentage of maximum, when the brakes are applied
Whether the wheel is deployed
Manual setting for the motor limiter
Manual friction control value
Whether the motor is enabled
Whether the direction of the motor is inverted
Whether the wheel steering is enabled
Whether the wheel steering is inverted
Setting for the traction control
Whether automatic traction control is enabled
Current slip of the wheel
The current state of the wheel
Whether the wheel has steering
Whether the wheel steering is enabled
Whether the wheel steering is inverted
Current stress on the wheel
Current stress on the wheel as a percentage of its stress tolerance
Stress tolerance of the wheel
Suspension damper strength, as set in the editor
Suspension spring strength, as set in the editor
Setting for the traction control
Whether automatic traction control is enabled
Link to this section Functions
Whether automatic friction control is enabled.
Returns: true or false
The braking force, as a percentage of maximum, when the brakes are applied.
Returns: a low-precision decimal
Whether the wheel is broken.
Returns: true or false
Current deflection of the wheel.
Returns: a low-precision decimal
Whether the wheel is deployable.
Returns: true or false
Whether the wheel is deployed.
Returns: true or false
Manual setting for the motor limiter.
Only takes effect if the wheel has automatic traction control disabled. A value between 0 and 100 inclusive.
Returns: a low-precision decimal
Whether the wheel is touching the ground.
Returns: true or false
Whether the wheel has brakes.
Returns: true or false
Whether the wheel has suspension.
Returns: true or false
Manual friction control value.
Only has an effect if automatic friction control is disabled. A value between 0 and 5 inclusive.
Returns: a low-precision decimal
Whether the motor is enabled.
Returns: true or false
Whether the direction of the motor is inverted.
Returns: true or false
The output of the motor.
This is the torque currently being generated, in Newton meters.
Returns: a low-precision decimal
Whether the direction of the motor is inverted.
Returns: a Elixir.SpaceEx.SpaceCenter.MotorState value in atom form
The part object for this wheel.
Returns: a reference to a SpaceEx.SpaceCenter.Part object
Whether the wheel is powered by a motor.
Returns: true or false
Radius of the wheel, in meters.
Returns: a low-precision decimal
Whether the wheel is repairable.
Returns: true or false
Whether automatic friction control is enabled.
Returns: :ok
The braking force, as a percentage of maximum, when the brakes are applied.
Returns: :ok
Whether the wheel is deployed.
Returns: :ok
Manual setting for the motor limiter.
Only takes effect if the wheel has automatic traction control disabled. A value between 0 and 100 inclusive.
Returns: :ok
Manual friction control value.
Only has an effect if automatic friction control is disabled. A value between 0 and 5 inclusive.
Returns: :ok
Whether the motor is enabled.
Returns: :ok
Whether the direction of the motor is inverted.
Returns: :ok
Whether the wheel steering is enabled.
Returns: :ok
Whether the wheel steering is inverted.
Returns: :ok
Setting for the traction control.
Only takes effect if the wheel has automatic traction control enabled. A value between 0 and 5 inclusive.
Returns: :ok
Whether automatic traction control is enabled.
A wheel only has traction control if it is powered.
Returns: :ok
Current slip of the wheel.
Returns: a low-precision decimal
The current state of the wheel.
Returns: a Elixir.SpaceEx.SpaceCenter.WheelState value in atom form
Whether the wheel has steering.
Returns: true or false
Whether the wheel steering is enabled.
Returns: true or false
Whether the wheel steering is inverted.
Returns: true or false
Current stress on the wheel.
Returns: a low-precision decimal
Current stress on the wheel as a percentage of its stress tolerance.
Returns: a low-precision decimal
Stress tolerance of the wheel.
Returns: a low-precision decimal
Suspension damper strength, as set in the editor.
Returns: a low-precision decimal
Suspension spring strength, as set in the editor.
Returns: a low-precision decimal
Setting for the traction control.
Only takes effect if the wheel has automatic traction control enabled. A value between 0 and 5 inclusive.
Returns: a low-precision decimal
Whether automatic traction control is enabled.
A wheel only has traction control if it is powered.
Returns: true or false