TwoFootBot-arduion/src/wifi/wifi-sg90.h

17 lines
429 B
C

#pragma once
#ifndef WIFI_SG90_H
#define WIFI_SG90_H
#include "../imu/imu.h"
void sg90();
void wifi_setup();
// 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);
#endif