remove CalcAzimuth

This commit is contained in:
2023-10-12 20:58:30 +02:00
parent 12c338def1
commit f0474027be
7 changed files with 4 additions and 272 deletions
-3
View File
@@ -158,7 +158,6 @@ bool MotorControl::isAccelerationNegative() const
void MotorControl::setRealPower(int8_t power)
{
// TODO: Exceptionhandling
if (power <= 100 && power >= -100)
{
this->power = power;
@@ -199,8 +198,6 @@ void MotorControl::setRealPower(int8_t power)
void MotorControl::increasePower(int8_t power)
{
// TODO: Exceptionhandling
// TODO: make a stop befor a direction change
if (abs(power) > 2 * MotorControl::powerSteps)
{
Serial.println("Invalid Argument in MotorControl::increasePower");