motioncontroller: Add functions for analysis
These are functions for converting acceleration due to gravity to angles in degrees, and some statistical analysis including the mean and variance.
This commit is contained in:
parent
3085bb3990
commit
cfe21103ea
5 changed files with 137 additions and 0 deletions
|
|
@ -493,6 +493,8 @@ list(APPEND SOURCE_FILES
|
|||
|
||||
buttonhandler/ButtonHandler.cpp
|
||||
touchhandler/TouchHandler.cpp
|
||||
|
||||
utility/Math.cpp
|
||||
)
|
||||
|
||||
list(APPEND RECOVERY_SOURCE_FILES
|
||||
|
|
@ -558,6 +560,8 @@ list(APPEND RECOVERY_SOURCE_FILES
|
|||
components/fs/FS.cpp
|
||||
buttonhandler/ButtonHandler.cpp
|
||||
touchhandler/TouchHandler.cpp
|
||||
|
||||
utility/Math.cpp
|
||||
)
|
||||
|
||||
list(APPEND RECOVERYLOADER_SOURCE_FILES
|
||||
|
|
@ -677,6 +681,7 @@ set(INCLUDE_FILES
|
|||
components/motor/MotorController.h
|
||||
buttonhandler/ButtonHandler.h
|
||||
touchhandler/TouchHandler.h
|
||||
utility/Math.h
|
||||
)
|
||||
|
||||
include_directories(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue