.. default-domain:: js .. highlight:: js .. module:: RemoteTech :no-index: Comms ===== .. class:: Comms Communications for a vessel. .. method:: getVessel() Get the vessel. :Property: Read-only, cannot be set :rtype: :class:`SpaceCenter.Vessel` .. method:: getHasLocalControl() Whether the vessel can be controlled locally. :Property: Read-only, cannot be set :rtype: ``boolean`` .. method:: getHasFlightComputer() Whether the vessel has a flight computer on board. :Property: Read-only, cannot be set :rtype: ``boolean`` .. method:: getHasConnection() Whether the vessel has any connection. :Property: Read-only, cannot be set :rtype: ``boolean`` .. method:: getHasConnectionToGroundStation() Whether the vessel has a connection to a ground station. :Property: Read-only, cannot be set :rtype: ``boolean`` .. method:: getSignalDelay() The shortest signal delay to the vessel, in seconds. :Property: Read-only, cannot be set :rtype: ``number`` .. method:: getSignalDelayToGroundStation() The signal delay between the vessel and the closest ground station, in seconds. :Property: Read-only, cannot be set :rtype: ``number`` .. method:: signalDelayToVessel(other) The signal delay between the this vessel and another vessel, in seconds. :param other: :type other: :class:`SpaceCenter.Vessel` :rtype: ``number`` .. method:: getAntennas() The antennas for this vessel. :Property: Read-only, cannot be set :rtype: ``Array`` of :class:`RemoteTech.Antenna`