no time for comment
This commit is contained in:
@@ -46,6 +46,7 @@ class Autopilot : public ManualControl {
|
||||
GetToStartPoint,
|
||||
SelfDrivingAvailable,
|
||||
SelfDriving,
|
||||
SelfDrivingRotate,
|
||||
TargetReached
|
||||
};
|
||||
|
||||
@@ -106,6 +107,7 @@ class Autopilot : public ManualControl {
|
||||
* @return false
|
||||
*/
|
||||
bool shouldUpdate();
|
||||
void rotate(int16_t degree);
|
||||
|
||||
private:
|
||||
void init();
|
||||
@@ -134,6 +136,8 @@ class Autopilot : public ManualControl {
|
||||
uint32_t loopLastMillis = 0;
|
||||
uint32_t lastAutopilotChangeMillis = 0;
|
||||
|
||||
int16_t rotationAimAzimuth;
|
||||
|
||||
double drivingSpeed = 1;
|
||||
double rotationSpeed = 4.5;
|
||||
double minRemainingDistance = 0.25;
|
||||
|
||||
Reference in New Issue
Block a user