16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 22:59:19 +02:00

motiontelemetry

This commit is contained in:
milek7
2018-01-18 18:15:03 +01:00
parent 416d3a2e0e
commit ea8171d9b0
4 changed files with 101 additions and 11 deletions

View File

@@ -17,12 +17,19 @@ public:
std::string address;
std::string port;
float updatetime;
bool includegravity;
bool fwdposbased;
bool latposbased;
float axlebumpscale;
};
private:
int sock;
std::chrono::time_point<std::chrono::high_resolution_clock> last_update;
conf_t conf;
glm::dvec3 last_pos;
glm::dvec3 last_vel;
double last_yaw;
public:
motiontelemetry();