remove CalcAzimuth
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user