Esempio n. 1
0
 def bp_processor(self) -> bp.Processor:
     field_processors: List[bp.Processor] = [
         bp.MessageFieldProcessor(1, bp.Uint(32)),
         bp.MessageFieldProcessor(2, bp.Uint(32)),
         bp.MessageFieldProcessor(3, bp.Uint(32)),
     ]
     return bp.MessageProcessor(False, 96, field_processors)
Esempio n. 2
0
 def bp_processor(self) -> bp.Processor:
     field_processors: List[bp.Processor] = [
         bp.MessageFieldProcessor(1, bp.Uint(8)),
         bp.MessageFieldProcessor(2, bp_processor_PowerStatus()),
         bp.MessageFieldProcessor(3, bp.Bool()),
     ]
     return bp.MessageProcessor(False, 11, field_processors)
Esempio n. 3
0
 def bp_processor(self) -> bp.Processor:
     field_processors: List[bp.Processor] = [
         bp.MessageFieldProcessor(1, bp.Uint(8)),
         bp.MessageFieldProcessor(2, bp_processor_PropellerStatus()),
         bp.MessageFieldProcessor(3, bp_processor_RotatingDirection()),
     ]
     return bp.MessageProcessor(False, 12, field_processors)
Esempio n. 4
0
def bp_processor_PowerStatus() -> bp.Processor:
    return bp.EnumProcessor(bp.Uint(2))
Esempio n. 5
0
def bp_processor_RotatingDirection() -> bp.Processor:
    return bp.EnumProcessor(bp.Uint(2))
Esempio n. 6
0
def bp_processor_DroneStatus() -> bp.Processor:
    return bp.EnumProcessor(bp.Uint(3))
Esempio n. 7
0
 def bp_processor(self) -> bp.Processor:
     field_processors: List[bp.Processor] = [
         bp.MessageFieldProcessor(1, bp.Uint(4)),
         bp.MessageFieldProcessor(2, bp_processor_Timestamp()),
     ]
     return bp.MessageProcessor(False, 68, field_processors)
Esempio n. 8
0
def bp_processor_LandingGearStatus() -> bp.Processor:
    return bp.EnumProcessor(bp.Uint(2))