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
-
can_transmit_science:
boolean# Whether the vessel can transmit science data to KSC.
- Attribute:
Read-only, cannot be set
-
signal_strength:
number# Signal strength to KSC.
- Attribute:
Read-only, cannot be set
-
signal_delay:
number# Signal delay to KSC in seconds.
- Attribute:
Read-only, cannot be set
-
power:
number# The combined power of all active antennae on the vessel.
- Attribute:
Read-only, cannot be set
Note
Not used by RealAntennas, which replaces the stock range model.
-
control_path:
List# The communication path used to control the vessel.
- Attribute:
Read-only, cannot be set
-
can_communicate:
- class SpaceCenter.CommLink#
Represents a communication link between two nodes in the network.
-
type:
SpaceCenter.CommLinkType# The type of link.
- Attribute:
Read-only, cannot be set
-
signal_strength:
number# Signal strength of the link.
- Attribute:
Read-only, cannot be set
-
start:
SpaceCenter.CommNode# Start point of the link.
- Attribute:
Read-only, cannot be set
-
end:
SpaceCenter.CommNode# End point of the link.
- Attribute:
Read-only, cannot be set
-
forward_data_rate:
number# The data rate from
SpaceCenter.CommLink.starttoSpaceCenter.CommLink.end, in bits per second.- Attribute:
Read-only, cannot be set
Note
Requires RealAntennas.
-
reverse_data_rate:
number# The data rate from
SpaceCenter.CommLink.endtoSpaceCenter.CommLink.start, in bits per second.- Attribute:
Read-only, cannot be set
Note
Requires RealAntennas.
-
start_antenna:
SpaceCenter.Antenna|nil# The antenna at
SpaceCenter.CommLink.startthat transmits over the link, ornilifSpaceCenter.CommLink.startis a ground station or an unloaded vessel.- Attribute:
Read-only, cannot be set
Note
Requires RealAntennas.
-
end_antenna:
SpaceCenter.Antenna|nil# The antenna at
SpaceCenter.CommLink.endthat receives over the link, ornilifSpaceCenter.CommLink.endis a ground station or an unloaded vessel.- Attribute:
Read-only, cannot be set
Note
Requires RealAntennas.
-
type:
- 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.
-
is_home:
boolean# Whether the communication node is on Kerbin.
-
is_control_point:
boolean# Whether the communication node is a control point, for example a manned vessel.
-
is_vessel:
boolean# Whether the communication node is a vessel.
-
vessel:
SpaceCenter.Vessel|Types.none# The vessel for this communication node, or null if the node is not a vessel.
-
name: