ntrip, testMode, zed9 gnss modul

This commit is contained in:
2022-09-13 20:31:52 +02:00
parent c7cb0d3895
commit af6cb98898
43 changed files with 907 additions and 262 deletions
+4 -4
View File
@@ -62,12 +62,12 @@ void MoveControl::loop() {
std::cout << buf;
}
static uint64_t last_millis = 0;
if (millis() - last_millis < delay)
static uint64_t lastMillis = 0;
if (millis() - lastMillis < delay)
return;
this->runMoveControl();
last_millis = millis();
lastMillis = millis();
}
void MoveControl::runMoveControl() {
@@ -104,7 +104,7 @@ void MoveControl::setSpeed(double speed) {
this->x_speed = speed;
}
void MoveControl::setRotationspeed(double speed) {
void MoveControl::setRotationSpeed(double speed) {
if (speed < 0.7 && speed > -0.7)
this->rotation_speed = 0;
else