fix bugs in gyro implematation
This commit is contained in:
@@ -70,6 +70,7 @@ void SensorData::enableCalcCompass() {
|
||||
}
|
||||
|
||||
void SensorData::enableGyroskop() {
|
||||
this->gyroskop = new MPU6050();
|
||||
this->gyroskop->initialize();
|
||||
if (!this->gyroskop->testConnection()) {
|
||||
std::cout << "SensorData::enableGyroskop: Gyroskop is not conntected. Freeze!" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user