public SimulatedVehicleCommunication(Device deviceToSimulate, SimulatorAppServiceClient simulatorCommunication)
        {
            _simulatorCommunication = simulatorCommunication;
            _simulatedDevice        = deviceToSimulate;
            _nameOfDevice           = Enum.GetName(typeof(Device), _simulatedDevice);

            _simulatorCommunication.OnMessageReceived += SimulatorCommunicationOnOnMessageReceived;
        }
Beispiel #2
0
 public SimulatedLidarPacketReceiver(SimulatorAppServiceClient simulatorCommunication)
 {
     _simulatorCommunication = simulatorCommunication;
     _packetGenerator        = new LidarFormatPacketGenerator(packetDeltaDistance: 0, channelDeltaDistance: 0, packetAzimuthAngleDelta: 0);
 }