Skip to content

Commit

Permalink
remove unused constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Stifael authored and ChristophTobler committed Aug 2, 2018
1 parent a06ff4a commit 7723860
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions src/lib/FlightTasks/tasks/FlightTaskAuto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@

using namespace matrix;

#define SIGMA_SINGLE_OP 0.000001f
#define SIGMA_NORM 0.001f
static constexpr float SIGMA_NORM = 0.001f;

bool FlightTaskAuto::initializeSubscriptions(SubscriptionArray &subscription_array)
{
Expand Down Expand Up @@ -297,7 +296,6 @@ State FlightTaskAuto::_getCurrentState()
return return_state;
}


void FlightTaskAuto::_updateInternalWaypoints()
{
// The internal Waypoints might differ from _triplet_prev_wp, _triplet_target and _triplet_next_wp.
Expand Down
1 change: 0 additions & 1 deletion src/lib/FlightTasks/tasks/FlightTaskAutoLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@

using namespace matrix;

static constexpr float SIGMA_SINGLE_OP = 0.000001f;
static constexpr float SIGMA_NORM = 0.001f;

void FlightTaskAutoLine::_generateSetpoints()
Expand Down

0 comments on commit 7723860

Please sign in to comment.