refactor - change constants
This commit is contained in:
@@ -65,7 +65,7 @@ void Navigation::init(Route* route) {
|
||||
Wire.write(0x0b);
|
||||
Wire.write(0x01);
|
||||
Wire.endTransmission();
|
||||
this->compass->setMode(0x01,0x04,0x10,0X00);
|
||||
this->compass->setMode(0x01,0x0C,0x10,0X00);
|
||||
}
|
||||
|
||||
Navigation::~Navigation() {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
*
|
||||
*/
|
||||
#define MIN_DISTANCE_BETWEEN_POINTS 0.1
|
||||
#define AZIMUTH_UPDATE_DELAY 200
|
||||
#define AZIMUTH_UPDATE_DELAY 20
|
||||
|
||||
/**
|
||||
* @brief This struct inherits the result of the navigation
|
||||
|
||||
Reference in New Issue
Block a user