Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/main.cpp
  • Loading branch information
CyR1en committed Nov 7, 2019
2 parents 88eb961 + 939b013 commit 3cb0679
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/Utils.h
Expand Up @@ -5,7 +5,7 @@
#ifndef UTILS_H
#define UTILS_H

#define B_1 207.0f
#define B_1 225.0f
#define B_2 148.0f

template<typename T>
Expand Down
2 changes: 1 addition & 1 deletion src/BikeBot.cpp
Expand Up @@ -157,7 +157,7 @@ void BikeBot::pivotPrecise(float angle) {

// use correction to improve angle accuracy
// adjust correction value based on test results
float correction = -6.5; // need decimal point for float value
float correction = -34.0; // need decimal point for float value
if (angle > 0) angle += correction;
else if (angle < 0) angle -= correction;

Expand Down

0 comments on commit 3cb0679

Please sign in to comment.