Communications#

class SpaceCenter.Comms#

Used to interact with CommNet for a given vessel. Obtained by calling SpaceCenter.Vessel.comms.

can_communicate: boolean#

Whether the vessel can communicate with KSC.

Attribute:

Read-only, cannot be set

Return type:

boolean

can_transmit_science: boolean#

Whether the vessel can transmit science data to KSC.

Attribute:

Read-only, cannot be set

Return type:

boolean

signal_strength: number#

Signal strength to KSC.

Attribute:

Read-only, cannot be set

Return type:

number

signal_delay: number#

Signal delay to KSC in seconds.

Attribute:

Read-only, cannot be set

Return type:

number

power: number#

The combined power of all active antennae on the vessel.

Attribute:

Read-only, cannot be set

Return type:

number

control_path: List#

The communication path used to control the vessel.

Attribute:

Read-only, cannot be set

Return type:

List

Represents a communication node in the network. For example, a vessel or the KSC.

type: SpaceCenter.CommLinkType#

The type of link.

Attribute:

Read-only, cannot be set

Return type:

SpaceCenter.CommLinkType

signal_strength: number#

Signal strength of the link.

Attribute:

Read-only, cannot be set

Return type:

number

start: SpaceCenter.CommNode#

Start point of the link.

Attribute:

Read-only, cannot be set

Return type:

SpaceCenter.CommNode

end: SpaceCenter.CommNode#

Start point of the link.

Attribute:

Read-only, cannot be set

Return type:

SpaceCenter.CommNode

class SpaceCenter.CommLinkType#

The type of a communication link. See SpaceCenter.CommLink.type.

home#

Link is to a base station on Kerbin.

control#

Link is to a control source, for example a manned spacecraft.

relay#

Link is to a relay satellite.

class SpaceCenter.CommNode#

Represents a communication node in the network. For example, a vessel or the KSC.

name: string#

Name of the communication node.

Attribute:

Read-only, cannot be set

Return type:

string

is_home: boolean#

Whether the communication node is on Kerbin.

Attribute:

Read-only, cannot be set

Return type:

boolean

is_control_point: boolean#

Whether the communication node is a control point, for example a manned vessel.

Attribute:

Read-only, cannot be set

Return type:

boolean

is_vessel: boolean#

Whether the communication node is a vessel.

Attribute:

Read-only, cannot be set

Return type:

boolean

vessel: SpaceCenter.Vessel#

The vessel for this communication node.

Attribute:

Read-only, cannot be set

Return type:

SpaceCenter.Vessel