mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 21:56:35 +00:00
45c19baa45
- autopilot -> drone_controller - rtsp_ai_player -> ai_controller - added top level qmake project file - updated documentation - moved small demo applications from tmp/ to misc/
15 lines
266 B
C++
15 lines
266 B
C++
#pragma once
|
|
|
|
#include <QByteArray>
|
|
#include <cstdint>
|
|
|
|
|
|
class AiEngineGimbalServerCrc16
|
|
{
|
|
public:
|
|
static void getCRCBytes(const QByteArray &data, int8_t *bytes);
|
|
|
|
private:
|
|
static uint16_t calculateCRC(const uint8_t *ptr, uint32_t len, uint16_t crcInit);
|
|
};
|