Communications#

class Comms#

Used to interact with CommNet for a given vessel. Obtained by calling Vessel::comms().

bool can_communicate()#

Whether the vessel can communicate with KSC.

Game Scenes:

Flight

bool can_transmit_science()#

Whether the vessel can transmit science data to KSC.

Game Scenes:

Flight

double signal_strength()#

Signal strength to KSC.

Game Scenes:

Flight

double signal_delay()#

Signal delay to KSC in seconds.

Game Scenes:

Flight

double power()#

The combined power of all active antennae on the vessel.

Game Scenes:

Flight

std::vector<CommLink> control_path()#

The communication path used to control the vessel.

Game Scenes:

Flight

class CommLink#

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

CommLinkType type()#

The type of link.

double signal_strength()#

Signal strength of the link.

CommNode start()#

Start point of the link.

CommNode end()#

Start point of the link.

enum struct CommLinkType#

The type of a communication link. See CommLink::type().

enumerator home#

Link is to a base station on Kerbin.

enumerator control#

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

enumerator relay#

Link is to a relay satellite.

class CommNode#

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

std::string name()#

Name of the communication node.

bool is_home()#

Whether the communication node is on Kerbin.

bool is_control_point()#

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

bool is_vessel()#

Whether the communication node is a vessel.

Vessel vessel()#

The vessel for this communication node.