space_ex v0.4.0 SpaceEx.SpaceCenter.Wheel

A wheel.

Includes landing gear and rover wheels. Obtained by calling SpaceEx.SpaceCenter.Part.wheel/2. 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

Link to this function auto_friction_control(conn, this)

Whether automatic friction control is enabled.

Link to this function brakes(conn, this)

The braking force, as a percentage of maximum, when the brakes are applied.

Link to this function broken(conn, this)

Whether the wheel is broken.

Link to this function deflection(conn, this)

Current deflection of the wheel.

Link to this function deployable(conn, this)

Whether the wheel is deployable.

Link to this function deployed(conn, this)

Whether the wheel is deployed.

Link to this function drive_limiter(conn, this)

Manual setting for the motor limiter.

Only takes effect if the wheel has automatic traction control disabled. A value between 0 and 100 inclusive.

Link to this function grounded(conn, this)

Whether the wheel is touching the ground.

Link to this function has_brakes(conn, this)

Whether the wheel has brakes.

Link to this function has_suspension(conn, this)

Whether the wheel has suspension.

Link to this function manual_friction_control(conn, this)

Manual friction control value.

Only has an effect if automatic friction control is disabled. A value between 0 and 5 inclusive.

Link to this function motor_enabled(conn, this)

Whether the motor is enabled.

Link to this function motor_inverted(conn, this)

Whether the direction of the motor is inverted.

Link to this function motor_output(conn, this)

The output of the motor.

This is the torque currently being generated, in Newton meters.

Link to this function motor_state(conn, this)

Whether the direction of the motor is inverted.

Link to this function part(conn, this)

The part object for this wheel.

Link to this function powered(conn, this)

Whether the wheel is powered by a motor.

Link to this function radius(conn, this)

Radius of the wheel, in meters.

Link to this function repairable(conn, this)

Whether the wheel is repairable.

Link to this function set_auto_friction_control(conn, this, value)

Whether automatic friction control is enabled.

Link to this function set_brakes(conn, this, value)

The braking force, as a percentage of maximum, when the brakes are applied.

Link to this function set_deployed(conn, this, value)

Whether the wheel is deployed.

Link to this function set_drive_limiter(conn, this, value)

Manual setting for the motor limiter.

Only takes effect if the wheel has automatic traction control disabled. A value between 0 and 100 inclusive.

Link to this function set_manual_friction_control(conn, this, value)

Manual friction control value.

Only has an effect if automatic friction control is disabled. A value between 0 and 5 inclusive.

Link to this function set_motor_enabled(conn, this, value)

Whether the motor is enabled.

Link to this function set_motor_inverted(conn, this, value)

Whether the direction of the motor is inverted.

Link to this function set_steering_enabled(conn, this, value)

Whether the wheel steering is enabled.

Link to this function set_steering_inverted(conn, this, value)

Whether the wheel steering is inverted.

Link to this function set_traction_control(conn, this, value)

Setting for the traction control.

Only takes effect if the wheel has automatic traction control enabled. A value between 0 and 5 inclusive.

Link to this function set_traction_control_enabled(conn, this, value)

Whether automatic traction control is enabled.

A wheel only has traction control if it is powered.

Link to this function slip(conn, this)

Current slip of the wheel.

Link to this function state(conn, this)

The current state of the wheel.

Link to this function steerable(conn, this)

Whether the wheel has steering.

Link to this function steering_enabled(conn, this)

Whether the wheel steering is enabled.

Link to this function steering_inverted(conn, this)

Whether the wheel steering is inverted.

Link to this function stress(conn, this)

Current stress on the wheel.

Link to this function stress_percentage(conn, this)

Current stress on the wheel as a percentage of its stress tolerance.

Link to this function stress_tolerance(conn, this)

Stress tolerance of the wheel.

Link to this function suspension_damper_strength(conn, this)

Suspension damper strength, as set in the editor.

Link to this function suspension_spring_strength(conn, this)

Suspension spring strength, as set in the editor.

Link to this function traction_control(conn, this)

Setting for the traction control.

Only takes effect if the wheel has automatic traction control enabled. A value between 0 and 5 inclusive.

Link to this function traction_control_enabled(conn, this)

Whether automatic traction control is enabled.

A wheel only has traction control if it is powered.