libgs.groundstation.GroundStationBase.protocol¶
-
GroundStationBase.
protocol
¶ Property to set/get the current protocol. When setting you can use the
name
attribute of the protocol, or its instance. To use the name syntax it must already be installed (exist in theprotocols
list).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()