Antenna¶
-
class Antenna¶
A RemoteTech antenna. Obtained by calling
Comms::antennas()
orantenna()
.-
SpaceCenter::Part part()¶
Get the part containing this antenna.
-
bool has_connection()¶
Whether the antenna has a connection.
-
void set_target(Target value)¶
The object that the antenna is targetting. This property can be used to set the target to
Target::none
orTarget::active_vessel
. To set the target to a celestial body, ground station or vessel seeAntenna::target_body()
,Antenna::target_ground_station()
andAntenna::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.
-
SpaceCenter::Part part()¶