Added clip for integers and updated attitude from tilt

This commit is contained in:
dario
2024-09-16 15:51:08 +02:00
parent 315abe5d6f
commit 6350091baf
3 changed files with 19 additions and 2 deletions

View File

@@ -9,6 +9,8 @@ namespace sta
{
float fast_inv_sqrt(float);
int clip(int value, int min, int max);
float clip(float value, float min, float max);
} // namespace math
} // namespace sta