libgs.groundstation.GroundStationBase.protocol¶
-
GroundStationBase.protocol¶ Property to set/get the current protocol. When setting you can use the
nameattribute of the protocol, or its instance. To use the name syntax it must already be installed (exist in theprotocolslist).Examples:
>>> gs.protocols = [MyFavoriteProtocol(name='a_protocol'), MyOtherProtocol(name='other_protocol')] >>> gs.protocol = 'a_protocol'
or you can directly assign a protocol:
>>> gs.protocol = MyFavoriteProtocol()