237 lines
15 KiB
HTML
237 lines
15 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.13.2"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>QtRocket: tests/test_flightstate.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="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript" src="resize.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>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { init_search(); });
|
|
/* @license-end */
|
|
</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">QtRocket
|
|
</div>
|
|
</td>
|
|
<td> <div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"> </span>
|
|
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.13.2 -->
|
|
<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">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() { codefold.init(0); });
|
|
/* @license-end */
|
|
</script>
|
|
</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('test__flightstate_8cpp.html',''); initResizable(true); });
|
|
/* @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> </div>
|
|
<div class="headertitle"><div class="title">test_flightstate.cpp File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include "<a class="el" href="catch__amalgamated_8hpp_source.html">vendor/catch_amalgamated.hpp</a>"</code><br />
|
|
<code>#include "<a class="el" href="FlightState_8h_source.html">FlightState.h</a>"</code><br />
|
|
</div><div class="textblock"><div class="dynheader">
|
|
Include dependency graph for test_flightstate.cpp:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="test__flightstate_8cpp__incl.png" border="0" usemap="#atests_2test__flightstate_8cpp" alt=""/></div>
|
|
<map name="atests_2test__flightstate_8cpp" id="atests_2test__flightstate_8cpp">
|
|
<area shape="rect" title=" " alt="" coords="983,5,1167,33"/>
|
|
<area shape="rect" href="catch__amalgamated_8hpp.html" title=" " alt="" coords="863,81,1095,109"/>
|
|
<area shape="poly" title=" " alt="" coords="1059,36,1010,73,1007,69,1056,31"/>
|
|
<area shape="rect" href="FlightState_8h.html" title=" " alt="" coords="1463,81,1567,109"/>
|
|
<area shape="poly" title=" " alt="" coords="1155,31,1448,80,1447,85,1154,36"/>
|
|
<area shape="rect" title=" " alt="" coords="5,157,97,184"/>
|
|
<area shape="poly" title=" " alt="" coords="863,102,530,118,323,134,113,159,112,154,323,129,529,112,863,96"/>
|
|
<area shape="rect" title=" " alt="" coords="120,157,179,184"/>
|
|
<area shape="poly" title=" " alt="" coords="863,100,729,104,564,114,381,132,195,159,194,154,380,126,563,109,729,99,863,95"/>
|
|
<area shape="rect" title=" " alt="" coords="203,157,272,184"/>
|
|
<area shape="poly" title=" " alt="" coords="863,103,604,120,447,136,288,159,287,154,447,131,603,114,863,97"/>
|
|
<area shape="rect" title=" " alt="" coords="296,157,360,184"/>
|
|
<area shape="poly" title=" " alt="" coords="863,104,641,122,510,138,376,159,375,154,509,132,640,117,863,99"/>
|
|
<area shape="rect" title=" " alt="" coords="385,157,453,184"/>
|
|
<area shape="poly" title=" " alt="" coords="863,107,681,126,469,159,468,154,681,121,862,102"/>
|
|
<area shape="rect" title=" " alt="" coords="477,157,542,184"/>
|
|
<area shape="poly" title=" " alt="" coords="863,111,721,130,558,159,557,154,720,125,862,106"/>
|
|
<area shape="rect" title=" " alt="" coords="566,157,632,184"/>
|
|
<area shape="poly" title=" " alt="" coords="895,112,781,132,647,159,646,154,780,126,894,107"/>
|
|
<area shape="rect" title=" " alt="" coords="656,157,718,184"/>
|
|
<area shape="poly" title=" " alt="" coords="923,112,734,158,733,153,921,107"/>
|
|
<area shape="rect" title=" " alt="" coords="742,157,826,184"/>
|
|
<area shape="poly" title=" " alt="" coords="945,112,834,153,832,148,943,107"/>
|
|
<area shape="rect" title=" " alt="" coords="850,157,913,184"/>
|
|
<area shape="poly" title=" " alt="" coords="963,111,912,150,909,145,960,107"/>
|
|
<area shape="rect" title=" " alt="" coords="936,157,1022,184"/>
|
|
<area shape="poly" title=" " alt="" coords="982,109,982,141,976,141,976,109"/>
|
|
<area shape="rect" title=" " alt="" coords="1045,157,1121,184"/>
|
|
<area shape="poly" title=" " alt="" coords="999,107,1054,146,1051,150,996,111"/>
|
|
<area shape="rect" title=" " alt="" coords="1144,157,1203,184"/>
|
|
<area shape="poly" title=" " alt="" coords="1015,107,1131,150,1129,155,1013,112"/>
|
|
<area shape="rect" title=" " alt="" coords="1227,157,1278,184"/>
|
|
<area shape="poly" title=" " alt="" coords="1035,107,1213,153,1211,159,1034,112"/>
|
|
<area shape="rect" title=" " alt="" coords="1302,157,1368,184"/>
|
|
<area shape="poly" title=" " alt="" coords="1055,107,1288,154,1287,159,1054,112"/>
|
|
<area shape="rect" title=" " alt="" coords="1391,157,1442,184"/>
|
|
<area shape="poly" title=" " alt="" coords="1096,105,1227,124,1376,153,1375,159,1226,129,1095,111"/>
|
|
<area shape="rect" title=" " alt="" coords="1466,157,1542,184"/>
|
|
<area shape="poly" title=" " alt="" coords="1095,105,1260,124,1451,154,1450,159,1259,129,1095,110"/>
|
|
<area shape="rect" title=" " alt="" coords="1567,157,1642,184"/>
|
|
<area shape="poly" title=" " alt="" coords="1095,101,1304,120,1427,134,1552,154,1551,159,1426,140,1303,125,1095,106"/>
|
|
<area shape="rect" title=" " alt="" coords="1665,157,1720,184"/>
|
|
<area shape="poly" title=" " alt="" coords="1095,96,1209,101,1347,112,1497,129,1650,154,1649,159,1496,134,1346,117,1209,107,1095,101"/>
|
|
<area shape="rect" title=" " alt="" coords="1744,157,1809,184"/>
|
|
<area shape="poly" title=" " alt="" coords="1095,96,1223,101,1380,112,1553,129,1729,154,1728,159,1552,134,1379,117,1223,107,1095,101"/>
|
|
<area shape="rect" title=" " alt="" coords="1833,157,1888,184"/>
|
|
<area shape="poly" title=" " alt="" coords="1568,102,1680,122,1818,153,1817,158,1679,128,1567,107"/>
|
|
</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:aec6ef2e35319009284fe516ee8a56d07" id="r_aec6ef2e35319009284fe516ee8a56d07"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="#aec6ef2e35319009284fe516ee8a56d07">TEST_CASE</a> ("FlightState basic behavior", "[flightstate]")</td></tr>
|
|
<tr class="separator:aec6ef2e35319009284fe516ee8a56d07"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="aec6ef2e35319009284fe516ee8a56d07" name="aec6ef2e35319009284fe516ee8a56d07"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aec6ef2e35319009284fe516ee8a56d07">◆ </a></span>TEST_CASE()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">TEST_CASE </td>
|
|
<td>(</td>
|
|
<td class="paramtype">"FlightState basic behavior"</td> <td class="paramname"><span class="paramname"><em></em></span>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">""</td> <td class="paramname"><span class="paramname"><em></em></span>[flightstate] )</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="test__flightstate_8cpp_aec6ef2e35319009284fe516ee8a56d07_cgraph.png" border="0" usemap="#atest__flightstate_8cpp_aec6ef2e35319009284fe516ee8a56d07_cgraph" alt=""/></div>
|
|
<map name="atest__flightstate_8cpp_aec6ef2e35319009284fe516ee8a56d07_cgraph" id="atest__flightstate_8cpp_aec6ef2e35319009284fe516ee8a56d07_cgraph">
|
|
<area shape="rect" title=" " alt="" coords="5,292,100,320"/>
|
|
<area shape="rect" href="classFlightState.html#a128d86980e2ef1659698d59020c3f553" title="Gets the current acceleration vector." alt="" coords="159,5,361,33"/>
|
|
<area shape="poly" title=" " alt="" coords="52,291,57,244,71,177,83,141,99,105,120,72,146,44,151,39,155,44,150,48,124,76,104,108,88,143,76,178,62,244,57,292"/>
|
|
<area shape="rect" href="classFlightState.html#aea387dd379deb54afe103ddc938a5f7f" title="Gets the current angular velocity vector." alt="" coords="148,57,372,85"/>
|
|
<area shape="poly" title=" " alt="" coords="53,291,61,252,78,199,105,143,124,118,146,96,152,91,156,95,149,100,128,121,110,146,83,201,67,253,58,292"/>
|
|
<area shape="rect" href="classFlightState.html#a1f862a9bb17f314c0651af79766319be" title="Gets the current orientation quaternion." alt="" coords="163,109,357,137"/>
|
|
<area shape="poly" title=" " alt="" coords="56,291,67,261,85,222,112,182,146,148,155,142,158,147,149,152,116,185,90,224,72,263,61,293"/>
|
|
<area shape="rect" href="classFlightState.html#a9a1183505e6539073cb6f3ff5fcc505b" title="Gets the current position vector." alt="" coords="173,161,346,189"/>
|
|
<area shape="poly" title=" " alt="" coords="60,290,94,245,118,220,146,200,160,193,162,197,149,204,122,224,98,249,65,293"/>
|
|
<area shape="rect" href="classFlightState.html#ada75d863cd3ea7f93bdca37920379d15" title="Gets the elapsed simulation time." alt="" coords="183,213,336,241"/>
|
|
<area shape="poly" title=" " alt="" coords="74,289,108,270,147,251,171,243,172,248,149,256,110,274,77,294"/>
|
|
<area shape="rect" href="classFlightState.html#ad78ea9399327e70496f3508f2a1ffb1f" title="Gets the current velocity vector." alt="" coords="173,265,347,293"/>
|
|
<area shape="poly" title=" " alt="" coords="100,297,157,290,158,295,101,302"/>
|
|
<area shape="rect" href="classFlightState.html#afcd8ae883f3892ccbac685b56dcdbaaa" title="Sets the current acceleration vector." alt="" coords="159,317,360,345"/>
|
|
<area shape="poly" title=" " alt="" coords="101,309,144,314,144,320,100,314"/>
|
|
<area shape="rect" href="classFlightState.html#a48a0e6c28bb2df12adf06fb33a789261" title="Sets the current angular velocity vector." alt="" coords="148,369,372,397"/>
|
|
<area shape="poly" title=" " alt="" coords="78,318,111,337,149,354,173,362,172,367,147,359,108,341,75,323"/>
|
|
<area shape="rect" href="classFlightState.html#a0b464e9d452d4bf846b626a18834a717" title="Sets the current orientation quaternion." alt="" coords="163,421,356,449"/>
|
|
<area shape="poly" title=" " alt="" coords="65,319,98,363,122,386,149,406,162,413,160,418,146,411,119,390,94,366,61,322"/>
|
|
<area shape="rect" href="classFlightState.html#a5cbeb7d04ea884baeb09579a3d5909fc" title="Sets the current position vector." alt="" coords="174,473,346,501"/>
|
|
<area shape="poly" title=" " alt="" coords="61,319,72,349,90,387,116,426,149,458,161,466,158,470,146,463,112,429,86,389,67,351,56,321"/>
|
|
<area shape="rect" href="classFlightState.html#af4c9e070d86dde642c2f4a7d63ff41aa" title="Sets the elapsed simulation time." alt="" coords="184,525,336,553"/>
|
|
<area shape="poly" title=" " alt="" coords="59,319,67,358,83,410,110,464,128,489,149,510,170,523,168,528,146,515,124,493,105,467,78,412,61,359,53,320"/>
|
|
<area shape="rect" href="classFlightState.html#a2f127e65b737842f0fcd0083c8d5eb4a" title="Sets the current velocity vector." alt="" coords="173,577,346,605"/>
|
|
<area shape="poly" title=" " alt="" coords="57,320,62,367,76,433,88,468,104,503,124,535,149,563,161,571,158,575,146,566,120,538,99,505,83,470,71,434,57,368,52,320"/>
|
|
</map>
|
|
</div>
|
|
|
|
</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_59425e443f801f1f2fd8bbe4959a3ccf.html">tests</a></li><li class="navelem"><a class="el" href="test__flightstate_8cpp.html">test_flightstate.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.13.2 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|