Skip to content

Commit

Permalink
compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sytelus committed Aug 5, 2017
1 parent 4207220 commit 41828e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AirLib/src/controllers/DroneControllerBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ bool DroneControllerBase::rotateByYawRate(float yaw_rate, float duration, Cancel

bool DroneControllerBase::takeoff(float max_wait_seconds, CancelableBase& cancelable_action)
{
unused(max_wait_seconds);
return moveToPosition(0, 0, -6, 0.5f, DrivetrainType::MaxDegreeOfFreedom, YawMode::Zero(), -1, 1, cancelable_action);
}

Expand All @@ -333,6 +334,7 @@ bool DroneControllerBase::goHome(CancelableBase& cancelable_action)

bool DroneControllerBase::land(float max_wait_seconds, CancelableBase& cancelable_action)
{
unused(max_wait_seconds);
return moveByVelocity(0, 0, 0.2f, 3600, DrivetrainType::MaxDegreeOfFreedom, YawMode::Zero(), cancelable_action);
}

Expand Down

0 comments on commit 41828e7

Please sign in to comment.