🪮 Add c_str() to origin id

This commit is contained in:
Rune Harlyk
2024-07-05 20:28:51 +02:00
parent d977aa0a70
commit 2689093485
+1 -1
View File
@@ -100,7 +100,7 @@ class MotionService
char output[100];
sprintf(output, "[%.1f,%.1f,%.1f,%.1f,%.1f,%.1f,%.1f,%.1f,%.1f,%.1f,%.1f,%.1f]", angles[0], angles[1], angles[2], angles[3], angles[4],
angles[5], angles[6], angles[7], angles[8], angles[9], angles[10], angles[11]);
_socket->emit(ANGLES_EVENT, output, String(originId).c_str());
_socket->emit(ANGLES_EVENT, output, originId.c_str());
}
float lerp(float start, float end, float t) {