2024-12-06 04:09:30 +00:00
<!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: BNO08xRptAcceleration Class 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" >
2024-12-27 02:02:09 +00:00
< div id = "projectname" > esp32_BNO08x< span id = "projectnumber" >   1.31< / span >
2024-12-06 04:09:30 +00:00
< / 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('class_b_n_o08x_rpt_acceleration.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 = "#pub-methods" > Public Member Functions< / a > |
< a href = "#pri-methods" > Private Member Functions< / a > |
< a href = "#pri-attribs" > Private Attributes< / a > |
< a href = "#pri-static-attribs" > Static Private Attributes< / a > |
< a href = "class_b_n_o08x_rpt_acceleration-members.html" > List of all members< / a > < / div >
< div class = "headertitle" > < div class = "title" > BNO08xRptAcceleration Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > Class to represent accelerometer reports. (See Ref. Manual 6.5.9)
< a href = "#details" > More...< / a > < / p >
< p > < code > #include < < a class = "el" href = "_b_n_o08x_rpt_acceleration_8hpp_source.html" > BNO08xRptAcceleration.hpp< / a > > < / code > < / p >
< div class = "dynheader" >
Inheritance diagram for BNO08xRptAcceleration:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "class_b_n_o08x_rpt_acceleration__inherit__graph.png" border = "0" usemap = "#a_b_n_o08x_rpt_acceleration_inherit__map" alt = "Inheritance graph" / > < / div >
< map name = "a_b_n_o08x_rpt_acceleration_inherit__map" id = "a_b_n_o08x_rpt_acceleration_inherit__map" >
< area shape = "rect" title = "Class to represent accelerometer reports. (See Ref. Manual 6.5.9)" alt = "" coords = "5,80,168,107" / >
< area shape = "rect" href = "class_b_n_o08x_rpt.html" title = "Class to represent and manage reports returned from BNO08x." alt = "" coords = "41,5,132,32" / >
< area shape = "poly" title = " " alt = "" coords = "89,48,89,80,84,80,84,48" / >
< / map >
< center > < span class = "legend" > [< a target = "top" href = "graph_legend.html" > legend< / a > ]< / span > < / center > < / div >
< div class = "dynheader" >
Collaboration diagram for BNO08xRptAcceleration:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "class_b_n_o08x_rpt_acceleration__coll__graph.png" border = "0" usemap = "#a_b_n_o08x_rpt_acceleration_coll__map" alt = "Collaboration graph" / > < / div >
< map name = "a_b_n_o08x_rpt_acceleration_coll__map" id = "a_b_n_o08x_rpt_acceleration_coll__map" >
< area shape = "rect" title = "Class to represent accelerometer reports. (See Ref. Manual 6.5.9)" alt = "" coords = "90,203,252,229" / >
< area shape = "rect" href = "class_b_n_o08x_rpt.html" title = "Class to represent and manage reports returned from BNO08x." alt = "" coords = "32,112,123,139" / >
< area shape = "poly" title = " " alt = "" coords = "103,147,159,200,156,204,100,151" / >
< area shape = "rect" href = "struct_b_n_o08x_private_types_1_1bno08x__sync__ctx__t.html" title = "Holds context used to synchronize tasks and callback execution." alt = "" coords = "5,5,150,48" / >
< area shape = "poly" title = " " alt = "" coords = "80,64,80,112,75,112,75,64" / >
< area shape = "rect" href = "structbno08x__accel__t.html" title = "Struct to represent acceleration data from acceleration, linear acceleration, and gravity reports." alt = "" coords = "147,112,259,139" / >
< area shape = "poly" title = " " alt = "" coords = "196,154,178,203,173,201,191,152" / >
< / map >
< center > < span class = "legend" > [< a target = "top" href = "graph_legend.html" > legend< / a > ]< / span > < / center > < / div >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pub-methods" name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:af3a06d4c127a5cebd136489ab5c673e2" id = "r_af3a06d4c127a5cebd136489ab5c673e2" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#af3a06d4c127a5cebd136489ab5c673e2" > BNO08xRptAcceleration< / a > (uint8_t < a class = "el" href = "class_b_n_o08x_rpt.html#a63cd4ac9e96baa43eebe580f03307512" > ID< / a > , EventBits_t < a class = "el" href = "class_b_n_o08x_rpt.html#ae78feab5682a4697c5acad3ca6f12c2e" > rpt_bit< / a > , < a class = "el" href = "struct_b_n_o08x_private_types_1_1bno08x__sync__ctx__t.html" > BNO08xPrivateTypes::bno08x_sync_ctx_t< / a > *< a class = "el" href = "class_b_n_o08x_rpt.html#a5a1404a08918d66bb0f41f55220db6e5" > sync_ctx< / a > )< / td > < / tr >
< tr class = "separator:af3a06d4c127a5cebd136489ab5c673e2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-12-27 02:02:09 +00:00
< tr class = "memitem:a8fde5eefac5f9d714263047426eeee4f" id = "r_a8fde5eefac5f9d714263047426eeee4f" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#a8fde5eefac5f9d714263047426eeee4f" > enable< / a > (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=< a class = "el" href = "namespace_b_n_o08x_private_types.html#a4f68e627c3c54e471ec83756b97924da" > BNO08xPrivateTypes::default_sensor_cfg< / a > ) override< / td > < / tr >
< tr class = "memdesc:a8fde5eefac5f9d714263047426eeee4f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enables acceleration reports such that the < a class = "el" href = "class_b_n_o08x.html" title = "BNO08x IMU driver class." > BNO08x< / a > begins sending them. < br / > < / td > < / tr >
< tr class = "separator:a8fde5eefac5f9d714263047426eeee4f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-12-06 04:09:30 +00:00
< tr class = "memitem:abac65bc939891f7a24b5a611de430328" id = "r_abac65bc939891f7a24b5a611de430328" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structbno08x__accel__t.html" > bno08x_accel_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#abac65bc939891f7a24b5a611de430328" > get< / a > ()< / td > < / tr >
< tr class = "memdesc:abac65bc939891f7a24b5a611de430328" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Grabs most recent acceleration data (including gravity), units are in m/s^2. < br / > < / td > < / tr >
< tr class = "separator:abac65bc939891f7a24b5a611de430328" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pub_methods_class_b_n_o08x_rpt" > < td colspan = "2" onclick = "javascript:dynsection.toggleInherit('pub_methods_class_b_n_o08x_rpt')" > < img src = "closed.png" alt = "-" / >   Public Member Functions inherited from < a class = "el" href = "class_b_n_o08x_rpt.html" > BNO08xRpt< / a > < / td > < / tr >
< tr class = "memitem:a7d147e7540a4c6aa19749844e14cdadc inherit pub_methods_class_b_n_o08x_rpt" id = "r_a7d147e7540a4c6aa19749844e14cdadc" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a7d147e7540a4c6aa19749844e14cdadc" > disable< / a > (sh2_SensorConfig_t sensor_cfg=< a class = "el" href = "namespace_b_n_o08x_private_types.html#a4f68e627c3c54e471ec83756b97924da" > BNO08xPrivateTypes::default_sensor_cfg< / a > )< / td > < / tr >
< tr class = "memdesc:a7d147e7540a4c6aa19749844e14cdadc inherit pub_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Disables a sensor report by setting its period to 0us such that the < a class = "el" href = "class_b_n_o08x.html" title = "BNO08x IMU driver class." > BNO08x< / a > stops sending it. < br / > < / td > < / tr >
< tr class = "separator:a7d147e7540a4c6aa19749844e14cdadc inherit pub_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5b542b28c81fcd05cf2e3f3d2d437d46 inherit pub_methods_class_b_n_o08x_rpt" id = "r_a5b542b28c81fcd05cf2e3f3d2d437d46" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a5b542b28c81fcd05cf2e3f3d2d437d46" > register_cb< / a > (std::function< void(void)> cb_fxn)< / td > < / tr >
< tr class = "memdesc:a5b542b28c81fcd05cf2e3f3d2d437d46 inherit pub_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Registers a callback to execute when new data from a specific report is received. < br / > < / td > < / tr >
< tr class = "separator:a5b542b28c81fcd05cf2e3f3d2d437d46 inherit pub_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a74f6037286b51382535bab61680297ed inherit pub_methods_class_b_n_o08x_rpt" id = "r_a74f6037286b51382535bab61680297ed" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a74f6037286b51382535bab61680297ed" > has_new_data< / a > ()< / td > < / tr >
< tr class = "memdesc:a74f6037286b51382535bab61680297ed inherit pub_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Checks if a new report has been received since the last time this function was called. < br / > < / td > < / tr >
< tr class = "separator:a74f6037286b51382535bab61680297ed inherit pub_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab3bb962696b135841ef7313bc631fc72 inherit pub_methods_class_b_n_o08x_rpt" id = "r_ab3bb962696b135841ef7313bc631fc72" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#ab3bb962696b135841ef7313bc631fc72" > flush< / a > ()< / td > < / tr >
< tr class = "memdesc:ab3bb962696b135841ef7313bc631fc72 inherit pub_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Flush all buffered reports for this sensor/report module. < br / > < / td > < / tr >
< tr class = "separator:ab3bb962696b135841ef7313bc631fc72 inherit pub_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7ce8e48cadf59f49068af7f1cb680b38 inherit pub_methods_class_b_n_o08x_rpt" id = "r_a7ce8e48cadf59f49068af7f1cb680b38" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a7ce8e48cadf59f49068af7f1cb680b38" > get_sample_counts< / a > (< a class = "el" href = "structbno08x__sample__counts__t.html" > bno08x_sample_counts_t< / a > & sample_counts)< / td > < / tr >
< tr class = "memdesc:a7ce8e48cadf59f49068af7f1cb680b38 inherit pub_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets sample counts for this sensor (see SH-2 ref manual 6.4.3.1) < br / > < / td > < / tr >
< tr class = "separator:a7ce8e48cadf59f49068af7f1cb680b38 inherit pub_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1418be33824d3102dbc8f92558a402a6 inherit pub_methods_class_b_n_o08x_rpt" id = "r_a1418be33824d3102dbc8f92558a402a6" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a1418be33824d3102dbc8f92558a402a6" > clear_sample_counts< / a > ()< / td > < / tr >
< tr class = "memdesc:a1418be33824d3102dbc8f92558a402a6 inherit pub_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Clears < a class = "el" href = "class_b_n_o08x.html" title = "BNO08x IMU driver class." > BNO08x< / a > internal sample counts for this sensor. (see SH-2 ref manual 6.4.3.1) < br / > < / td > < / tr >
< tr class = "separator:a1418be33824d3102dbc8f92558a402a6 inherit pub_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad5b054279b01204f61b4c0408acf51cf inherit pub_methods_class_b_n_o08x_rpt" id = "r_ad5b054279b01204f61b4c0408acf51cf" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#ad5b054279b01204f61b4c0408acf51cf" > get_meta_data< / a > (< a class = "el" href = "structbno08x__meta__data__t.html" > bno08x_meta_data_t< / a > & meta_data)< / td > < / tr >
< tr class = "memdesc:ad5b054279b01204f61b4c0408acf51cf inherit pub_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Retrieves meta data for this sensor/report by reading respective record in FRS (flash record system). < br / > < / td > < / tr >
< tr class = "separator:ad5b054279b01204f61b4c0408acf51cf inherit pub_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pri-methods" name = "pri-methods" > < / a >
Private Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a6b24209dc87cdd333b780fe6674fd045" id = "r_a6b24209dc87cdd333b780fe6674fd045" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#a6b24209dc87cdd333b780fe6674fd045" > update_data< / a > (sh2_SensorValue_t *sensor_val) override< / td > < / tr >
< tr class = "memdesc:a6b24209dc87cdd333b780fe6674fd045" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Updates accelerometer data from decoded sensor event. < br / > < / td > < / tr >
< tr class = "separator:a6b24209dc87cdd333b780fe6674fd045" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pri-attribs" name = "pri-attribs" > < / a >
Private Attributes< / h2 > < / td > < / tr >
< tr class = "memitem:a1869ad2ad09103f92d8864a596ae7510" id = "r_a1869ad2ad09103f92d8864a596ae7510" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "structbno08x__accel__t.html" > bno08x_accel_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#a1869ad2ad09103f92d8864a596ae7510" > data< / a > < / td > < / tr >
< tr class = "separator:a1869ad2ad09103f92d8864a596ae7510" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pri-static-attribs" name = "pri-static-attribs" > < / a >
Static Private Attributes< / h2 > < / td > < / tr >
< tr class = "memitem:a6a071b08b16c314ecd771d3547ddbf22" id = "r_a6a071b08b16c314ecd771d3547ddbf22" > < td class = "memItemLeft" align = "right" valign = "top" > static const constexpr char *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "#a6a071b08b16c314ecd771d3547ddbf22" > TAG< / a > = " BNO08xRptAcceleration" < / td > < / tr >
< tr class = "separator:a6a071b08b16c314ecd771d3547ddbf22" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "inherited" name = "inherited" > < / a >
Additional Inherited Members< / h2 > < / td > < / tr >
< tr class = "inherit_header pro_methods_class_b_n_o08x_rpt" > < td colspan = "2" onclick = "javascript:dynsection.toggleInherit('pro_methods_class_b_n_o08x_rpt')" > < img src = "closed.png" alt = "-" / >   Protected Member Functions inherited from < a class = "el" href = "class_b_n_o08x_rpt.html" > BNO08xRpt< / a > < / td > < / tr >
2024-12-27 02:02:09 +00:00
< tr class = "memitem:aa0bed98a9a497d1f39e8245d05b02e9c inherit pro_methods_class_b_n_o08x_rpt" id = "r_aa0bed98a9a497d1f39e8245d05b02e9c" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#aa0bed98a9a497d1f39e8245d05b02e9c" > rpt_enable< / a > (uint32_t time_between_reports, sh2_SensorConfig_t sensor_cfg=< a class = "el" href = "namespace_b_n_o08x_private_types.html#a4f68e627c3c54e471ec83756b97924da" > BNO08xPrivateTypes::default_sensor_cfg< / a > )< / td > < / tr >
< tr class = "memdesc:aa0bed98a9a497d1f39e8245d05b02e9c inherit pro_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enables a sensor report such that the < a class = "el" href = "class_b_n_o08x.html" title = "BNO08x IMU driver class." > BNO08x< / a > begins sending it. < br / > < / td > < / tr >
< tr class = "separator:aa0bed98a9a497d1f39e8245d05b02e9c inherit pro_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-12-06 04:09:30 +00:00
< tr class = "memitem:a15e8eebe3fe90ac19837e3860c76374c inherit pro_methods_class_b_n_o08x_rpt" id = "r_a15e8eebe3fe90ac19837e3860c76374c" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a15e8eebe3fe90ac19837e3860c76374c" > BNO08xRpt< / a > (uint8_t < a class = "el" href = "class_b_n_o08x_rpt.html#a63cd4ac9e96baa43eebe580f03307512" > ID< / a > , EventBits_t < a class = "el" href = "class_b_n_o08x_rpt.html#ae78feab5682a4697c5acad3ca6f12c2e" > rpt_bit< / a > , < a class = "el" href = "struct_b_n_o08x_private_types_1_1bno08x__sync__ctx__t.html" > BNO08xPrivateTypes::bno08x_sync_ctx_t< / a > *< a class = "el" href = "class_b_n_o08x_rpt.html#a5a1404a08918d66bb0f41f55220db6e5" > sync_ctx< / a > )< / td > < / tr >
< tr class = "memdesc:a15e8eebe3fe90ac19837e3860c76374c inherit pro_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > < a class = "el" href = "class_b_n_o08x_rpt.html" title = "Class to represent and manage reports returned from BNO08x." > BNO08xRpt< / a > report constructor. < br / > < / td > < / tr >
< tr class = "separator:a15e8eebe3fe90ac19837e3860c76374c inherit pro_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a61e3451e93806e1b7eaf5f1387726765 inherit pro_methods_class_b_n_o08x_rpt" id = "r_a61e3451e93806e1b7eaf5f1387726765" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a61e3451e93806e1b7eaf5f1387726765" > unlock_sh2_HAL< / a > ()< / td > < / tr >
< tr class = "memdesc:a61e3451e93806e1b7eaf5f1387726765 inherit pro_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Unlocks sh2 HAL lib to allow other tasks to call its APIs. < br / > < / td > < / tr >
< tr class = "separator:a61e3451e93806e1b7eaf5f1387726765 inherit pro_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7a5619a74c1237c5abde2e4bd6619d12 inherit pro_methods_class_b_n_o08x_rpt" id = "r_a7a5619a74c1237c5abde2e4bd6619d12" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a7a5619a74c1237c5abde2e4bd6619d12" > lock_sh2_HAL< / a > ()< / td > < / tr >
< tr class = "memdesc:a7a5619a74c1237c5abde2e4bd6619d12 inherit pro_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Locks sh2 HAL lib to only allow the calling task to call its APIs. < br / > < / td > < / tr >
< tr class = "separator:a7a5619a74c1237c5abde2e4bd6619d12 inherit pro_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a26bacc572187119339ec248bb4e7d6f3 inherit pro_methods_class_b_n_o08x_rpt" id = "r_a26bacc572187119339ec248bb4e7d6f3" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a26bacc572187119339ec248bb4e7d6f3" > unlock_user_data< / a > ()< / td > < / tr >
< tr class = "memdesc:a26bacc572187119339ec248bb4e7d6f3 inherit pro_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Unlocks user data to allow other tasks to read/modify it. < br / > < / td > < / tr >
< tr class = "separator:a26bacc572187119339ec248bb4e7d6f3 inherit pro_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a48e7b1a2c2ebc6b1f2f292735c0832a0 inherit pro_methods_class_b_n_o08x_rpt" id = "r_a48e7b1a2c2ebc6b1f2f292735c0832a0" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a48e7b1a2c2ebc6b1f2f292735c0832a0" > lock_user_data< / a > ()< / td > < / tr >
< tr class = "memdesc:a48e7b1a2c2ebc6b1f2f292735c0832a0 inherit pro_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Locks locks user data to only allow the calling task to read/modify it. < br / > < / td > < / tr >
< tr class = "separator:a48e7b1a2c2ebc6b1f2f292735c0832a0 inherit pro_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a47a623eb0a1db51af76a03a103c32329 inherit pro_methods_class_b_n_o08x_rpt" id = "r_a47a623eb0a1db51af76a03a103c32329" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a47a623eb0a1db51af76a03a103c32329" > signal_data_available< / a > ()< / td > < / tr >
< tr class = "memdesc:a47a623eb0a1db51af76a03a103c32329 inherit pro_methods_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Signals to < a class = "el" href = "class_b_n_o08x.html#a367d525d1c0ba119b3dca3067bb5bccc" title = "Polls for new data/report to become available." > BNO08x::data_available()< / a > that a new report has arrived. < br / > < / td > < / tr >
< tr class = "separator:a47a623eb0a1db51af76a03a103c32329 inherit pro_methods_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pro_attribs_class_b_n_o08x_rpt" > < td colspan = "2" onclick = "javascript:dynsection.toggleInherit('pro_attribs_class_b_n_o08x_rpt')" > < img src = "closed.png" alt = "-" / >   Protected Attributes inherited from < a class = "el" href = "class_b_n_o08x_rpt.html" > BNO08xRpt< / a > < / td > < / tr >
< tr class = "memitem:a63cd4ac9e96baa43eebe580f03307512 inherit pro_attribs_class_b_n_o08x_rpt" id = "r_a63cd4ac9e96baa43eebe580f03307512" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a63cd4ac9e96baa43eebe580f03307512" > ID< / a > < / td > < / tr >
< tr class = "memdesc:a63cd4ac9e96baa43eebe580f03307512 inherit pro_attribs_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Report ID, ex. SH2_ACCELERATION. < br / > < / td > < / tr >
< tr class = "separator:a63cd4ac9e96baa43eebe580f03307512 inherit pro_attribs_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae78feab5682a4697c5acad3ca6f12c2e inherit pro_attribs_class_b_n_o08x_rpt" id = "r_ae78feab5682a4697c5acad3ca6f12c2e" > < td class = "memItemLeft" align = "right" valign = "top" > EventBits_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#ae78feab5682a4697c5acad3ca6f12c2e" > rpt_bit< / a > < / td > < / tr >
< tr class = "memdesc:ae78feab5682a4697c5acad3ca6f12c2e inherit pro_attribs_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Respective enable and data bit for report in evt_grp_rpt_en and evt_grp_rpt_data. < br / > < / td > < / tr >
< tr class = "separator:ae78feab5682a4697c5acad3ca6f12c2e inherit pro_attribs_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1d4d6f4cc6f1eae503863eedf7fb9f52 inherit pro_attribs_class_b_n_o08x_rpt" id = "r_a1d4d6f4cc6f1eae503863eedf7fb9f52" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a1d4d6f4cc6f1eae503863eedf7fb9f52" > period_us< / a > < / td > < / tr >
< tr class = "memdesc:a1d4d6f4cc6f1eae503863eedf7fb9f52 inherit pro_attribs_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > The period/interval of the report in microseconds. < br / > < / td > < / tr >
< tr class = "separator:a1d4d6f4cc6f1eae503863eedf7fb9f52 inherit pro_attribs_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5a1404a08918d66bb0f41f55220db6e5 inherit pro_attribs_class_b_n_o08x_rpt" id = "r_a5a1404a08918d66bb0f41f55220db6e5" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "struct_b_n_o08x_private_types_1_1bno08x__sync__ctx__t.html" > BNO08xPrivateTypes::bno08x_sync_ctx_t< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a5a1404a08918d66bb0f41f55220db6e5" > sync_ctx< / a > < / td > < / tr >
< tr class = "separator:a5a1404a08918d66bb0f41f55220db6e5 inherit pro_attribs_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "inherit_header pro_static_attribs_class_b_n_o08x_rpt" > < td colspan = "2" onclick = "javascript:dynsection.toggleInherit('pro_static_attribs_class_b_n_o08x_rpt')" > < img src = "closed.png" alt = "-" / >   Static Protected Attributes inherited from < a class = "el" href = "class_b_n_o08x_rpt.html" > BNO08xRpt< / a > < / td > < / tr >
< tr class = "memitem:a201aeb71fefb0d9d485914176a82dd80 inherit pro_static_attribs_class_b_n_o08x_rpt" id = "r_a201aeb71fefb0d9d485914176a82dd80" > < td class = "memItemLeft" align = "right" valign = "top" > static const constexpr float  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a201aeb71fefb0d9d485914176a82dd80" > RAD_2_DEG< / a > < / td > < / tr >
< tr class = "memdesc:a201aeb71fefb0d9d485914176a82dd80 inherit pro_static_attribs_class_b_n_o08x_rpt" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Constant for radian to degree conversions, sed in quaternion to euler function conversions. < br / > < / td > < / tr >
< tr class = "separator:a201aeb71fefb0d9d485914176a82dd80 inherit pro_static_attribs_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2c57f370fb08b793bb10ec22d5acca45 inherit pro_static_attribs_class_b_n_o08x_rpt" id = "r_a2c57f370fb08b793bb10ec22d5acca45" > < td class = "memItemLeft" align = "right" valign = "top" > static const constexpr char *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "class_b_n_o08x_rpt.html#a2c57f370fb08b793bb10ec22d5acca45" > TAG< / a > = " BNO08xRpt" < / td > < / tr >
< tr class = "separator:a2c57f370fb08b793bb10ec22d5acca45 inherit pro_static_attribs_class_b_n_o08x_rpt" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < p > Class to represent accelerometer reports. (See Ref. Manual 6.5.9) < / p >
< / div > < h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
< a id = "af3a06d4c127a5cebd136489ab5c673e2" name = "af3a06d4c127a5cebd136489ab5c673e2" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#af3a06d4c127a5cebd136489ab5c673e2" > ◆   < / a > < / span > BNO08xRptAcceleration()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > BNO08xRptAcceleration::BNO08xRptAcceleration < / td >
< td > (< / td >
< td class = "paramtype" > uint8_t< / td > < td class = "paramname" > < span class = "paramname" > < em > ID< / em > , < / span > < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > EventBits_t< / td > < td class = "paramname" > < span class = "paramname" > < em > rpt_bit< / em > , < / span > < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "struct_b_n_o08x_private_types_1_1bno08x__sync__ctx__t.html" > BNO08xPrivateTypes::bno08x_sync_ctx_t< / a > *< / td > < td class = "paramname" > < span class = "paramname" > < em > sync_ctx< / em > < / span >   )< / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
2024-12-27 02:02:09 +00:00
< a id = "a8fde5eefac5f9d714263047426eeee4f" name = "a8fde5eefac5f9d714263047426eeee4f" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a8fde5eefac5f9d714263047426eeee4f" > ◆   < / a > < / span > enable()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > bool BNO08xRptAcceleration::enable < / td >
< td > (< / td >
< td class = "paramtype" > uint32_t< / td > < td class = "paramname" > < span class = "paramname" > < em > time_between_reports< / em > , < / span > < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > sh2_SensorConfig_t< / td > < td class = "paramname" > < span class = "paramname" > < em > sensor_cfg< / em > < span class = "paramdefsep" > = < / span > < span class = "paramdefval" > < a class = "el" href = "namespace_b_n_o08x_private_types.html#a4f68e627c3c54e471ec83756b97924da" > BNO08xPrivateTypes::default_sensor_cfg< / a > < / span > < / span >   )< / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Enables acceleration reports such that the < a class = "el" href = "class_b_n_o08x.html" title = "BNO08x IMU driver class." > BNO08x< / a > begins sending them. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > report_period_us< / td > < td > The period/interval of the report in microseconds. < / td > < / tr >
< tr > < td class = "paramname" > sensor_cfg< / td > < td > Sensor special configuration (optional, see < a class = "el" href = "namespace_b_n_o08x_private_types.html#a4f68e627c3c54e471ec83756b97924da" > BNO08xPrivateTypes::default_sensor_cfg< / a > for defaults).< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > True if report was successfully enabled. < / dd > < / dl >
< p > Implements < a class = "el" href = "class_b_n_o08x_rpt.html#a4ee529725467412df396d5c610ff7bb4" > BNO08xRpt< / a > .< / p >
< div class = "dynheader" >
Here is the call graph for this function:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "class_b_n_o08x_rpt_acceleration_a8fde5eefac5f9d714263047426eeee4f_cgraph.png" border = "0" usemap = "#aclass_b_n_o08x_rpt_acceleration_a8fde5eefac5f9d714263047426eeee4f_cgraph" alt = "" / > < / div >
< map name = "aclass_b_n_o08x_rpt_acceleration_a8fde5eefac5f9d714263047426eeee4f_cgraph" id = "aclass_b_n_o08x_rpt_acceleration_a8fde5eefac5f9d714263047426eeee4f_cgraph" >
< area shape = "rect" title = "Enables acceleration reports such that the BNO08x begins sending them." alt = "" coords = "5,73,168,116" / >
< area shape = "rect" href = "class_b_n_o08x_rpt.html#aa0bed98a9a497d1f39e8245d05b02e9c" title = "Enables a sensor report such that the BNO08x begins sending it." alt = "" coords = "216,81,374,108" / >
< area shape = "poly" title = " " alt = "" coords = "168,92,200,92,200,97,168,97" / >
< area shape = "rect" href = "class_b_n_o08x_rpt.html#a7a5619a74c1237c5abde2e4bd6619d12" title = "Locks sh2 HAL lib to only allow the calling task to call its APIs." alt = "" coords = "431,5,613,32" / >
< area shape = "poly" title = " " alt = "" coords = "326,78,421,41,446,34,448,39,423,47,328,83" / >
< area shape = "rect" href = "class_b_n_o08x_rpt.html#a48e7b1a2c2ebc6b1f2f292735c0832a0" title = "Locks locks user data to only allow the calling task to read/modify it." alt = "" coords = "429,56,615,83" / >
< area shape = "poly" title = " " alt = "" coords = "374,83,413,79,414,84,374,89" / >
< area shape = "rect" href = "class_b_n_o08x_rpt.html#a61e3451e93806e1b7eaf5f1387726765" title = "Unlocks sh2 HAL lib to allow other tasks to call its APIs." alt = "" coords = "424,107,620,133" / >
< area shape = "poly" title = " " alt = "" coords = "374,101,409,105,408,110,374,106" / >
< area shape = "rect" href = "class_b_n_o08x_rpt.html#a26bacc572187119339ec248bb4e7d6f3" title = "Unlocks user data to allow other tasks to read/modify it." alt = "" coords = "422,157,622,184" / >
< area shape = "poly" title = " " alt = "" coords = "328,106,423,143,448,150,446,155,421,148,326,111" / >
< / map >
< / div >
< div class = "dynheader" >
Here is the caller graph for this function:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "class_b_n_o08x_rpt_acceleration_a8fde5eefac5f9d714263047426eeee4f_icgraph.png" border = "0" usemap = "#aclass_b_n_o08x_rpt_acceleration_a8fde5eefac5f9d714263047426eeee4f_icgraph" alt = "" / > < / div >
< map name = "aclass_b_n_o08x_rpt_acceleration_a8fde5eefac5f9d714263047426eeee4f_icgraph" id = "aclass_b_n_o08x_rpt_acceleration_a8fde5eefac5f9d714263047426eeee4f_icgraph" >
< area shape = "rect" title = "Enables acceleration reports such that the BNO08x begins sending them." alt = "" coords = "150,327,312,369" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#a2ece5a0676d7eee2c801f6d6b36610ba" title = " " alt = "" coords = "5,5,102,32" / >
< area shape = "poly" title = " " alt = "" coords = "220,312,205,255,181,185,147,112,125,77,100,46,86,35,89,31,104,42,129,74,151,109,186,183,210,254,225,311" / >
< area shape = "rect" href = "_single_report_tests_8cpp.html#af30c5c1549bda77b45a1e6fb5f76844a" title = " " alt = "" coords = "5,56,102,83" / >
< area shape = "poly" title = " " alt = "" coords = "216,313,200,265,175,208,142,149,100,97,85,85,89,81,104,93,146,147,180,206,205,263,221,311" / >
< area shape = "rect" href = "_single_report_tests_8cpp.html#aaefa1a1d4b3c190b7f46bb7f42512949" title = " " alt = "" coords = "5,107,102,133" / >
< area shape = "poly" title = " " alt = "" coords = "212,314,168,233,136,188,100,147,85,136,88,132,103,143,141,184,172,230,217,312" / >
< area shape = "rect" href = "_multi_report_tests_8cpp.html#a6d2f9d86fb1c148a375044205278a8bb" title = " " alt = "" coords = "5,157,102,184" / >
< area shape = "poly" title = " " alt = "" coords = "205,316,159,257,131,226,100,198,83,187,86,182,103,194,135,222,163,254,209,312" / >
< area shape = "rect" href = "_multi_report_tests_8cpp.html#a3c5bb20df427689d78fceefd3dad0ddd" title = " " alt = "" coords = "5,208,102,235" / >
< area shape = "poly" title = " " alt = "" coords = "191,318,100,249,81,238,84,233,103,244,195,314" / >
< area shape = "rect" href = "_multi_report_tests_8cpp.html#ac0f2ca513b0adc3db58d954b1fa381e9" title = " " alt = "" coords = "5,259,102,285" / >
< area shape = "poly" title = " " alt = "" coords = "164,322,85,288,88,283,166,317" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#ae6b70979bd6502fbeaef43fb4bc8d508" title = " " alt = "" coords = "5,309,102,336" / >
< area shape = "poly" title = " " alt = "" coords = "134,337,102,332,103,327,135,332" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#aa6cd73e0d81f1bad0797e318018ffd3a" title = " " alt = "" coords = "5,360,102,387" / >
< area shape = "poly" title = " " alt = "" coords = "135,364,103,369,102,364,134,359" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#ad2587baeeb225c43d04e355166a29b18" title = " " alt = "" coords = "5,411,102,437" / >
< area shape = "poly" title = " " alt = "" coords = "166,379,88,413,85,408,164,374" / >
< area shape = "rect" href = "_callback_tests_8cpp.html#adc348440748fec8fed1a66213f0be52f" title = " " alt = "" coords = "5,461,102,488" / >
< area shape = "poly" title = " " alt = "" coords = "195,382,103,452,84,463,81,458,100,447,191,378" / >
< area shape = "rect" href = "_callback_tests_8cpp.html#a0cae93f9fe6d369521dd1aeed1cd504b" title = " " alt = "" coords = "5,512,102,539" / >
< area shape = "poly" title = " " alt = "" coords = "209,384,163,442,135,474,103,502,86,514,83,509,100,498,131,470,159,439,205,380" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#aa591e9e15fbc5763f8bace22312015c0" title = " " alt = "" coords = "5,563,102,589" / >
< area shape = "poly" title = " " alt = "" coords = "217,384,172,466,141,512,103,553,88,564,85,560,100,549,136,508,168,463,212,382" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#abc6316f813506ff1114a4c50b5a72bdf" title = " " alt = "" coords = "5,613,102,640" / >
< area shape = "poly" title = " " alt = "" coords = "221,385,205,433,180,490,146,549,104,603,89,615,85,611,100,599,142,547,175,488,200,431,216,383" / >
< area shape = "rect" href = "_callback_tests_8cpp.html#a2a38e8a82fc1fab9bdca331f39726892" title = " " alt = "" coords = "5,664,102,691" / >
< area shape = "poly" title = " " alt = "" coords = "225,385,210,442,186,513,151,587,129,622,104,654,89,665,86,661,100,650,125,619,147,584,181,511,205,441,220,384" / >
< / map >
< / div >
< / div >
< / div >
2024-12-06 04:09:30 +00:00
< a id = "abac65bc939891f7a24b5a611de430328" name = "abac65bc939891f7a24b5a611de430328" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#abac65bc939891f7a24b5a611de430328" > ◆   < / a > < / span > get()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "structbno08x__accel__t.html" > bno08x_accel_t< / a > BNO08xRptAcceleration::get < / td >
< td > (< / td >
< td class = "paramname" > < span class = "paramname" > < / span > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Grabs most recent acceleration data (including gravity), units are in m/s^2. < / p >
< dl class = "section return" > < dt > Returns< / dt > < dd > Struct containing requested data. < / dd > < / dl >
< div class = "dynheader" >
Here is the call graph for this function:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "class_b_n_o08x_rpt_acceleration_abac65bc939891f7a24b5a611de430328_cgraph.png" border = "0" usemap = "#aclass_b_n_o08x_rpt_acceleration_abac65bc939891f7a24b5a611de430328_cgraph" alt = "" / > < / div >
< map name = "aclass_b_n_o08x_rpt_acceleration_abac65bc939891f7a24b5a611de430328_cgraph" id = "aclass_b_n_o08x_rpt_acceleration_abac65bc939891f7a24b5a611de430328_cgraph" >
< area shape = "rect" title = "Grabs most recent acceleration data (including gravity), units are in m/s^2." alt = "" coords = "5,31,194,57" / >
< area shape = "rect" href = "class_b_n_o08x_rpt.html#a48e7b1a2c2ebc6b1f2f292735c0832a0" title = "Locks locks user data to only allow the calling task to read/modify it." alt = "" coords = "249,5,435,32" / >
< area shape = "poly" title = " " alt = "" coords = "194,31,233,27,233,33,194,37" / >
< area shape = "rect" href = "class_b_n_o08x_rpt.html#a26bacc572187119339ec248bb4e7d6f3" title = "Unlocks user data to allow other tasks to read/modify it." alt = "" coords = "242,56,442,83" / >
< area shape = "poly" title = " " alt = "" coords = "194,51,226,55,226,60,194,57" / >
< / map >
< / div >
< div class = "dynheader" >
Here is the caller graph for this function:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "class_b_n_o08x_rpt_acceleration_abac65bc939891f7a24b5a611de430328_icgraph.png" border = "0" usemap = "#aclass_b_n_o08x_rpt_acceleration_abac65bc939891f7a24b5a611de430328_icgraph" alt = "" / > < / div >
< map name = "aclass_b_n_o08x_rpt_acceleration_abac65bc939891f7a24b5a611de430328_icgraph" id = "aclass_b_n_o08x_rpt_acceleration_abac65bc939891f7a24b5a611de430328_icgraph" >
< area shape = "rect" title = "Grabs most recent acceleration data (including gravity), units are in m/s^2." alt = "" coords = "150,385,338,412" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#a3998d182117c4def094998f795780351" title = " " alt = "" coords = "5,5,102,32" / >
< area shape = "poly" title = " " alt = "" coords = "235,370,222,306,196,221,178,175,156,129,130,85,100,46,86,35,89,31,104,42,135,82,161,126,183,173,201,219,227,305,241,369" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#a5258b4dbee44f7a6964ff93e378fd3fa" title = " " alt = "" coords = "5,56,102,83" / >
< area shape = "poly" title = " " alt = "" coords = "233,371,217,315,190,243,151,166,127,130,100,97,85,85,89,81,104,93,131,126,156,163,195,241,222,313,238,369" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#ace101f40531db107a743cff5815022e6" title = " " alt = "" coords = "5,107,102,133" / >
< area shape = "poly" title = " " alt = "" coords = "230,372,212,325,184,266,146,203,100,147,85,136,88,132,104,143,151,200,188,263,217,322,235,370" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#a2ece5a0676d7eee2c801f6d6b36610ba" title = " " alt = "" coords = "5,157,102,184" / >
< area shape = "poly" title = " " alt = "" coords = "226,372,177,289,141,241,100,198,84,187,87,182,103,194,145,238,181,286,231,370" / >
< area shape = "rect" href = "_single_report_tests_8cpp.html#aaefa1a1d4b3c190b7f46bb7f42512949" title = " " alt = "" coords = "5,208,102,235" / >
< area shape = "poly" title = " " alt = "" coords = "221,375,169,314,136,280,100,249,83,237,85,233,103,245,140,276,173,310,225,371" / >
< area shape = "rect" href = "_multi_report_tests_8cpp.html#a6d2f9d86fb1c148a375044205278a8bb" title = " " alt = "" coords = "5,259,102,285" / >
< area shape = "poly" title = " " alt = "" coords = "211,378,100,300,81,288,83,284,103,295,214,373" / >
< area shape = "rect" href = "_multi_report_tests_8cpp.html#a3c5bb20df427689d78fceefd3dad0ddd" title = " " alt = "" coords = "5,309,102,336" / >
< area shape = "poly" title = " " alt = "" coords = "193,382,88,339,90,334,195,377" / >
< area shape = "rect" href = "_multi_report_tests_8cpp.html#ac0f2ca513b0adc3db58d954b1fa381e9" title = " " alt = "" coords = "5,360,102,387" / >
< area shape = "poly" title = " " alt = "" coords = "134,387,102,382,102,377,135,381" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#ae6b70979bd6502fbeaef43fb4bc8d508" title = " " alt = "" coords = "5,411,102,437" / >
< area shape = "poly" title = " " alt = "" coords = "135,416,102,420,102,415,134,411" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#aa6cd73e0d81f1bad0797e318018ffd3a" title = " " alt = "" coords = "5,461,102,488" / >
< area shape = "poly" title = " " alt = "" coords = "195,421,90,463,88,458,193,416" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#ad2587baeeb225c43d04e355166a29b18" title = " " alt = "" coords = "5,512,102,539" / >
< area shape = "poly" title = " " alt = "" coords = "214,424,103,502,83,514,81,509,100,498,211,420" / >
< area shape = "rect" href = "_callback_tests_8cpp.html#adc348440748fec8fed1a66213f0be52f" title = " " alt = "" coords = "5,563,102,589" / >
< area shape = "poly" title = " " alt = "" coords = "225,426,173,487,140,521,103,553,85,564,83,560,100,549,136,517,169,483,221,422" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#ad453409b2c919e183a31693bb9e561dc" title = " " alt = "" coords = "5,613,102,640" / >
< area shape = "poly" title = " " alt = "" coords = "231,428,181,512,145,560,103,603,87,615,84,611,100,599,141,556,177,509,226,425" / >
< area shape = "rect" href = "_callback_tests_8cpp.html#a0cae93f9fe6d369521dd1aeed1cd504b" title = " " alt = "" coords = "5,664,102,691" / >
< area shape = "poly" title = " " alt = "" coords = "235,428,217,475,188,534,151,597,104,654,88,666,85,661,100,650,146,594,184,532,212,473,230,426" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#aa591e9e15fbc5763f8bace22312015c0" title = " " alt = "" coords = "5,715,102,741" / >
< area shape = "poly" title = " " alt = "" coords = "238,428,222,484,195,557,156,634,131,671,104,705,89,716,85,712,100,701,127,668,151,631,190,555,217,482,233,426" / >
< area shape = "rect" href = "_feature_tests_8cpp.html#abc6316f813506ff1114a4c50b5a72bdf" title = " " alt = "" coords = "5,765,102,792" / >
< area shape = "poly" title = " " alt = "" coords = "241,428,227,493,201,578,183,625,161,671,135,715,104,755,89,767,86,763,100,751,130,712,156,668,178,623,196,577,222,491,235,427" / >
< / map >
< / div >
< / div >
< / div >
< a id = "a6b24209dc87cdd333b780fe6674fd045" name = "a6b24209dc87cdd333b780fe6674fd045" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a6b24209dc87cdd333b780fe6674fd045" > ◆   < / a > < / span > update_data()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void BNO08xRptAcceleration::update_data < / td >
< td > (< / td >
< td class = "paramtype" > sh2_SensorValue_t *< / td > < td class = "paramname" > < span class = "paramname" > < em > sensor_val< / em > < / span > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > override< / span > < span class = "mlabel" > private< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Updates accelerometer data from decoded sensor event. < / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > sensor_val< / td > < td > The sh2_SensorValue_t struct used in sh2_decodeSensorEvent() call.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > void, nothing to return < / dd > < / dl >
< p > Implements < a class = "el" href = "class_b_n_o08x_rpt.html#a970fb7e7d3745c62fec626f0ccf0759f" > BNO08xRpt< / a > .< / p >
< div class = "dynheader" >
Here is the call graph for this function:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "class_b_n_o08x_rpt_acceleration_a6b24209dc87cdd333b780fe6674fd045_cgraph.png" border = "0" usemap = "#aclass_b_n_o08x_rpt_acceleration_a6b24209dc87cdd333b780fe6674fd045_cgraph" alt = "" / > < / div >
< map name = "aclass_b_n_o08x_rpt_acceleration_a6b24209dc87cdd333b780fe6674fd045_cgraph" id = "aclass_b_n_o08x_rpt_acceleration_a6b24209dc87cdd333b780fe6674fd045_cgraph" >
< area shape = "rect" title = "Updates accelerometer data from decoded sensor event." alt = "" coords = "5,56,168,99" / >
< area shape = "rect" href = "class_b_n_o08x_rpt.html#a48e7b1a2c2ebc6b1f2f292735c0832a0" title = "Locks locks user data to only allow the calling task to read/modify it." alt = "" coords = "223,5,409,32" / >
< area shape = "poly" title = " " alt = "" coords = "168,54,215,41,245,34,246,39,216,47,169,59" / >
< area shape = "rect" href = "class_b_n_o08x_rpt.html#a47a623eb0a1db51af76a03a103c32329" title = "Signals to BNO08x::data_available() that a new report has arrived." alt = "" coords = "234,56,398,99" / >
< area shape = "poly" title = " " alt = "" coords = "168,75,218,75,218,80,168,80" / >
< area shape = "rect" href = "class_b_n_o08x_rpt.html#a26bacc572187119339ec248bb4e7d6f3" title = "Unlocks user data to allow other tasks to read/modify it." alt = "" coords = "216,123,416,149" / >
< area shape = "poly" title = " " alt = "" coords = "169,96,216,108,246,116,245,121,215,113,168,101" / >
< / map >
< / div >
< / div >
< / div >
< h2 class = "groupheader" > Member Data Documentation< / h2 >
< a id = "a1869ad2ad09103f92d8864a596ae7510" name = "a1869ad2ad09103f92d8864a596ae7510" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a1869ad2ad09103f92d8864a596ae7510" > ◆   < / a > < / span > data< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "structbno08x__accel__t.html" > bno08x_accel_t< / a > BNO08xRptAcceleration::data< / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > private< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a id = "a6a071b08b16c314ecd771d3547ddbf22" name = "a6a071b08b16c314ecd771d3547ddbf22" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a6a071b08b16c314ecd771d3547ddbf22" > ◆   < / a > < / span > TAG< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > const constexpr char* BNO08xRptAcceleration::TAG = " BNO08xRptAcceleration" < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > static< / span > < span class = "mlabel" > constexpr< / span > < span class = "mlabel" > private< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
2024-12-27 02:02:09 +00:00
< li > include/report/< a class = "el" href = "_b_n_o08x_rpt_acceleration_8hpp_source.html" > BNO08xRptAcceleration.hpp< / a > < / li >
< li > source/report/< a class = "el" href = "_b_n_o08x_rpt_acceleration_8cpp.html" > BNO08xRptAcceleration.cpp< / a > < / li >
2024-12-06 04:09:30 +00:00
< / ul >
< / 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 = "class_b_n_o08x_rpt_acceleration.html" > BNO08xRptAcceleration< / 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 >