diff options
author | Nicholas Van Doorn <vandoorn.nick@gmail.com> | 2018-10-25 11:33:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-25 11:33:24 -0700 |
commit | 8b0c2ec5fbca5c562a62eeed5583dff0bf0d1bc0 (patch) | |
tree | e04711b74ff3513fbf7f6a826c97df6a6ed5f788 /brnkl_motion.api | |
parent | e75cdda1dcf6702b9cbb0a1826e584a4fc280dd4 (diff) | |
parent | 7e57174dddf1b955590485fc431a33575669939b (diff) |
Merge pull request #5 from brnkl/integrate-impact-reporting
Integrate impact reporting
Diffstat (limited to 'brnkl_motion.api')
-rw-r--r-- | brnkl_motion.api | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/brnkl_motion.api b/brnkl_motion.api index fd7c9b5..ad4262a 100644 --- a/brnkl_motion.api +++ b/brnkl_motion.api @@ -1,5 +1,13 @@ 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 +FUNCTION le_result_t getSuddenImpact( + double x [N_CHANGE_BLOCKS] OUT, + double y [N_CHANGE_BLOCKS] OUT, + double z [N_CHANGE_BLOCKS] OUT, + uint64 timestamps[N_CHANGE_BLOCKS] OUT +); +FUNCTION le_result_t getCurrentAcceleration( + double x OUT, + double y OUT, + double z OUT +); |