Funciona todo sin modulo_imu

This commit is contained in:
2026-05-21 09:51:42 -05:00
parent 026820f205
commit 19dc4bcf90
19 changed files with 1857 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#include <iostream>
#include <string>
int main() {
std::string t = "A:0.027,0.027,0.027,0.027";
float v[4] = {0, 0, 0, 0};
int res = sscanf(t.c_str() + 2, "%f,%f,%f,%f", &v[0], &v[1], &v[2], &v[3]);
std::cout << "res=" << res << ", v0=" << v[0] << ", v1=" << v[1] << std::endl;
return 0;
}