937 lines
89 KiB
HTML
937 lines
89 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.10.0"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>esp32_BNO08x: CallbackTests.cpp File Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript" src="cookie.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">esp32_BNO08x<span id="projectnumber"> 1.2</span>
|
|
</div>
|
|
<div id="projectbrief">C++ BNO08x IMU driver component for esp-idf.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.10.0 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function(){initNavTree('_callback_tests_8cpp.html',''); initResizable(); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> |
|
|
<a href="#var-members">Variables</a> </div>
|
|
<div class="headertitle"><div class="title">CallbackTests.cpp File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include "unity.h"</code><br />
|
|
<code>#include "<a class="el" href="_b_n_o08x_test_helper_8hpp_source.html">../include/BNO08xTestHelper.hpp</a>"</code><br />
|
|
</div><div class="textblock"><div class="dynheader">
|
|
Include dependency graph for CallbackTests.cpp:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="_callback_tests_8cpp__incl.png" border="0" usemap="#a_callback_tests_8cpp" alt=""/></div>
|
|
<map name="a_callback_tests_8cpp" id="a_callback_tests_8cpp">
|
|
<area shape="rect" title=" " alt="" coords="367,5,496,32"/>
|
|
<area shape="rect" title=" " alt="" coords="321,80,382,107"/>
|
|
<area shape="poly" title=" " alt="" coords="419,35,378,72,375,68,416,31"/>
|
|
<area shape="rect" href="_b_n_o08x_test_helper_8hpp.html" title=" " alt="" coords="406,80,620,107"/>
|
|
<area shape="poly" title=" " alt="" coords="447,31,489,68,486,72,444,35"/>
|
|
<area shape="rect" title=" " alt="" coords="5,229,66,256"/>
|
|
<area shape="poly" title=" " alt="" coords="473,110,81,230,79,225,471,105"/>
|
|
<area shape="rect" href="_b_n_o08x_8hpp.html" title=" " alt="" coords="652,155,747,181"/>
|
|
<area shape="poly" title=" " alt="" coords="546,105,654,146,652,151,544,110"/>
|
|
<area shape="poly" title=" " alt="" coords="652,174,410,189,249,207,81,232,80,227,248,201,410,184,651,168"/>
|
|
<area shape="rect" title=" " alt="" coords="90,229,168,256"/>
|
|
<area shape="poly" title=" " alt="" coords="651,176,451,195,320,211,184,231,183,226,319,206,451,189,651,170"/>
|
|
<area shape="rect" title=" " alt="" coords="192,229,253,256"/>
|
|
<area shape="poly" title=" " alt="" coords="652,176,486,196,379,211,268,232,267,226,378,206,485,190,651,171"/>
|
|
<area shape="rect" title=" " alt="" coords="277,229,338,256"/>
|
|
<area shape="poly" title=" " alt="" coords="652,178,521,199,354,231,352,226,520,193,651,173"/>
|
|
<area shape="rect" title=" " alt="" coords="361,229,438,256"/>
|
|
<area shape="poly" title=" " alt="" coords="652,183,454,231,452,226,651,178"/>
|
|
<area shape="rect" title=" " alt="" coords="461,229,517,256"/>
|
|
<area shape="poly" title=" " alt="" coords="664,184,532,229,530,224,662,179"/>
|
|
<area shape="rect" title=" " alt="" coords="541,229,618,256"/>
|
|
<area shape="poly" title=" " alt="" coords="680,184,615,223,612,219,677,180"/>
|
|
<area shape="rect" title=" " alt="" coords="643,229,756,256"/>
|
|
<area shape="poly" title=" " alt="" coords="702,182,702,214,697,214,697,182"/>
|
|
<area shape="rect" title=" " alt="" coords="780,229,870,256"/>
|
|
<area shape="poly" title=" " alt="" coords="723,180,791,219,789,224,720,184"/>
|
|
<area shape="rect" title=" " alt="" coords="893,229,1034,256"/>
|
|
<area shape="poly" title=" " alt="" coords="746,179,904,222,902,227,745,184"/>
|
|
<area shape="rect" title=" " alt="" coords="1058,229,1162,256"/>
|
|
<area shape="poly" title=" " alt="" coords="748,175,1043,226,1042,231,747,180"/>
|
|
<area shape="rect" title=" " alt="" coords="1186,229,1341,256"/>
|
|
<area shape="poly" title=" " alt="" coords="748,173,1171,226,1170,232,747,178"/>
|
|
<area shape="rect" title=" " alt="" coords="1365,229,1479,256"/>
|
|
<area shape="poly" title=" " alt="" coords="748,170,1001,189,1172,206,1350,226,1349,232,1172,211,1000,195,747,175"/>
|
|
<area shape="rect" title=" " alt="" coords="1504,229,1626,256"/>
|
|
<area shape="poly" title=" " alt="" coords="748,169,1055,187,1268,204,1488,226,1488,232,1267,209,1055,192,747,174"/>
|
|
<area shape="rect" title=" " alt="" coords="1650,229,1754,256"/>
|
|
<area shape="poly" title=" " alt="" coords="748,168,1112,182,1369,200,1635,226,1634,232,1368,205,1112,188,747,173"/>
|
|
<area shape="rect" href="_b_n_o08x__global__types_8hpp.html" title=" " alt="" coords="1779,229,1954,256"/>
|
|
<area shape="poly" title=" " alt="" coords="748,168,1161,186,1456,203,1763,226,1763,232,1456,209,1160,192,747,174"/>
|
|
<area shape="rect" title=" " alt="" coords="1681,304,1771,331"/>
|
|
<area shape="poly" title=" " alt="" coords="1843,259,1766,299,1763,294,1841,254"/>
|
|
<area shape="rect" title=" " alt="" coords="1796,304,1936,331"/>
|
|
<area shape="poly" title=" " alt="" coords="1869,257,1869,288,1864,288,1864,257"/>
|
|
<area shape="rect" title=" " alt="" coords="1961,304,2091,331"/>
|
|
<area shape="poly" title=" " alt="" coords="1895,254,1986,295,1983,300,1893,259"/>
|
|
</map>
|
|
</div>
|
|
</div><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:ac18b9cb122499f587331d82a538f23aa" id="r_ac18b9cb122499f587331d82a538f23aa"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="#ac18b9cb122499f587331d82a538f23aa">TEST_CASE</a> ("BNO08x Driver Creation <a class="el" href="#a4ac223c58b5ab6a6c5203661fafa1caa">for</a> [CallbackTests] Tests", "[CallbackTests]")</td></tr>
|
|
<tr class="separator:ac18b9cb122499f587331d82a538f23aa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6df8508e34beaeb28f34554ce0e20573" id="r_a6df8508e34beaeb28f34554ce0e20573"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a6df8508e34beaeb28f34554ce0e20573">register_cb</a> ([&<a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a>, &<a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a>, &<a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a>, &<a class="el" href="#a8c57d66969fed0b55bdee9b57f6ed0a7">prev_report_data</a>, &<a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>]() { static int cb_execution_cnt=0;cb_execution_cnt++;<a class="el" href="class_b_n_o08x_test_helper.html#ac81c63583b19e5c7b3233324aaea98e2">BNO08xTestHelper::update_report_data</a>(&<a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a>);if(<a class="el" href="class_b_n_o08x_test_helper.html#ade97098806c8779b26f9c166c4b03eea">BNO08xTestHelper::accelerometer_data_is_new</a>(&<a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a>, &<a class="el" href="#a8c57d66969fed0b55bdee9b57f6ed0a7">prev_report_data</a>)) { <a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a>=true;sprintf(<a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>, "Rx Data Trial %d Success: AngularAccel: aX: %.2lf accel aY: %.2lf accel aZ: " "%.2lf Accuracy %s", cb_execution_cnt, report_data.accel_x, report_data.accel_y, report_data.accel_z, <a class="el" href="class_b_n_o08x_test_helper.html#a857b66c12c231af0d546c026ec017ab3">BNO08xTestHelper::BNO08xAccuracy_to_str</a>(report_data.accel_accuracy));<a class="el" href="class_b_n_o08x_test_helper.html#a7fbfc48c0fff306ab81e2320bc171002">BNO08xTestHelper::print_test_msg</a>(TEST_TAG, <a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>);} })</td></tr>
|
|
<tr class="separator:a6df8508e34beaeb28f34554ce0e20573"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0f2cacda77ab92640f739aca52b1f99f" id="r_a0f2cacda77ab92640f739aca52b1f99f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a0f2cacda77ab92640f739aca52b1f99f">enable_accelerometer</a> (<a class="el" href="#a4b80e39a1f48d801615a1f7baa210071">REPORT_PERIOD</a>)</td></tr>
|
|
<tr class="separator:a0f2cacda77ab92640f739aca52b1f99f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4ac223c58b5ab6a6c5203661fafa1caa" id="r_a4ac223c58b5ab6a6c5203661fafa1caa"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a4ac223c58b5ab6a6c5203661fafa1caa">for</a> (int i=0;i< <a class="el" href="#a20cd776c25ed6d39b2dcb95d155cfbda">RX_REPORT_TRIAL_CNT</a>;i++)</td></tr>
|
|
<tr class="separator:a4ac223c58b5ab6a6c5203661fafa1caa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a79547a2396efd083faeba3e54d94360d" id="r_a79547a2396efd083faeba3e54d94360d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a79547a2396efd083faeba3e54d94360d">disable_accelerometer</a> ()</td></tr>
|
|
<tr class="separator:a79547a2396efd083faeba3e54d94360d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8dba989b01b464871f3232223050ec73" id="r_a8dba989b01b464871f3232223050ec73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a8dba989b01b464871f3232223050ec73">register_cb</a> ([&<a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a>, &<a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a>, &<a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a>, &<a class="el" href="#a8c57d66969fed0b55bdee9b57f6ed0a7">prev_report_data</a>, &<a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>]() { static int cb_execution_cnt=0;cb_execution_cnt++;<a class="el" href="class_b_n_o08x_test_helper.html#ac81c63583b19e5c7b3233324aaea98e2">BNO08xTestHelper::update_report_data</a>(&<a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a>);if(<a class="el" href="class_b_n_o08x_test_helper.html#ade97098806c8779b26f9c166c4b03eea">BNO08xTestHelper::accelerometer_data_is_new</a>(&<a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a>, &<a class="el" href="#a8c57d66969fed0b55bdee9b57f6ed0a7">prev_report_data</a>)) { <a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a>[0]=true;sprintf(<a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>, "Rx Data Trial %d Success: AngularAccel: aX: %.2lf accel aY: %.2lf accel aZ: " "%.2lf Accuracy %s", cb_execution_cnt, report_data.accel_x, report_data.accel_y, report_data.accel_z, <a class="el" href="class_b_n_o08x_test_helper.html#a857b66c12c231af0d546c026ec017ab3">BNO08xTestHelper::BNO08xAccuracy_to_str</a>(report_data.accel_accuracy));<a class="el" href="class_b_n_o08x_test_helper.html#a7fbfc48c0fff306ab81e2320bc171002">BNO08xTestHelper::print_test_msg</a>(TEST_TAG, <a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>);} if(<a class="el" href="class_b_n_o08x_test_helper.html#ad398739ce46400c1ac35e1cf7603d590">BNO08xTestHelper::linear_accelerometer_data_is_new</a>(&<a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a>, &<a class="el" href="#a8c57d66969fed0b55bdee9b57f6ed0a7">prev_report_data</a>)) { <a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a>[1]=true;sprintf(<a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>, "Rx Data Trial %d Success: LinearAccel: laX: %.2lf laY: %.2lf laZ: " "%.2lf Accuracy: %s",(cb_execution_cnt+1), report_data.lin_accel_x, report_data.lin_accel_y, report_data.lin_accel_z, <a class="el" href="class_b_n_o08x_test_helper.html#a857b66c12c231af0d546c026ec017ab3">BNO08xTestHelper::BNO08xAccuracy_to_str</a>(report_data.lin_accel_accuracy));<a class="el" href="class_b_n_o08x_test_helper.html#a7fbfc48c0fff306ab81e2320bc171002">BNO08xTestHelper::print_test_msg</a>(TEST_TAG, <a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>);} })</td></tr>
|
|
<tr class="separator:a8dba989b01b464871f3232223050ec73"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3e937c8c4a4c07b81fb20077ee984fc0" id="r_a3e937c8c4a4c07b81fb20077ee984fc0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a3e937c8c4a4c07b81fb20077ee984fc0">enable_linear_accelerometer</a> (<a class="el" href="#a4b80e39a1f48d801615a1f7baa210071">REPORT_PERIOD</a>)</td></tr>
|
|
<tr class="separator:a3e937c8c4a4c07b81fb20077ee984fc0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9091949d4ea860523915687536d5c4d3" id="r_a9091949d4ea860523915687536d5c4d3"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a9091949d4ea860523915687536d5c4d3">TEST_ASSERT_EQUAL</a> (true, <a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a>[0])</td></tr>
|
|
<tr class="separator:a9091949d4ea860523915687536d5c4d3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa6754207db4cfba956441680c7a6a97d" id="r_aa6754207db4cfba956441680c7a6a97d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="#aa6754207db4cfba956441680c7a6a97d">TEST_ASSERT_EQUAL</a> (true, <a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a>[1])</td></tr>
|
|
<tr class="separator:aa6754207db4cfba956441680c7a6a97d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5cc5f7e6658e3b1634d99b73dbfd06ab" id="r_a5cc5f7e6658e3b1634d99b73dbfd06ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a5cc5f7e6658e3b1634d99b73dbfd06ab">disable_linear_accelerometer</a> ()</td></tr>
|
|
<tr class="separator:a5cc5f7e6658e3b1634d99b73dbfd06ab"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a574f179a8295301510bc8b5475f02ba8" id="r_a574f179a8295301510bc8b5475f02ba8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a574f179a8295301510bc8b5475f02ba8">TEST_CASE</a> ("BNO08x Driver Cleanup <a class="el" href="#a4ac223c58b5ab6a6c5203661fafa1caa">for</a> [CallbackTests] Tests", "[CallbackTests]")</td></tr>
|
|
<tr class="separator:a574f179a8295301510bc8b5475f02ba8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
|
|
Variables</h2></td></tr>
|
|
<tr class="memitem:ac36e56130d5d806898f3545d4cdf0f70" id="r_ac36e56130d5d806898f3545d4cdf0f70"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_b_n_o08x.html">BNO08x</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> = nullptr</td></tr>
|
|
<tr class="separator:ac36e56130d5d806898f3545d4cdf0f70"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a22334b11e0558ec663d040de9b7db8c9" id="r_a22334b11e0558ec663d040de9b7db8c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_b_n_o08x_test_helper_1_1imu__report__data__t.html">BNO08xTestHelper::imu_report_data_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a></td></tr>
|
|
<tr class="separator:a22334b11e0558ec663d040de9b7db8c9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8c57d66969fed0b55bdee9b57f6ed0a7" id="r_a8c57d66969fed0b55bdee9b57f6ed0a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_b_n_o08x_test_helper_1_1imu__report__data__t.html">BNO08xTestHelper::imu_report_data_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="#a8c57d66969fed0b55bdee9b57f6ed0a7">prev_report_data</a></td></tr>
|
|
<tr class="separator:a8c57d66969fed0b55bdee9b57f6ed0a7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a20cd776c25ed6d39b2dcb95d155cfbda" id="r_a20cd776c25ed6d39b2dcb95d155cfbda"><td class="memItemLeft" align="right" valign="top">const constexpr uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#a20cd776c25ed6d39b2dcb95d155cfbda">RX_REPORT_TRIAL_CNT</a> = 5</td></tr>
|
|
<tr class="separator:a20cd776c25ed6d39b2dcb95d155cfbda"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4b80e39a1f48d801615a1f7baa210071" id="r_a4b80e39a1f48d801615a1f7baa210071"><td class="memItemLeft" align="right" valign="top">const constexpr uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#a4b80e39a1f48d801615a1f7baa210071">REPORT_PERIOD</a> = 100000UL</td></tr>
|
|
<tr class="separator:a4b80e39a1f48d801615a1f7baa210071"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5a4ba60143c31271df0f72bf0e503876" id="r_a5a4ba60143c31271df0f72bf0e503876"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a> = false</td></tr>
|
|
<tr class="separator:a5a4ba60143c31271df0f72bf0e503876"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4e7be0e1e700243053709d7544201596" id="r_a4e7be0e1e700243053709d7544201596"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a> [200] = {}</td></tr>
|
|
<tr class="separator:a4e7be0e1e700243053709d7544201596"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aafbc34af64f3c93123dce5a8238efd38" id="r_aafbc34af64f3c93123dce5a8238efd38"><td class="memItemLeft" align="right" valign="top">const constexpr uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="#aafbc34af64f3c93123dce5a8238efd38">ENABLED_REPORT_CNT</a> = 2</td></tr>
|
|
<tr class="separator:aafbc34af64f3c93123dce5a8238efd38"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a79547a2396efd083faeba3e54d94360d" name="a79547a2396efd083faeba3e54d94360d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a79547a2396efd083faeba3e54d94360d">◆ </a></span>disable_accelerometer()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> disable_accelerometer </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5cc5f7e6658e3b1634d99b73dbfd06ab" name="a5cc5f7e6658e3b1634d99b73dbfd06ab"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5cc5f7e6658e3b1634d99b73dbfd06ab">◆ </a></span>disable_linear_accelerometer()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> disable_linear_accelerometer </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0f2cacda77ab92640f739aca52b1f99f" name="a0f2cacda77ab92640f739aca52b1f99f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0f2cacda77ab92640f739aca52b1f99f">◆ </a></span>enable_accelerometer()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> enable_accelerometer </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="#a4b80e39a1f48d801615a1f7baa210071">REPORT_PERIOD</a></td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3e937c8c4a4c07b81fb20077ee984fc0" name="a3e937c8c4a4c07b81fb20077ee984fc0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3e937c8c4a4c07b81fb20077ee984fc0">◆ </a></span>enable_linear_accelerometer()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> enable_linear_accelerometer </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="#a4b80e39a1f48d801615a1f7baa210071">REPORT_PERIOD</a></td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="_callback_tests_8cpp_a3e937c8c4a4c07b81fb20077ee984fc0_cgraph.png" border="0" usemap="#a_callback_tests_8cpp_a3e937c8c4a4c07b81fb20077ee984fc0_cgraph" alt=""/></div>
|
|
<map name="a_callback_tests_8cpp_a3e937c8c4a4c07b81fb20077ee984fc0_cgraph" id="a_callback_tests_8cpp_a3e937c8c4a4c07b81fb20077ee984fc0_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,181,192,208"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ab56b185d6c9e972a2b28c2621387bb86" title="Checks if BNO08x has asserted interrupt and sent data." alt="" coords="250,60,409,87"/>
|
|
<area shape="poly" title=" " alt="" coords="125,178,287,92,290,97,127,183"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#ade6be1fd8ef3a99e0edae4cbf25eb528" title="Resets internal test imu data with test defaults." alt="" coords="245,165,414,224"/>
|
|
<area shape="poly" title=" " alt="" coords="192,192,229,192,229,197,192,197"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#ac81c63583b19e5c7b3233324aaea98e2" title="Updates report data with calls relevant test_imu methods." alt="" coords="240,357,419,400"/>
|
|
<area shape="poly" title=" " alt="" coords="119,206,291,346,288,350,115,211"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a4f12de628073f44b2a3fab2688cf1caf" title="Waits for a valid or invalid packet to be received or host_int_timeout_ms to elapse." alt="" coords="489,5,643,32"/>
|
|
<area shape="poly" title=" " alt="" coords="390,57,490,33,491,39,391,62"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a3c9797a2a2be14ee6e8126f1295fa885" title="Get full acceleration (total acceleration of device, units in m/s^2)." alt="" coords="499,56,633,83"/>
|
|
<area shape="poly" title=" " alt="" coords="344,355,380,302,417,235,429,194,433,159,440,126,450,110,465,93,483,80,486,85,469,97,454,113,445,128,438,160,434,195,421,237,384,304,349,358"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a4a72489c56960d83050ae9c4b9ab75ed" title="Get the current activity classifier (Seee Ref. Manual 6.5.36)" alt="" coords="495,107,638,149"/>
|
|
<area shape="poly" title=" " alt="" coords="342,355,465,159,479,150,482,155,469,163,346,358"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#aa9291dec6c05a3786fe58221e6856e8f" title="Get full rotational velocity with drift compensation (units in Rad/s)." alt="" coords="487,173,646,216"/>
|
|
<area shape="poly" title=" " alt="" coords="343,355,392,292,427,256,465,226,473,221,476,226,469,230,430,260,396,295,347,359"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a067678914e928a6691625b17c40237a0" title="Get full reported gravity vector, units in m/s^2." alt="" coords="496,240,636,267"/>
|
|
<area shape="poly" title=" " alt="" coords="353,355,403,315,466,276,482,270,484,275,468,281,406,319,356,359"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a8f4a10a8427a266fa28fc1c85c8e850f" title="Full rotational velocity from gyro-integrated rotation vector (See Ref. Manual 6.5...." alt="" coords="486,291,646,333"/>
|
|
<area shape="poly" title=" " alt="" coords="407,354,473,335,474,341,408,359"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a4bef64b34cbff3922848c7a93aa21e46" title="Get full linear acceleration (acceleration of the device minus gravity, units in m/s^2)." alt="" coords="499,357,633,400"/>
|
|
<area shape="poly" title=" " alt="" coords="420,376,484,376,484,381,420,381"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ae766248440e76fb26bbadc6ee0b54ddb" title="Get the full magnetic field vector." alt="" coords="501,424,632,451"/>
|
|
<area shape="poly" title=" " alt="" coords="419,398,495,417,493,422,418,403"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#af5d6dae7c0f8d36b6ac91adff614ab3a" title="Get the full quaternion reading." alt="" coords="502,475,630,501"/>
|
|
<area shape="poly" title=" " alt="" coords="362,398,410,430,468,460,488,468,486,473,466,465,408,435,359,403"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ac2118c4da6631d3b9806353ca2cbba27" title="Get raw gyroscope full reading from physical gyroscope MEMs sensor (See Ref. Manual 6...." alt="" coords="467,525,665,552"/>
|
|
<area shape="poly" title=" " alt="" coords="349,399,398,455,431,485,468,511,480,517,478,522,466,516,428,490,394,459,345,402"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a248544b262582d10d917a687190cb454" title="Get the current stability classifier (Seee Ref. Manual 6.5.31)" alt="" coords="492,576,640,619"/>
|
|
<area shape="poly" title=" " alt="" coords="343,399,363,434,390,478,426,523,469,562,480,569,477,573,465,566,422,527,386,481,358,437,339,402"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#adaff49f3d80fdd19fd4210f0c56d41ef" title="Get the counted amount of steps." alt="" coords="483,643,650,669"/>
|
|
<area shape="poly" title=" " alt="" coords="339,400,354,448,379,510,417,574,441,603,469,629,475,633,472,637,465,633,437,607,413,577,375,512,349,449,333,401"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a86ff710f2b359e905c7154bfb7d5b104" title="Get full rotational velocity without drift compensation (units in Rad/s). An estimate of drift is giv..." alt="" coords="480,693,653,736"/>
|
|
<area shape="poly" title=" " alt="" coords="337,400,350,456,374,531,392,571,413,610,439,647,469,679,472,682,468,686,465,683,435,650,409,613,387,573,369,533,345,457,332,401"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a27fb24e894f794ec6228ef142b6ff8d9" title="Converts a register value to a float using its associated Q point. (See https://en...." alt="" coords="713,332,848,359"/>
|
|
<area shape="poly" title=" " alt="" coords="635,75,667,93,692,117,713,145,745,207,766,267,777,316,772,317,760,269,740,209,708,148,688,121,664,97,632,80"/>
|
|
<area shape="poly" title=" " alt="" coords="645,214,667,226,695,247,722,271,762,318,758,321,718,275,692,251,664,230,642,219"/>
|
|
<area shape="poly" title=" " alt="" coords="633,265,666,276,710,298,748,321,745,325,707,302,664,281,631,270"/>
|
|
<area shape="poly" title=" " alt="" coords="647,322,698,330,697,335,647,327"/>
|
|
<area shape="poly" title=" " alt="" coords="633,366,697,355,698,361,634,371"/>
|
|
<area shape="poly" title=" " alt="" coords="631,421,664,410,707,388,745,365,748,370,710,393,666,414,633,426"/>
|
|
<area shape="poly" title=" " alt="" coords="630,475,664,460,693,440,718,417,759,370,763,373,722,420,696,445,667,465,632,480"/>
|
|
<area shape="poly" title=" " alt="" coords="649,691,663,679,693,644,716,604,735,562,750,519,768,437,775,374,780,375,773,438,755,520,740,564,721,607,697,647,667,683,653,695"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4ac223c58b5ab6a6c5203661fafa1caa" name="a4ac223c58b5ab6a6c5203661fafa1caa"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4ac223c58b5ab6a6c5203661fafa1caa">◆ </a></span>for()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">for </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="_callback_tests_8cpp_a4ac223c58b5ab6a6c5203661fafa1caa_cgraph.png" border="0" usemap="#a_callback_tests_8cpp_a4ac223c58b5ab6a6c5203661fafa1caa_cgraph" alt=""/></div>
|
|
<map name="a_callback_tests_8cpp_a4ac223c58b5ab6a6c5203661fafa1caa_cgraph" id="a_callback_tests_8cpp_a4ac223c58b5ab6a6c5203661fafa1caa_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,189,44,216"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ab56b185d6c9e972a2b28c2621387bb86" title="Checks if BNO08x has asserted interrupt and sent data." alt="" coords="102,48,261,75"/>
|
|
<area shape="poly" title=" " alt="" coords="35,187,90,126,145,82,149,86,94,130,39,190"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#ade6be1fd8ef3a99e0edae4cbf25eb528" title="Resets internal test imu data with test defaults." alt="" coords="97,140,266,199"/>
|
|
<area shape="poly" title=" " alt="" coords="44,196,81,188,82,193,45,201"/>
|
|
<area shape="rect" href="_callback_tests_8cpp.html#a9091949d4ea860523915687536d5c4d3" title=" " alt="" coords="100,223,263,249"/>
|
|
<area shape="poly" title=" " alt="" coords="45,204,101,216,100,221,44,209"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#ac81c63583b19e5c7b3233324aaea98e2" title="Updates report data with calls relevant test_imu methods." alt="" coords="92,357,271,400"/>
|
|
<area shape="poly" title=" " alt="" coords="40,215,153,344,149,347,36,218"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a4f12de628073f44b2a3fab2688cf1caf" title="Waits for a valid or invalid packet to be received or host_int_timeout_ms to elapse." alt="" coords="341,5,495,32"/>
|
|
<area shape="poly" title=" " alt="" coords="259,45,325,33,326,38,260,50"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a3c9797a2a2be14ee6e8126f1295fa885" title="Get full acceleration (total acceleration of device, units in m/s^2)." alt="" coords="351,56,485,83"/>
|
|
<area shape="poly" title=" " alt="" coords="201,355,235,313,269,260,278,236,283,213,285,172,291,133,300,113,317,93,335,80,338,84,321,97,305,116,296,134,290,173,288,214,283,237,273,263,240,316,205,359"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a4a72489c56960d83050ae9c4b9ab75ed" title="Get the current activity classifier (Seee Ref. Manual 6.5.36)" alt="" coords="347,107,490,149"/>
|
|
<area shape="poly" title=" " alt="" coords="199,355,233,312,269,260,282,232,288,207,297,183,317,159,331,149,334,153,321,163,302,186,293,209,287,233,273,263,237,315,203,358"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#aa9291dec6c05a3786fe58221e6856e8f" title="Get full rotational velocity with drift compensation (units in Rad/s)." alt="" coords="339,173,498,216"/>
|
|
<area shape="poly" title=" " alt="" coords="195,355,244,292,279,256,318,226,325,221,328,226,321,230,282,260,248,295,199,359"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a067678914e928a6691625b17c40237a0" title="Get full reported gravity vector, units in m/s^2." alt="" coords="348,240,488,267"/>
|
|
<area shape="poly" title=" " alt="" coords="205,355,255,315,318,276,334,270,336,275,320,281,258,319,208,359"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a8f4a10a8427a266fa28fc1c85c8e850f" title="Full rotational velocity from gyro-integrated rotation vector (See Ref. Manual 6.5...." alt="" coords="338,291,498,333"/>
|
|
<area shape="poly" title=" " alt="" coords="259,354,325,335,326,341,260,359"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a4bef64b34cbff3922848c7a93aa21e46" title="Get full linear acceleration (acceleration of the device minus gravity, units in m/s^2)." alt="" coords="351,357,485,400"/>
|
|
<area shape="poly" title=" " alt="" coords="272,376,336,376,336,381,272,381"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ae766248440e76fb26bbadc6ee0b54ddb" title="Get the full magnetic field vector." alt="" coords="353,424,484,451"/>
|
|
<area shape="poly" title=" " alt="" coords="271,398,347,417,346,422,270,403"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#af5d6dae7c0f8d36b6ac91adff614ab3a" title="Get the full quaternion reading." alt="" coords="354,475,482,501"/>
|
|
<area shape="poly" title=" " alt="" coords="214,398,262,430,320,460,340,468,339,473,318,465,260,435,211,403"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ac2118c4da6631d3b9806353ca2cbba27" title="Get raw gyroscope full reading from physical gyroscope MEMs sensor (See Ref. Manual 6...." alt="" coords="319,525,517,552"/>
|
|
<area shape="poly" title=" " alt="" coords="201,399,250,455,283,485,320,511,332,517,330,522,318,516,280,490,246,459,197,402"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a248544b262582d10d917a687190cb454" title="Get the current stability classifier (Seee Ref. Manual 6.5.31)" alt="" coords="344,576,492,619"/>
|
|
<area shape="poly" title=" " alt="" coords="195,399,215,434,243,478,278,523,321,562,332,569,329,573,317,566,274,527,238,481,210,437,191,402"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#adaff49f3d80fdd19fd4210f0c56d41ef" title="Get the counted amount of steps." alt="" coords="335,643,502,669"/>
|
|
<area shape="poly" title=" " alt="" coords="191,400,206,448,232,510,270,574,293,603,321,629,327,633,324,637,317,633,289,607,265,577,227,512,201,449,186,401"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a86ff710f2b359e905c7154bfb7d5b104" title="Get full rotational velocity without drift compensation (units in Rad/s). An estimate of drift is giv..." alt="" coords="332,693,505,736"/>
|
|
<area shape="poly" title=" " alt="" coords="189,400,202,456,226,531,244,571,265,610,291,647,321,679,324,682,321,686,317,683,287,650,261,613,239,573,221,533,197,457,184,401"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a27fb24e894f794ec6228ef142b6ff8d9" title="Converts a register value to a float using its associated Q point. (See https://en...." alt="" coords="565,332,700,359"/>
|
|
<area shape="poly" title=" " alt="" coords="487,75,519,93,544,117,565,145,597,207,618,267,629,316,624,317,612,269,592,209,560,148,540,121,516,97,484,80"/>
|
|
<area shape="poly" title=" " alt="" coords="497,214,519,226,547,247,574,271,614,318,610,321,570,275,544,251,516,230,494,219"/>
|
|
<area shape="poly" title=" " alt="" coords="485,265,518,276,562,298,600,321,598,325,559,302,516,281,483,270"/>
|
|
<area shape="poly" title=" " alt="" coords="499,322,550,330,549,335,499,327"/>
|
|
<area shape="poly" title=" " alt="" coords="486,366,550,355,550,361,486,371"/>
|
|
<area shape="poly" title=" " alt="" coords="483,421,516,410,559,388,598,365,600,370,562,393,518,414,485,426"/>
|
|
<area shape="poly" title=" " alt="" coords="482,475,516,460,545,440,570,417,611,370,615,373,574,420,548,445,519,465,484,480"/>
|
|
<area shape="poly" title=" " alt="" coords="501,691,516,679,545,644,569,604,587,562,602,519,620,437,627,374,632,375,625,438,607,520,592,564,573,607,549,647,519,683,505,695"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6df8508e34beaeb28f34554ce0e20573" name="a6df8508e34beaeb28f34554ce0e20573"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6df8508e34beaeb28f34554ce0e20573">◆ </a></span>register_cb() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> register_cb </td>
|
|
<td>(</td>
|
|
<td class="paramtype">[&imu, &new_data, &report_data, &prev_report_data, &msg_buff] () { static int cb_execution_cnt=0;cb_execution_cnt++;<a class="el" href="class_b_n_o08x_test_helper.html#ac81c63583b19e5c7b3233324aaea98e2">BNO08xTestHelper::update_report_data</a>(&<a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a>);if(<a class="el" href="class_b_n_o08x_test_helper.html#ade97098806c8779b26f9c166c4b03eea">BNO08xTestHelper::accelerometer_data_is_new</a>(&<a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a>, &<a class="el" href="#a8c57d66969fed0b55bdee9b57f6ed0a7">prev_report_data</a>)) { <a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a>=true;sprintf(<a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>, "Rx Data Trial %d Success: AngularAccel: aX: %.2lf accel aY: %.2lf accel aZ: " "%.2lf Accuracy %s", cb_execution_cnt, report_data.accel_x, report_data.accel_y, report_data.accel_z, <a class="el" href="class_b_n_o08x_test_helper.html#a857b66c12c231af0d546c026ec017ab3">BNO08xTestHelper::BNO08xAccuracy_to_str</a>(report_data.accel_accuracy));<a class="el" href="class_b_n_o08x_test_helper.html#a7fbfc48c0fff306ab81e2320bc171002">BNO08xTestHelper::print_test_msg</a>(TEST_TAG, <a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>);} }</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="_callback_tests_8cpp_a6df8508e34beaeb28f34554ce0e20573_cgraph.png" border="0" usemap="#a_callback_tests_8cpp_a6df8508e34beaeb28f34554ce0e20573_cgraph" alt=""/></div>
|
|
<map name="a_callback_tests_8cpp_a6df8508e34beaeb28f34554ce0e20573_cgraph" id="a_callback_tests_8cpp_a6df8508e34beaeb28f34554ce0e20573_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,244,91,271"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#ade97098806c8779b26f9c166c4b03eea" title="Checks if report_data matches the default states stored within prev_report_data data for respective r..." alt="" coords="139,136,361,179"/>
|
|
<area shape="poly" title=" " alt="" coords="62,242,95,215,137,188,150,182,152,187,140,193,98,219,66,246"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#a857b66c12c231af0d546c026ec017ab3" title="Converts BNO08xAccuracy enum class object to string." alt="" coords="155,203,345,245"/>
|
|
<area shape="poly" title=" " alt="" coords="91,248,140,240,140,245,92,253"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#a7fbfc48c0fff306ab81e2320bc171002" title="Prints a message during a test." alt="" coords="167,269,333,312"/>
|
|
<area shape="poly" title=" " alt="" coords="92,262,152,272,151,277,91,267"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#ac81c63583b19e5c7b3233324aaea98e2" title="Updates report data with calls relevant test_imu methods." alt="" coords="160,336,340,379"/>
|
|
<area shape="poly" title=" " alt="" coords="66,269,98,295,140,322,152,327,150,332,137,326,95,300,62,273"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a3c9797a2a2be14ee6e8126f1295fa885" title="Get full acceleration (total acceleration of device, units in m/s^2)." alt="" coords="441,5,575,32"/>
|
|
<area shape="poly" title=" " alt="" coords="338,338,359,322,381,288,389,253,388,219,382,184,376,149,375,113,383,78,407,42,425,29,428,33,411,46,388,80,380,114,381,148,387,183,393,218,394,254,386,290,363,326,342,343"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a4a72489c56960d83050ae9c4b9ab75ed" title="Get the current activity classifier (Seee Ref. Manual 6.5.36)" alt="" coords="437,56,580,99"/>
|
|
<area shape="poly" title=" " alt="" coords="338,338,359,322,377,296,385,270,385,244,383,218,380,191,381,164,389,137,407,109,421,97,425,101,411,112,393,139,386,165,385,191,388,217,391,244,390,271,382,299,363,326,342,342"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#aa9291dec6c05a3786fe58221e6856e8f" title="Get full rotational velocity with drift compensation (units in Rad/s)." alt="" coords="429,123,588,165"/>
|
|
<area shape="poly" title=" " alt="" coords="338,337,359,322,373,305,380,287,383,251,385,214,393,194,407,176,414,169,417,173,411,179,397,197,391,215,388,251,385,288,377,307,363,326,342,341"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a067678914e928a6691625b17c40237a0" title="Get full reported gravity vector, units in m/s^2." alt="" coords="438,189,578,216"/>
|
|
<area shape="poly" title=" " alt="" coords="338,335,359,322,370,311,376,299,382,275,389,250,396,238,407,226,422,216,425,221,411,230,400,241,393,252,387,276,381,301,374,314,363,326,341,340"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a8f4a10a8427a266fa28fc1c85c8e850f" title="Full rotational velocity from gyro-integrated rotation vector (See Ref. Manual 6.5...." alt="" coords="428,240,588,283"/>
|
|
<area shape="poly" title=" " alt="" coords="331,333,360,322,384,307,408,292,421,286,424,291,410,297,386,312,362,326,333,338"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a4bef64b34cbff3922848c7a93aa21e46" title="Get full linear acceleration (acceleration of the device minus gravity, units in m/s^2)." alt="" coords="441,307,575,349"/>
|
|
<area shape="poly" title=" " alt="" coords="340,345,425,335,426,340,340,350"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ae766248440e76fb26bbadc6ee0b54ddb" title="Get the full magnetic field vector." alt="" coords="443,373,574,400"/>
|
|
<area shape="poly" title=" " alt="" coords="340,365,427,375,427,380,340,370"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#af5d6dae7c0f8d36b6ac91adff614ab3a" title="Get the full quaternion reading." alt="" coords="444,424,572,451"/>
|
|
<area shape="poly" title=" " alt="" coords="312,377,410,409,436,417,434,422,408,415,310,382"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ac2118c4da6631d3b9806353ca2cbba27" title="Get raw gyroscope full reading from physical gyroscope MEMs sensor (See Ref. Manual 6...." alt="" coords="409,475,607,501"/>
|
|
<area shape="poly" title=" " alt="" coords="279,377,337,419,410,460,427,467,425,472,408,465,334,424,276,381"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a248544b262582d10d917a687190cb454" title="Get the current stability classifier (Seee Ref. Manual 6.5.31)" alt="" coords="434,525,582,568"/>
|
|
<area shape="poly" title=" " alt="" coords="270,377,328,443,367,479,410,511,421,517,418,522,408,516,364,483,324,447,266,381"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#adaff49f3d80fdd19fd4210f0c56d41ef" title="Get the counted amount of steps." alt="" coords="425,592,592,619"/>
|
|
<area shape="poly" title=" " alt="" coords="263,378,284,421,316,475,358,531,383,556,411,578,419,583,416,587,407,582,380,560,354,534,311,478,279,423,258,380"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a86ff710f2b359e905c7154bfb7d5b104" title="Get full rotational velocity without drift compensation (units in Rad/s). An estimate of drift is giv..." alt="" coords="422,643,595,685"/>
|
|
<area shape="poly" title=" " alt="" coords="260,378,279,429,310,497,354,567,381,600,411,629,415,632,412,636,407,633,377,604,349,571,305,499,274,431,255,380"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a27fb24e894f794ec6228ef142b6ff8d9" title="Converts a register value to a float using its associated Q point. (See https://en...." alt="" coords="655,281,790,308"/>
|
|
<area shape="poly" title=" " alt="" coords="577,25,609,42,634,67,655,95,687,156,708,217,719,265,714,267,702,218,682,159,650,98,630,70,606,46,574,30"/>
|
|
<area shape="poly" title=" " alt="" coords="587,163,609,175,637,196,664,221,704,267,700,271,660,224,634,200,606,180,584,168"/>
|
|
<area shape="poly" title=" " alt="" coords="575,214,608,226,652,247,690,270,687,275,649,252,606,230,573,219"/>
|
|
<area shape="poly" title=" " alt="" coords="589,271,640,279,639,284,589,276"/>
|
|
<area shape="poly" title=" " alt="" coords="575,315,639,305,640,310,576,320"/>
|
|
<area shape="poly" title=" " alt="" coords="573,370,606,359,649,338,687,315,690,319,652,342,608,364,575,375"/>
|
|
<area shape="poly" title=" " alt="" coords="572,424,606,410,635,390,660,366,701,319,705,323,664,370,638,394,609,414,574,429"/>
|
|
<area shape="poly" title=" " alt="" coords="591,640,605,629,635,594,658,554,677,511,692,468,710,386,717,323,722,324,715,387,697,469,682,513,663,556,639,597,609,633,595,644"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8dba989b01b464871f3232223050ec73" name="a8dba989b01b464871f3232223050ec73"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8dba989b01b464871f3232223050ec73">◆ </a></span>register_cb() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="#ac36e56130d5d806898f3545d4cdf0f70">imu</a> register_cb </td>
|
|
<td>(</td>
|
|
<td class="paramtype">[&imu, &new_data, &report_data, &prev_report_data, &msg_buff] () { static int cb_execution_cnt=0;cb_execution_cnt++;<a class="el" href="class_b_n_o08x_test_helper.html#ac81c63583b19e5c7b3233324aaea98e2">BNO08xTestHelper::update_report_data</a>(&<a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a>);if(<a class="el" href="class_b_n_o08x_test_helper.html#ade97098806c8779b26f9c166c4b03eea">BNO08xTestHelper::accelerometer_data_is_new</a>(&<a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a>, &<a class="el" href="#a8c57d66969fed0b55bdee9b57f6ed0a7">prev_report_data</a>)) { <a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a>[0]=true;sprintf(<a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>, "Rx Data Trial %d Success: AngularAccel: aX: %.2lf accel aY: %.2lf accel aZ: " "%.2lf Accuracy %s", cb_execution_cnt, report_data.accel_x, report_data.accel_y, report_data.accel_z, <a class="el" href="class_b_n_o08x_test_helper.html#a857b66c12c231af0d546c026ec017ab3">BNO08xTestHelper::BNO08xAccuracy_to_str</a>(report_data.accel_accuracy));<a class="el" href="class_b_n_o08x_test_helper.html#a7fbfc48c0fff306ab81e2320bc171002">BNO08xTestHelper::print_test_msg</a>(TEST_TAG, <a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>);} if(<a class="el" href="class_b_n_o08x_test_helper.html#ad398739ce46400c1ac35e1cf7603d590">BNO08xTestHelper::linear_accelerometer_data_is_new</a>(&<a class="el" href="#a22334b11e0558ec663d040de9b7db8c9">report_data</a>, &<a class="el" href="#a8c57d66969fed0b55bdee9b57f6ed0a7">prev_report_data</a>)) { <a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a>[1]=true;sprintf(<a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>, "Rx Data Trial %d Success: LinearAccel: laX: %.2lf laY: %.2lf laZ: " "%.2lf Accuracy: %s",(cb_execution_cnt+1), report_data.lin_accel_x, report_data.lin_accel_y, report_data.lin_accel_z, <a class="el" href="class_b_n_o08x_test_helper.html#a857b66c12c231af0d546c026ec017ab3">BNO08xTestHelper::BNO08xAccuracy_to_str</a>(report_data.lin_accel_accuracy));<a class="el" href="class_b_n_o08x_test_helper.html#a7fbfc48c0fff306ab81e2320bc171002">BNO08xTestHelper::print_test_msg</a>(TEST_TAG, <a class="el" href="#a4e7be0e1e700243053709d7544201596">msg_buff</a>);} }</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="_callback_tests_8cpp_a8dba989b01b464871f3232223050ec73_cgraph.png" border="0" usemap="#a_callback_tests_8cpp_a8dba989b01b464871f3232223050ec73_cgraph" alt=""/></div>
|
|
<map name="a_callback_tests_8cpp_a8dba989b01b464871f3232223050ec73_cgraph" id="a_callback_tests_8cpp_a8dba989b01b464871f3232223050ec73_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,211,91,237"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#ade97098806c8779b26f9c166c4b03eea" title="Checks if report_data matches the default states stored within prev_report_data data for respective r..." alt="" coords="139,69,361,112"/>
|
|
<area shape="poly" title=" " alt="" coords="56,209,88,166,111,142,137,122,145,117,148,122,140,126,115,146,92,169,60,212"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#a857b66c12c231af0d546c026ec017ab3" title="Converts BNO08xAccuracy enum class object to string." alt="" coords="155,136,345,179"/>
|
|
<area shape="poly" title=" " alt="" coords="84,208,138,188,159,181,160,186,140,193,86,213"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#ad398739ce46400c1ac35e1cf7603d590" title="Checks if report_data matches the default states stored within prev_report_data data for respective r..." alt="" coords="155,203,345,245"/>
|
|
<area shape="poly" title=" " alt="" coords="91,221,140,221,140,227,91,227"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#a7fbfc48c0fff306ab81e2320bc171002" title="Prints a message during a test." alt="" coords="167,269,333,312"/>
|
|
<area shape="poly" title=" " alt="" coords="86,235,140,255,160,262,159,267,138,260,84,240"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#ac81c63583b19e5c7b3233324aaea98e2" title="Updates report data with calls relevant test_imu methods." alt="" coords="160,336,340,379"/>
|
|
<area shape="poly" title=" " alt="" coords="60,236,92,279,115,302,140,322,148,326,145,331,137,326,111,306,88,282,56,239"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a3c9797a2a2be14ee6e8126f1295fa885" title="Get full acceleration (total acceleration of device, units in m/s^2)." alt="" coords="441,5,575,32"/>
|
|
<area shape="poly" title=" " alt="" coords="338,338,359,322,381,288,389,253,388,219,382,184,376,149,375,113,383,78,407,42,425,29,428,33,411,46,388,80,380,114,381,148,387,183,393,218,394,254,386,290,363,326,342,343"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a4a72489c56960d83050ae9c4b9ab75ed" title="Get the current activity classifier (Seee Ref. Manual 6.5.36)" alt="" coords="437,56,580,99"/>
|
|
<area shape="poly" title=" " alt="" coords="338,338,359,322,377,296,385,270,385,244,383,218,380,191,381,164,389,137,407,109,421,97,425,101,411,112,393,139,386,165,385,191,388,217,391,244,390,271,382,299,363,326,342,342"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#aa9291dec6c05a3786fe58221e6856e8f" title="Get full rotational velocity with drift compensation (units in Rad/s)." alt="" coords="429,123,588,165"/>
|
|
<area shape="poly" title=" " alt="" coords="338,337,359,322,373,305,380,287,383,251,385,214,393,194,407,176,414,169,417,173,411,179,397,197,391,215,388,251,385,288,377,307,363,326,342,341"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a067678914e928a6691625b17c40237a0" title="Get full reported gravity vector, units in m/s^2." alt="" coords="438,189,578,216"/>
|
|
<area shape="poly" title=" " alt="" coords="338,335,359,322,370,311,376,299,382,275,389,250,396,238,407,226,422,216,425,221,411,230,400,241,393,252,387,276,381,301,374,314,363,326,341,340"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a8f4a10a8427a266fa28fc1c85c8e850f" title="Full rotational velocity from gyro-integrated rotation vector (See Ref. Manual 6.5...." alt="" coords="428,240,588,283"/>
|
|
<area shape="poly" title=" " alt="" coords="331,333,360,322,384,307,408,292,421,286,424,291,410,297,386,312,362,326,333,338"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a4bef64b34cbff3922848c7a93aa21e46" title="Get full linear acceleration (acceleration of the device minus gravity, units in m/s^2)." alt="" coords="441,307,575,349"/>
|
|
<area shape="poly" title=" " alt="" coords="340,345,425,335,426,340,340,350"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ae766248440e76fb26bbadc6ee0b54ddb" title="Get the full magnetic field vector." alt="" coords="443,373,574,400"/>
|
|
<area shape="poly" title=" " alt="" coords="340,365,427,375,427,380,340,370"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#af5d6dae7c0f8d36b6ac91adff614ab3a" title="Get the full quaternion reading." alt="" coords="444,424,572,451"/>
|
|
<area shape="poly" title=" " alt="" coords="312,377,410,409,436,417,434,422,408,415,310,382"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ac2118c4da6631d3b9806353ca2cbba27" title="Get raw gyroscope full reading from physical gyroscope MEMs sensor (See Ref. Manual 6...." alt="" coords="409,475,607,501"/>
|
|
<area shape="poly" title=" " alt="" coords="279,377,337,419,410,460,427,467,425,472,408,465,334,424,276,381"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a248544b262582d10d917a687190cb454" title="Get the current stability classifier (Seee Ref. Manual 6.5.31)" alt="" coords="434,525,582,568"/>
|
|
<area shape="poly" title=" " alt="" coords="270,377,328,443,367,479,410,511,421,517,418,522,408,516,364,483,324,447,266,381"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#adaff49f3d80fdd19fd4210f0c56d41ef" title="Get the counted amount of steps." alt="" coords="425,592,592,619"/>
|
|
<area shape="poly" title=" " alt="" coords="263,378,284,421,316,475,358,531,383,556,411,578,419,583,416,587,407,582,380,560,354,534,311,478,279,423,258,380"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a86ff710f2b359e905c7154bfb7d5b104" title="Get full rotational velocity without drift compensation (units in Rad/s). An estimate of drift is giv..." alt="" coords="422,643,595,685"/>
|
|
<area shape="poly" title=" " alt="" coords="260,378,279,429,310,497,354,567,381,600,411,629,415,632,412,636,407,633,377,604,349,571,305,499,274,431,255,380"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a27fb24e894f794ec6228ef142b6ff8d9" title="Converts a register value to a float using its associated Q point. (See https://en...." alt="" coords="655,281,790,308"/>
|
|
<area shape="poly" title=" " alt="" coords="577,25,609,42,634,67,655,95,687,156,708,217,719,265,714,267,702,218,682,159,650,98,630,70,606,46,574,30"/>
|
|
<area shape="poly" title=" " alt="" coords="587,163,609,175,637,196,664,221,704,267,700,271,660,224,634,200,606,180,584,168"/>
|
|
<area shape="poly" title=" " alt="" coords="575,214,608,226,652,247,690,270,687,275,649,252,606,230,573,219"/>
|
|
<area shape="poly" title=" " alt="" coords="589,271,640,279,639,284,589,276"/>
|
|
<area shape="poly" title=" " alt="" coords="575,315,639,305,640,310,576,320"/>
|
|
<area shape="poly" title=" " alt="" coords="573,370,606,359,649,338,687,315,690,319,652,342,608,364,575,375"/>
|
|
<area shape="poly" title=" " alt="" coords="572,424,606,410,635,390,660,366,701,319,705,323,664,370,638,394,609,414,574,429"/>
|
|
<area shape="poly" title=" " alt="" coords="591,640,605,629,635,594,658,554,677,511,692,468,710,386,717,323,722,324,715,387,697,469,682,513,663,556,639,597,609,633,595,644"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9091949d4ea860523915687536d5c4d3" name="a9091949d4ea860523915687536d5c4d3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9091949d4ea860523915687536d5c4d3">◆ </a></span>TEST_ASSERT_EQUAL() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">TEST_ASSERT_EQUAL </td>
|
|
<td>(</td>
|
|
<td class="paramtype">true</td> <td class="paramname"><span class="paramname">, </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a></td> <td class="paramname"><span class="paramname">[0]</span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<div class="dynheader">
|
|
Here is the caller graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="_callback_tests_8cpp_a9091949d4ea860523915687536d5c4d3_icgraph.png" border="0" usemap="#a_callback_tests_8cpp_a9091949d4ea860523915687536d5c4d3_icgraph" alt=""/></div>
|
|
<map name="a_callback_tests_8cpp_a9091949d4ea860523915687536d5c4d3_icgraph" id="a_callback_tests_8cpp_a9091949d4ea860523915687536d5c4d3_icgraph">
|
|
<area shape="rect" title=" " alt="" coords="150,715,313,741"/>
|
|
<area shape="rect" href="_callback_tests_8cpp.html#a4ac223c58b5ab6a6c5203661fafa1caa" title=" " alt="" coords="34,5,73,32"/>
|
|
<area shape="poly" title=" " alt="" coords="225,699,213,563,188,369,171,269,151,176,127,99,100,46,87,34,72,27,74,22,90,30,104,42,132,97,156,175,176,267,193,368,218,563,231,699"/>
|
|
<area shape="rect" href="_callback_tests_8cpp.html#ac18b9cb122499f587331d82a538f23aa" title=" " alt="" coords="5,56,102,83"/>
|
|
<area shape="poly" title=" " alt="" coords="225,699,211,572,185,393,168,301,148,216,125,146,100,96,88,85,91,81,104,93,130,143,153,215,173,300,191,392,216,572,230,699"/>
|
|
<area shape="rect" href="_multi_report_tests_8cpp.html#a1fd7b6a0d4dbb7f91fd5691b5b054bda" title=" " alt="" coords="5,107,102,133"/>
|
|
<area shape="poly" title=" " alt="" coords="224,699,209,581,183,417,165,333,146,256,124,192,100,147,87,136,91,132,104,144,128,190,151,254,171,332,188,416,214,581,229,699"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#aac644123799c1f836d379c9789a064ab" title=" " alt="" coords="5,157,102,184"/>
|
|
<area shape="poly" title=" " alt="" coords="228,699,226,607,220,544,210,475,194,403,171,330,140,261,100,198,87,186,91,182,104,194,145,258,176,329,199,402,215,474,225,544,231,606,233,699"/>
|
|
<area shape="rect" href="_multi_report_tests_8cpp.html#aa9e0389fa75046b52d13286af2c3b2a7" title=" " alt="" coords="5,208,102,235"/>
|
|
<area shape="poly" title=" " alt="" coords="227,699,222,614,204,496,188,431,166,367,137,305,100,248,87,237,90,233,104,245,141,302,171,365,193,430,210,495,227,614,233,699"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#aaefa1a1d4b3c190b7f46bb7f42512949" title=" " alt="" coords="5,259,102,285"/>
|
|
<area shape="poly" title=" " alt="" coords="226,700,219,623,199,518,183,461,161,403,134,349,100,299,87,288,90,284,104,296,138,346,166,401,188,459,204,517,224,622,231,699"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#a098111e0f361615318674b5b1b05ece4" title=" " alt="" coords="5,309,102,336"/>
|
|
<area shape="poly" title=" " alt="" coords="225,700,215,631,193,539,177,489,156,440,131,393,100,350,86,338,90,334,104,346,135,390,161,438,182,487,198,538,220,630,230,699"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#a35b0417a053d9fbf61a91a2110c3495c" title=" " alt="" coords="5,360,102,387"/>
|
|
<area shape="poly" title=" " alt="" coords="223,700,211,640,187,561,151,477,127,437,100,401,86,389,89,385,104,397,132,434,156,474,192,559,216,638,228,699"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#af9d07441bd8651bc21743664b7f99bb8" title=" " alt="" coords="5,411,102,437"/>
|
|
<area shape="poly" title=" " alt="" coords="221,700,206,649,181,583,146,514,124,481,100,451,85,440,89,436,104,447,129,478,151,511,186,581,211,647,226,699"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#ace1544ccc126d0b9eadd433f9cb41486" title=" " alt="" coords="5,461,102,488"/>
|
|
<area shape="poly" title=" " alt="" coords="218,701,200,659,175,606,141,551,100,502,85,491,88,486,104,498,145,548,179,604,205,657,223,699"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#a90980a9fc26b3a692ab2529c9f8e4747" title=" " alt="" coords="5,512,102,539"/>
|
|
<area shape="poly" title=" " alt="" coords="214,703,168,630,136,590,100,553,84,541,87,537,103,549,140,586,172,627,218,700"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#ab9b4ae43e33572d90c4c889452cd91ee" title=" " alt="" coords="5,563,102,589"/>
|
|
<area shape="poly" title=" " alt="" coords="207,705,160,655,100,603,82,592,85,588,103,599,163,651,210,701"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#a713376354af2a970230882e2a487050e" title=" " alt="" coords="5,613,102,640"/>
|
|
<area shape="poly" title=" " alt="" coords="193,709,100,654,79,643,82,638,103,650,196,704"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#ae4d70e11995e36808b6390b171aba0e8" title=" " alt="" coords="5,664,102,691"/>
|
|
<area shape="poly" title=" " alt="" coords="166,712,101,693,103,688,168,707"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#a429f6e7897a9609ddd093d66b6f7b1ff" title=" " alt="" coords="5,715,102,741"/>
|
|
<area shape="poly" title=" " alt="" coords="134,731,102,731,102,725,134,725"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#ae436161f7f0085f01ce63d9373944ae8" title=" " alt="" coords="5,765,102,792"/>
|
|
<area shape="poly" title=" " alt="" coords="168,749,103,768,101,763,166,744"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#acf249e215fca056266de6e833875925e" title=" " alt="" coords="5,816,102,843"/>
|
|
<area shape="poly" title=" " alt="" coords="196,752,103,806,82,818,79,813,100,802,193,747"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#a9f2e049a5b61721869c5f4757e313502" title=" " alt="" coords="5,867,102,893"/>
|
|
<area shape="poly" title=" " alt="" coords="210,755,163,805,103,857,85,868,82,864,100,853,160,801,207,751"/>
|
|
<area shape="rect" href="_single_report_tests_8cpp.html#a3cce613b379b768244a176a32b37667c" title=" " alt="" coords="5,917,102,944"/>
|
|
<area shape="poly" title=" " alt="" coords="218,756,172,829,140,870,103,907,87,919,84,915,100,903,136,866,168,826,214,753"/>
|
|
<area shape="rect" href="_init_deinit_tests_8cpp.html#a69680e2934e7ec3c6a1771270dc59f05" title=" " alt="" coords="5,968,102,995"/>
|
|
<area shape="poly" title=" " alt="" coords="223,757,205,799,179,852,145,908,104,958,88,970,85,965,100,954,141,905,175,850,200,797,218,755"/>
|
|
<area shape="rect" href="_multi_report_tests_8cpp.html#ad96cfd7c30e8693897688ce24bb53996" title=" " alt="" coords="5,1019,102,1045"/>
|
|
<area shape="poly" title=" " alt="" coords="226,757,211,809,186,875,151,945,129,978,104,1009,89,1020,85,1016,100,1005,124,975,146,942,181,873,206,807,221,756"/>
|
|
<area shape="rect" href="_init_deinit_tests_8cpp.html#ac4fb371054271d54830b58cc164dc0f6" title=" " alt="" coords="5,1069,102,1096"/>
|
|
<area shape="poly" title=" " alt="" coords="228,757,216,818,192,897,156,982,132,1022,104,1059,89,1071,86,1067,100,1055,127,1019,151,979,187,895,211,816,223,756"/>
|
|
<area shape="rect" href="_init_deinit_tests_8cpp.html#a6ed5310154fb7e7f290e619e6fbed708" title=" " alt="" coords="5,1120,102,1147"/>
|
|
<area shape="poly" title=" " alt="" coords="230,757,220,826,198,918,182,969,161,1018,135,1066,104,1110,90,1122,86,1118,100,1106,131,1063,156,1016,177,967,193,917,215,825,225,756"/>
|
|
<area shape="rect" href="_init_deinit_tests_8cpp.html#a96d79e5c8f3096a207d806be926af15b" title=" " alt="" coords="5,1171,102,1197"/>
|
|
<area shape="poly" title=" " alt="" coords="231,757,224,834,204,939,188,997,166,1055,138,1110,104,1160,90,1172,87,1168,100,1157,134,1107,161,1053,183,995,199,938,219,833,226,756"/>
|
|
<area shape="rect" href="_init_deinit_tests_8cpp.html#ab8015ecd4179bc39223921d6eef1165a" title=" " alt="" coords="5,1221,102,1248"/>
|
|
<area shape="poly" title=" " alt="" coords="233,757,227,842,210,961,193,1026,171,1091,141,1154,104,1211,90,1223,87,1219,100,1208,137,1151,166,1089,188,1025,204,960,222,842,227,757"/>
|
|
<area shape="rect" href="_init_deinit_tests_8cpp.html#ad71fea7e4a2e587d48d2bf7fadd711cc" title=" " alt="" coords="5,1272,102,1299"/>
|
|
<area shape="poly" title=" " alt="" coords="233,757,231,850,225,912,215,982,199,1054,176,1127,145,1198,104,1262,91,1274,87,1270,100,1258,140,1195,171,1126,194,1053,210,981,220,912,226,849,228,757"/>
|
|
<area shape="rect" href="_init_deinit_tests_8cpp.html#a9f7d58c894a252a5d5f4926f43c1da05" title=" " alt="" coords="5,1323,102,1349"/>
|
|
<area shape="poly" title=" " alt="" coords="229,757,214,875,188,1040,171,1124,151,1202,128,1266,104,1312,91,1324,87,1320,100,1309,124,1264,146,1200,165,1123,183,1039,209,875,224,757"/>
|
|
<area shape="rect" href="_multi_report_tests_8cpp.html#a1438f6b8587b635b6096dda2927fa9a1" title=" " alt="" coords="5,1373,102,1400"/>
|
|
<area shape="poly" title=" " alt="" coords="230,757,216,884,191,1064,173,1156,153,1241,130,1313,104,1363,91,1375,88,1371,100,1360,125,1310,148,1240,168,1155,185,1063,211,884,225,757"/>
|
|
<area shape="rect" href="_multi_report_tests_8cpp.html#a915d6c272bf95057a8bb22abfb307882" title=" " alt="" coords="5,1424,102,1451"/>
|
|
<area shape="poly" title=" " alt="" coords="231,757,218,893,193,1088,176,1189,156,1281,132,1359,104,1414,91,1425,88,1421,100,1410,127,1357,151,1280,171,1187,188,1087,213,893,225,757"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa6754207db4cfba956441680c7a6a97d" name="aa6754207db4cfba956441680c7a6a97d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa6754207db4cfba956441680c7a6a97d">◆ </a></span>TEST_ASSERT_EQUAL() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">TEST_ASSERT_EQUAL </td>
|
|
<td>(</td>
|
|
<td class="paramtype">true</td> <td class="paramname"><span class="paramname">, </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="#a5a4ba60143c31271df0f72bf0e503876">new_data</a></td> <td class="paramname"><span class="paramname">[1]</span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a574f179a8295301510bc8b5475f02ba8" name="a574f179a8295301510bc8b5475f02ba8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a574f179a8295301510bc8b5475f02ba8">◆ </a></span>TEST_CASE() <span class="overload">[1/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">TEST_CASE </td>
|
|
<td>(</td>
|
|
<td class="paramtype">"BNO08x Driver Cleanup <a class="el" href="#a4ac223c58b5ab6a6c5203661fafa1caa">for</a> Tests"</td> <td class="paramname"><span class="paramname">[CallbackTests], </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">""</td> <td class="paramname"><span class="paramname">[CallbackTests]</span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="_callback_tests_8cpp_a574f179a8295301510bc8b5475f02ba8_cgraph.png" border="0" usemap="#a_callback_tests_8cpp_a574f179a8295301510bc8b5475f02ba8_cgraph" alt=""/></div>
|
|
<map name="a_callback_tests_8cpp_a574f179a8295301510bc8b5475f02ba8_cgraph" id="a_callback_tests_8cpp_a574f179a8295301510bc8b5475f02ba8_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,47,102,73"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#ae2d6df7dcfdbd106c2247803461bbc40" title="Deletes test IMU calling deconstructor and releases heap allocated memory." alt="" coords="150,5,333,48"/>
|
|
<area shape="poly" title=" " alt="" coords="102,49,134,43,135,48,103,54"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#a7fbfc48c0fff306ab81e2320bc171002" title="Prints a message during a test." alt="" coords="159,72,324,115"/>
|
|
<area shape="poly" title=" " alt="" coords="103,66,144,73,143,79,102,71"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac18b9cb122499f587331d82a538f23aa" name="ac18b9cb122499f587331d82a538f23aa"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac18b9cb122499f587331d82a538f23aa">◆ </a></span>TEST_CASE() <span class="overload">[2/2]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">TEST_CASE </td>
|
|
<td>(</td>
|
|
<td class="paramtype">"BNO08x Driver Creation <a class="el" href="#a4ac223c58b5ab6a6c5203661fafa1caa">for</a> Tests"</td> <td class="paramname"><span class="paramname">[CallbackTests], </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">""</td> <td class="paramname"><span class="paramname">[CallbackTests]</span> )</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<div class="dynheader">
|
|
Here is the call graph for this function:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="_callback_tests_8cpp_ac18b9cb122499f587331d82a538f23aa_cgraph.png" border="0" usemap="#a_callback_tests_8cpp_ac18b9cb122499f587331d82a538f23aa_cgraph" alt=""/></div>
|
|
<map name="a_callback_tests_8cpp_ac18b9cb122499f587331d82a538f23aa_cgraph" id="a_callback_tests_8cpp_ac18b9cb122499f587331d82a538f23aa_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,263,102,289"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#a6bd040c7d670a9713f2ab8a8a3913518" title="Calls BNO08x constructor and creates new test IMU on heap." alt="" coords="150,93,326,136"/>
|
|
<area shape="poly" title=" " alt="" coords="66,261,148,182,194,144,198,148,151,186,70,264"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#a41a432a3fe288e45b6ab139a00bd7d6b" title="Deletes test IMU calling deconstructor and releases heap allocated memory." alt="" coords="159,196,317,239"/>
|
|
<area shape="poly" title=" " alt="" coords="97,260,154,241,155,246,99,265"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#aea8e2c6dd7a2c9899479a7f39fe94798" title="Initializes BNO08x sensor." alt="" coords="175,263,301,289"/>
|
|
<area shape="poly" title=" " alt="" coords="102,273,160,273,160,279,102,279"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#a7fbfc48c0fff306ab81e2320bc171002" title="Prints a message during a test." alt="" coords="155,313,321,356"/>
|
|
<area shape="poly" title=" " alt="" coords="99,287,155,306,154,311,97,292"/>
|
|
<area shape="rect" href="_callback_tests_8cpp.html#a9091949d4ea860523915687536d5c4d3" title=" " alt="" coords="156,380,320,407"/>
|
|
<area shape="poly" title=" " alt="" coords="67,288,102,326,125,348,151,366,162,371,159,376,148,370,122,352,98,330,63,291"/>
|
|
<area shape="rect" href="class_b_n_o08x_test_helper.html#ae2d6df7dcfdbd106c2247803461bbc40" title="Deletes test IMU calling deconstructor and releases heap allocated memory." alt="" coords="374,56,557,99"/>
|
|
<area shape="poly" title=" " alt="" coords="326,98,358,92,359,98,327,103"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a96d47dd0f9aedfbe3f731f8ae76b2e85" title="Requests product ID, prints the returned info over serial, and returns the reason for the most resent..." alt="" coords="377,123,555,149"/>
|
|
<area shape="poly" title=" " alt="" coords="300,262,324,249,341,229,348,208,355,186,372,165,388,154,391,158,376,169,360,189,353,210,345,231,328,253,302,267"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a28cd1c0b3477571d87133234e6358503" title="Hard resets BNO08x sensor." alt="" coords="396,179,535,205"/>
|
|
<area shape="poly" title=" " alt="" coords="293,260,325,248,349,235,373,222,405,209,407,213,375,226,351,240,327,253,295,265"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a589eb9780f5bf613bbd447ef5b9ade3d" title="Initializes required esp-idf SPI data structures with values from user passed bno08x_config_t struct." alt="" coords="382,236,550,263"/>
|
|
<area shape="poly" title=" " alt="" coords="300,266,365,258,366,264,301,271"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ae0dab25557befcf62bf384fdc241ef10" title="Initializes required gpio." alt="" coords="403,288,529,315"/>
|
|
<area shape="poly" title=" " alt="" coords="301,280,387,290,387,295,300,286"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#aa27026da2c52b4aca49b78863f10ec61" title="Initializes host interrupt ISR." alt="" coords="394,339,538,365"/>
|
|
<area shape="poly" title=" " alt="" coords="294,287,327,299,375,324,394,331,392,336,373,329,325,304,292,292"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a58f43c8bb1e7fe8560ce442d46240e81" title="Initializes SPI." alt="" coords="406,389,525,416"/>
|
|
<area shape="poly" title=" " alt="" coords="302,286,328,299,345,319,352,338,360,357,376,375,393,385,390,390,372,379,355,360,347,340,340,321,324,303,300,290"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a06f99a6b2182b49a0e61e2107f2be6be" title="Launches spi_task and data_proc_task on constructor call." alt="" coords="388,451,543,477"/>
|
|
<area shape="poly" title=" " alt="" coords="302,284,328,299,341,315,349,332,353,364,357,395,364,411,376,426,397,441,393,446,372,430,359,413,352,397,348,364,344,333,337,318,324,303,299,288"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ab5f200069a2f8cb74cb79c6f162da5a1" title="Queues a packet containing the request product ID command." alt="" coords="621,5,784,48"/>
|
|
<area shape="poly" title=" " alt="" coords="532,120,556,108,570,97,579,84,589,71,604,58,612,53,614,58,607,62,593,75,584,87,574,100,559,113,534,124"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a4f12de628073f44b2a3fab2688cf1caf" title="Waits for a valid or invalid packet to be received or host_int_timeout_ms to elapse." alt="" coords="625,72,780,99"/>
|
|
<area shape="poly" title=" " alt="" coords="531,119,621,100,622,105,532,125"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a7cdeb849e728487de961cdfd4030c773" title="Waits for a queued packet to be sent or host_int_timeout_ms to elapse." alt="" coords="615,123,790,149"/>
|
|
<area shape="poly" title=" " alt="" coords="555,133,599,133,599,139,555,139"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a62c570ba96512f4d0d10b2594048de1f" title="Queues an SHTP packet to be sent via SPI." alt="" coords="852,13,1011,40"/>
|
|
<area shape="poly" title=" " alt="" coords="784,24,836,24,836,29,784,29"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a2897a178bf2c53cd99df0d4570edf72e" title="Waits for data to be received over SPI, or host_int_timeout_ms to elapse." alt="" coords="615,173,790,200"/>
|
|
<area shape="poly" title=" " alt="" coords="536,188,600,186,600,192,536,193"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a453ec8a70646651d4e5b10bf0b2e4d61" title="Resets all data returned by public getter APIs to initial values of 0 and low accuracy." alt="" coords="623,224,782,267"/>
|
|
<area shape="poly" title=" " alt="" coords="550,245,608,244,608,250,550,251"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a8f34d5475474f00ae6a92f73c1fe14e4" title="Initializes required gpio inputs." alt="" coords="618,291,787,317"/>
|
|
<area shape="poly" title=" " alt="" coords="529,299,603,300,603,306,529,305"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ad0b9e8f8d051798bb1da9b19598dbd64" title="Initializes required gpio outputs." alt="" coords="614,341,791,368"/>
|
|
<area shape="poly" title=" " alt="" coords="529,313,626,335,625,340,527,318"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a804b95c58c30d36933fd251626b85bf7" title="HINT interrupt service routine, handles falling edge of BNO08x HINT pin." alt="" coords="628,392,777,419"/>
|
|
<area shape="poly" title=" " alt="" coords="529,363,626,385,625,391,527,368"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a0ae135d7bf7a5f047a1d1aa5cc07e520" title="Static function used to launch data processing task." alt="" coords="619,443,786,485"/>
|
|
<area shape="poly" title=" " alt="" coords="544,461,603,461,603,467,544,467"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a0ce6d9db873555f1ebe7e095251eab74" title="Static function used to launch spi task." alt="" coords="605,532,800,559"/>
|
|
<area shape="poly" title=" " alt="" coords="508,475,648,524,646,529,506,481"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ab4373e9b87837ea9fcbc0b536338c7b8" title="Task responsible parsing packets. Executed when SPI task sends a packet to be parsed,..." alt="" coords="848,440,1015,467"/>
|
|
<area shape="poly" title=" " alt="" coords="787,457,832,455,832,461,787,463"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a1c47d27917ae3b2876efa121b803f924" title="Parses a packet received from bno08x, updating any data according to received reports." alt="" coords="1067,377,1223,404"/>
|
|
<area shape="poly" title=" " alt="" coords="979,437,1081,406,1083,412,980,442"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a05e4cd5861b55fc0182d7dd13bb85e49" title="Prints the passed SHTP packet to serial console with ESP_LOG statement." alt="" coords="1071,440,1220,467"/>
|
|
<area shape="poly" title=" " alt="" coords="1016,451,1055,451,1055,456,1016,456"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a4f66045a0528a0c17c52421ea51612e7" title="Parses received command report sent by BNO08x (See Ref. Manual 6.3.9)" alt="" coords="1288,161,1462,204"/>
|
|
<area shape="poly" title=" " alt="" coords="1150,376,1168,343,1195,300,1230,254,1274,214,1280,209,1283,214,1277,218,1234,257,1199,303,1172,346,1155,378"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a206c0e3ddc3b745b56914976d6e69981" title="Parses get feature request report received from BNO08x." alt="" coords="1297,228,1453,271"/>
|
|
<area shape="poly" title=" " alt="" coords="1158,375,1206,329,1239,303,1274,280,1284,275,1287,280,1277,285,1242,308,1210,333,1161,379"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a51b360d795563b55559f11efb40be36a" title="Sends packet to be parsed to meta data function call (FRS_read_data()) through queue." alt="" coords="1293,295,1457,337"/>
|
|
<area shape="poly" title=" " alt="" coords="1188,374,1292,340,1294,345,1190,379"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a7be6047fef851a064c7cbc9eba092f6d" title="Parses received gyro integrated rotation vector report sent by BNO08x." alt="" coords="1304,361,1446,420"/>
|
|
<area shape="poly" title=" " alt="" coords="1223,388,1288,388,1288,393,1223,393"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a8d9db3e1b6208c2661e1c543deefa53d" title="Parses received input report sent by BNO08x." alt="" coords="1302,444,1448,487"/>
|
|
<area shape="poly" title=" " alt="" coords="1190,402,1294,436,1292,441,1188,407"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a29cfd7fc2816483ebebe9d55b677a036" title="Parses product id report and prints device info." alt="" coords="1295,511,1455,553"/>
|
|
<area shape="poly" title=" " alt="" coords="1189,402,1229,426,1245,445,1253,463,1261,480,1277,497,1283,501,1280,505,1274,501,1257,483,1248,465,1241,448,1226,430,1186,407"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ab02386f13caa446bab5921c1a71f92ab" title="Updates integrated gyro rotation vector data from SHTP channel 5 (CHANNEL_GYRO) special report data." alt="" coords="1551,151,1733,193"/>
|
|
<area shape="poly" title=" " alt="" coords="1445,368,1473,347,1486,330,1492,312,1495,276,1498,240,1506,221,1521,203,1535,192,1539,196,1525,207,1511,224,1504,241,1500,276,1497,313,1490,332,1477,351,1448,372"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a002aa97c9af8f6df2d0c83034e4f7b55" title="Parses data from received input report." alt="" coords="1569,217,1715,260"/>
|
|
<area shape="poly" title=" " alt="" coords="1447,448,1473,430,1487,411,1494,391,1495,351,1497,311,1505,290,1521,270,1536,258,1554,249,1556,254,1539,263,1525,274,1510,293,1503,312,1501,352,1499,392,1492,413,1477,434,1450,452"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#afe588fbd0055193d3bc08984d7732354" title="Updates accelerometer data from parsed input report." alt="" coords="1523,284,1761,311"/>
|
|
<area shape="poly" title=" " alt="" coords="1447,447,1473,430,1484,417,1490,404,1495,376,1501,348,1508,334,1521,321,1526,317,1530,321,1524,325,1513,337,1506,350,1501,377,1495,405,1489,420,1476,434,1449,451"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a962b695ef4733d558c6f9684da0931ab" title="Updates linear gyro data from parsed input report." alt="" coords="1552,335,1732,377"/>
|
|
<area shape="poly" title=" " alt="" coords="1447,442,1473,430,1487,419,1497,409,1506,398,1521,387,1536,380,1538,385,1524,392,1510,402,1501,412,1491,423,1476,434,1449,447"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#af971d82426740e62c1f05adcd2c9ce7c" title="Updates command data from parsed input report." alt="" coords="1535,401,1749,428"/>
|
|
<area shape="poly" title=" " alt="" coords="1448,449,1552,429,1553,434,1449,454"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ad7de3999d4df19038e27c01f9b02010e" title="Updates gravity data from parsed input report." alt="" coords="1545,452,1739,479"/>
|
|
<area shape="poly" title=" " alt="" coords="1448,463,1530,463,1530,468,1448,468"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a7416d844f6188c8d16f181d6d4431708" title="Updates linear accelerometer data from parsed input report." alt="" coords="1571,503,1713,545"/>
|
|
<area shape="poly" title=" " alt="" coords="1449,479,1556,502,1555,508,1448,484"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a3abf4a199bc7a03ac7447c2781673d88" title="Updates magnetic field data from parsed input report." alt="" coords="1550,569,1734,596"/>
|
|
<area shape="poly" title=" " alt="" coords="1449,482,1476,497,1492,512,1501,527,1509,542,1524,555,1536,562,1534,566,1521,560,1505,545,1496,530,1488,515,1473,501,1447,487"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a04489cf9a125495c7cf07c6ba5e9f6c0" title="Updates activity classifier data from parsed input report." alt="" coords="1555,620,1729,663"/>
|
|
<area shape="poly" title=" " alt="" coords="1449,479,1476,497,1489,511,1496,525,1501,553,1506,580,1513,593,1524,606,1542,618,1539,623,1521,610,1509,596,1501,582,1496,554,1491,527,1484,514,1473,501,1447,484"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a83fed63c67957ec4338afd43087d6e22" title="Updates raw accelerometer data from parsed input report." alt="" coords="1570,687,1714,729"/>
|
|
<area shape="poly" title=" " alt="" coords="1449,478,1477,497,1493,520,1500,543,1501,587,1502,631,1509,652,1525,673,1539,684,1556,693,1554,698,1536,689,1521,677,1504,654,1496,632,1495,587,1495,543,1488,522,1473,501,1446,482"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#ad0f0fec4e53029b4ba907414a36ac5ea" title="Updates raw gyro data from parsed input report." alt="" coords="1570,753,1714,796"/>
|
|
<area shape="poly" title=" " alt="" coords="1450,477,1477,497,1497,528,1505,560,1505,591,1501,621,1496,651,1497,681,1505,710,1525,740,1539,752,1556,760,1554,765,1536,756,1521,743,1500,712,1491,681,1491,651,1495,620,1499,590,1500,560,1492,531,1473,501,1446,482"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a2ecd4ed60f82730ae230c61687ec92bf" title="Task responsible for SPI transactions. Executed when HINT in is asserted by BNO08x." alt="" coords="868,577,995,604"/>
|
|
<area shape="poly" title=" " alt="" coords="774,557,853,572,852,578,773,562"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a8d9f28d8857279a3c4b1f62f6dabb638" title="Receives a SHTP packet via SPI and sends it to data_proc_task()" alt="" coords="1063,577,1227,604"/>
|
|
<area shape="poly" title=" " alt="" coords="995,588,1047,588,1047,593,995,593"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a2c359a44a2c8e83ecb258a340e2d0e1a" title="Sends a queued SHTP packet via SPI." alt="" coords="1069,628,1221,655"/>
|
|
<area shape="poly" title=" " alt="" coords="992,602,1072,621,1071,626,990,607"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#a9ee7e73f695af8965a9ede50136d5a8c" title="Receives a SHTP packet body via SPI." alt="" coords="1275,577,1475,604"/>
|
|
<area shape="poly" title=" " alt="" coords="1228,588,1260,588,1260,593,1228,593"/>
|
|
<area shape="rect" href="class_b_n_o08x.html#acb246769719351e02bf2aff06d039475" title="Receives a SHTP packet header via SPI." alt="" coords="1293,628,1457,671"/>
|
|
<area shape="poly" title=" " alt="" coords="1201,602,1278,622,1277,627,1200,607"/>
|
|
</map>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Variable Documentation</h2>
|
|
<a id="aafbc34af64f3c93123dce5a8238efd38" name="aafbc34af64f3c93123dce5a8238efd38"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aafbc34af64f3c93123dce5a8238efd38">◆ </a></span>ENABLED_REPORT_CNT</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const constexpr uint8_t ENABLED_REPORT_CNT = 2</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac36e56130d5d806898f3545d4cdf0f70" name="ac36e56130d5d806898f3545d4cdf0f70"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac36e56130d5d806898f3545d4cdf0f70">◆ </a></span>imu</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_b_n_o08x.html">BNO08x</a> * imu = nullptr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4e7be0e1e700243053709d7544201596" name="a4e7be0e1e700243053709d7544201596"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4e7be0e1e700243053709d7544201596">◆ </a></span>msg_buff</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">char msg_buff = {}</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5a4ba60143c31271df0f72bf0e503876" name="a5a4ba60143c31271df0f72bf0e503876"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5a4ba60143c31271df0f72bf0e503876">◆ </a></span>new_data</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool new_data = false</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8c57d66969fed0b55bdee9b57f6ed0a7" name="a8c57d66969fed0b55bdee9b57f6ed0a7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8c57d66969fed0b55bdee9b57f6ed0a7">◆ </a></span>prev_report_data</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="struct_b_n_o08x_test_helper_1_1imu__report__data__t.html">BNO08xTestHelper::imu_report_data_t</a> prev_report_data</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a22334b11e0558ec663d040de9b7db8c9" name="a22334b11e0558ec663d040de9b7db8c9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a22334b11e0558ec663d040de9b7db8c9">◆ </a></span>report_data</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="class_b_n_o08x_test_helper.html#ac81c63583b19e5c7b3233324aaea98e2">BNO08xTestHelper::update_report_data</a> & report_data</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4b80e39a1f48d801615a1f7baa210071" name="a4b80e39a1f48d801615a1f7baa210071"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4b80e39a1f48d801615a1f7baa210071">◆ </a></span>REPORT_PERIOD</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const constexpr uint32_t REPORT_PERIOD = 100000UL</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a20cd776c25ed6d39b2dcb95d155cfbda" name="a20cd776c25ed6d39b2dcb95d155cfbda"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a20cd776c25ed6d39b2dcb95d155cfbda">◆ </a></span>RX_REPORT_TRIAL_CNT</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const constexpr uint8_t RX_REPORT_TRIAL_CNT = 5</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">constexpr</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_85e9385bd83516731053aadc7da3c8af.html">imu_update</a></li><li class="navelem"><a class="el" href="dir_c60d9bf80716f90f729fd65c40ec81f7.html">bno08x_update</a></li><li class="navelem"><a class="el" href="dir_fd670e5d11b8bb731501003ff6578ae1.html">components</a></li><li class="navelem"><a class="el" href="dir_a6718ce9703adf4789a693642ffedf7f.html">esp32_BNO08x</a></li><li class="navelem"><a class="el" href="dir_14dea6b744ab39100edf1f9916c217e0.html">test</a></li><li class="navelem"><a class="el" href="_callback_tests_8cpp.html">CallbackTests.cpp</a></li>
|
|
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|