Antenna#

class Antenna#

A RemoteTech antenna. Obtained by calling Comms::antennas() or antenna().

SpaceCenter::Part part()#

Get the part containing this antenna.

bool has_connection()#

Whether the antenna has a connection.

Target target()#
void set_target(Target value)#

The object that the antenna is targetting. This property can be used to set the target to Target::none or Target::active_vessel. To set the target to a celestial body, ground station or vessel see Antenna::target_body(), Antenna::target_ground_station() and Antenna::target_vessel().

SpaceCenter::CelestialBody target_body()#
void set_target_body(SpaceCenter::CelestialBody value)#

The celestial body the antenna is targetting.

std::string target_ground_station()#
void set_target_ground_station(std::string value)#

The ground station the antenna is targetting.

SpaceCenter::Vessel target_vessel()#
void set_target_vessel(SpaceCenter::Vessel value)#

The vessel the antenna is targetting.

enum struct Target#

The type of object an antenna is targetting. See Antenna::target().

enumerator active_vessel#

The active vessel.

enumerator celestial_body#

A celestial body.

enumerator ground_station#

A ground station.

enumerator vessel#

A specific vessel.

enumerator none#

No target.