Adds skilmanager and spin skill

This commit is contained in:
Rune Harlyk
2025-09-10 15:59:41 +02:00
parent 26c36b8302
commit 3a401abfab
5 changed files with 306 additions and 6 deletions
+8
View File
@@ -209,6 +209,14 @@ class Peripherals : public StatefulService<PeripheralsConfiguration> {
float leftDistance() { return _left_distance; }
float rightDistance() { return _right_distance; }
float getHeading() {
#if FT_ENABLED(USE_HMC5883)
return _mag.getHeading();
#else
return 0.0f;
#endif
}
StatefulHttpEndpoint<PeripheralsConfiguration> endpoint;
void emitIMU() {