def __init__(self, simulation=None, trajectory=None):
     self.timer = IdealTimer(self)
     self.radio = IdealRadio(self)
     Platform.__init__(self, simulation, trajectory)
Exemplo n.º 2
0
 def __init__(self, simulation=None, trajectory=None):
     self.radio = IdealRadio(self)
     self.packetsReceived = []
     self.radio.setReceiveHandler(self.handlePacket)
     Platform.__init__(self, simulation, trajectory)
Exemplo n.º 3
0
 def __init__(self, simulation=None, trajectory=None):
     self.radio = IdealRadio(self)
     self.packetsReceived = []
     self.radio.setReceiveHandler(self.handlePacket)
     Platform.__init__(self, simulation, trajectory)
Exemplo n.º 4
0
 def __init__(self, camera_model, Rci=np.eye(3), pci=np.zeros((3,1)), simulation=None, trajectory=None):
     self.timer = IdealTimer(self)
     self.camera = Camera(camera_model, Rci, pci, self)
     Platform.__init__(self, simulation, trajectory)
     logger.info("Initialized camera platform with Rci=%s, pci=%s", Rci, pci)
Exemplo n.º 5
0
 def __init__(self, simulation=None, trajectory=None):
     self.timer = IdealTimer(self)
     self.radio = IdealRadio(self)
     Platform.__init__(self, simulation, trajectory)