diff options
author | Nicholas Van Doorn <vandoorn.nick@gmail.com> | 2018-10-23 13:58:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-23 13:58:00 -0700 |
commit | e75cdda1dcf6702b9cbb0a1826e584a4fc280dd4 (patch) | |
tree | 49dee7e1f3336495c3c335827e8129f970e79b08 /brnkl_motion.api | |
parent | 0d0ad6d1490a3b233315c51f518f8fb1c8f1a93f (diff) | |
parent | b960ed187644a9d4bac17a2b66bc5179002064fa (diff) |
Merge pull request #1 from brnkl/threadedImpactMonitor
Threaded Impact Monitor
Diffstat (limited to 'brnkl_motion.api')
-rw-r--r-- | brnkl_motion.api | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/brnkl_motion.api b/brnkl_motion.api index f5d3154..fd7c9b5 100644 --- a/brnkl_motion.api +++ b/brnkl_motion.api @@ -1,3 +1,5 @@ -FUNCTION int8 hasSuddenImpact (); -FUNCTION le_result_t getSuddenImpact (double x OUT, double y OUT, double z OUT); +DEFINE N_CHANGE_BLOCKS = 200; + +FUNCTION le_result_t getSuddenImpact (double x [N_CHANGE_BLOCKS] OUT, double y [N_CHANGE_BLOCKS] OUT, double z [N_CHANGE_BLOCKS] OUT); FUNCTION le_result_t getCurrentAcceleration (double x OUT, double y OUT, double z OUT); +
\ No newline at end of file |