diff options
author | dragonprevost <dragon@dkp.io> | 2018-10-22 14:22:02 -0700 |
---|---|---|
committer | dragonprevost <dragon@dkp.io> | 2018-10-22 14:22:02 -0700 |
commit | c5d0a802c38dbc31a784afbd8f10b919c78c28b4 (patch) | |
tree | 37990dbc97c3a1d1696375e225403e04ff167dec /brnkl_motion.api | |
parent | 5292177fb0a7a2855d57b57a372df62202421348 (diff) |
getSuddenImpact is designed to return 3 arrays that hold impact data
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 |