mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Converted currentTime to currentTimeUs
This commit is contained in:
parent
ec0b52aea1
commit
8d3c825646
38 changed files with 197 additions and 165 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include "common/axis.h"
|
||||
#include "common/maths.h"
|
||||
#include "common/time.h"
|
||||
|
||||
#include "sensors/acceleration.h"
|
||||
|
||||
|
@ -96,10 +97,10 @@ void imuConfigure(
|
|||
);
|
||||
|
||||
float getCosTiltAngle(void);
|
||||
void calculateEstimatedAltitude(uint32_t currentTime);
|
||||
void calculateEstimatedAltitude(timeUs_t currentTimeUs);
|
||||
union rollAndPitchTrims_u;
|
||||
void imuUpdateAccelerometer(union rollAndPitchTrims_u *accelerometerTrims);
|
||||
void imuUpdateAttitude(uint32_t currentTime);
|
||||
void imuUpdateAttitude(timeUs_t currentTimeUs);
|
||||
float calculateThrottleAngleScale(uint16_t throttle_correction_angle);
|
||||
int16_t calculateThrottleAngleCorrection(uint8_t throttle_correction_value);
|
||||
float calculateAccZLowPassFilterRCTimeConstant(float accz_lpf_hz);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue