public TerrainFollow(MAVLinkInterface inInterface) { _interface = inInterface; log.Info("Subscribe to packets"); subscription = _interface.SubscribeToPacketType(MAVLink.MAVLINK_MSG_ID.TERRAIN_DATA, ReceviedPacket); mFlightData = FlightData.instance; }
public TerrainFollow(MAVLinkInterface inInterface) { _interface = inInterface; log.Info("Subscribe to packets"); subscription = _interface.SubscribeToPacketType(MAVLink.MAVLINK_MSG_ID.TERRAIN_DATA, ReceviedPacket); mFlightData = FlightData.instance; }