2026-10-12 14:00:30 +00:00
|
|
|
#pragma once
|
|
|
|
|
#ifndef WIFI_SG90_H
|
|
|
|
|
#define WIFI_SG90_H
|
|
|
|
|
|
|
|
|
|
#include "../imu/imu.h"
|
|
|
|
|
|
|
|
|
|
void sg90();
|
|
|
|
|
void wifi_setup();
|
|
|
|
|
|
2026-10-19 07:23:15 +00:00
|
|
|
// TCP IMU telemetry: 16-byte frame: A5 5A, then 6 signed big-endian int16
|
|
|
|
|
// values (projected gravity XYZ scaled by 10000, base angular velocity XYZ
|
|
|
|
|
// in mrad/s), then CRC-16/CCITT-FALSE over the first 14 bytes.
|
|
|
|
|
// Text command replies remain lines.
|
|
|
|
|
void sendTelemetry(GravityVector gravity, RawData raw);
|
2026-10-12 14:00:30 +00:00
|
|
|
|
|
|
|
|
#endif
|