summaryrefslogtreecommitdiff
path: root/brnkl_motion.api
diff options
context:
space:
mode:
authorNicholas Van Doorn <vandoorn.nick@gmail.com>2018-10-23 13:58:00 -0700
committerGitHub <noreply@github.com>2018-10-23 13:58:00 -0700
commite75cdda1dcf6702b9cbb0a1826e584a4fc280dd4 (patch)
tree49dee7e1f3336495c3c335827e8129f970e79b08 /brnkl_motion.api
parent0d0ad6d1490a3b233315c51f518f8fb1c8f1a93f (diff)
parentb960ed187644a9d4bac17a2b66bc5179002064fa (diff)
Merge pull request #1 from brnkl/threadedImpactMonitor
Threaded Impact Monitor
Diffstat (limited to 'brnkl_motion.api')
-rw-r--r--brnkl_motion.api6
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