mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 09:06:11 +00:00
Cleanups
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
// Copyright (c) 2023 Oleg Kalachev <okalachev@gmail.com>
|
||||
// Repository: https://github.com/okalachev/flix
|
||||
// Distributed under the MIT License (https://opensource.org/licenses/MIT)
|
||||
|
||||
// Mocks of some MPU9250 library functions
|
||||
|
||||
#pragma once
|
||||
|
||||
class MPU9250 {
|
||||
public:
|
||||
float getAccelBiasX_mss() { return 0; }
|
||||
float getAccelBiasY_mss() { return 0; }
|
||||
float getAccelBiasZ_mss() { return 0; }
|
||||
float getGyroBiasX_rads() { return 0; }
|
||||
float getGyroBiasY_rads() { return 0; }
|
||||
float getGyroBiasZ_rads() { return 0; }
|
||||
};
|
@@ -140,11 +140,6 @@ public:
|
||||
const double maxThrust = 0.03 * ONE_G; // 30 g, https://www.youtube.com/watch?v=VtKI4Pjx8Sk
|
||||
// 65 mm prop ~40 g
|
||||
|
||||
// std::cout << "fr: " << motors[MOTOR_FRONT_RIGHT]
|
||||
// << " fl: " << motors[MOTOR_FRONT_LEFT]
|
||||
// << " rr: " << motors[MOTOR_REAR_RIGHT]
|
||||
// << " rl: " << motors[MOTOR_REAR_LEFT] << std::endl;
|
||||
|
||||
const float scale0 = 1.0, scale1 = 1.1, scale2 = 0.9, scale3 = 1.05;
|
||||
const float minThrustRel = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user