mirror of https://github.com/ArduPilot/ardupilot
711 lines
34 KiB
HTML
711 lines
34 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<title>ArduPilot Libraries: AP_RcChannel Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javaScript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body onload='searchBox.OnSelectItem(0);'>
|
|
<!-- Generated by Doxygen 1.7.1 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> </div>
|
|
<div class="headertitle">
|
|
<h1>AP_RcChannel Class Reference</h1> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<!-- doxytag: class="AP_RcChannel" -->
|
|
<p>Object managing one RC channel.
|
|
<a href="#_details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for AP_RcChannel:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="class_a_p___rc_channel__coll__graph.png" border="0" usemap="#_a_p___rc_channel_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="_a_p___rc_channel_coll__map" id="_a_p___rc_channel_coll__map">
|
|
<area shape="rect" id="node2" href="class_a_p___var.html" title="AP_Var\< type \>" alt="" coords="5,85,131,115"/><area shape="rect" id="node4" href="class_a_p___var_i.html" title="AP_VarI" alt="" coords="33,5,103,35"/><area shape="rect" id="node6" href="class_a_p_m___r_c___class.html" title="APM_RC_Class" alt="" coords="155,85,269,115"/></map>
|
|
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
|
|
|
|
<p><a href="class_a_p___rc_channel-members.html">List of all members.</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a999c60959d8a0ce46a59827685acaf10">AP_RcChannel</a> (const char *name, const <a class="el" href="class_a_p_m___r_c___class.html">APM_RC_Class</a> &rc, const uint8_t &ch, const float &scale=45.0, const float &center=0.0, const uint16_t &pwmMin=1200, const uint16_t &pwmNeutral=1500, const uint16_t &pwmMax=1800, const uint16_t &pwmDeadZone=10, const bool &filter=false, const bool &reverse=false)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a999c60959d8a0ce46a59827685acaf10"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a725490da9c871958d654bb5801e84df0">readRadio</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#ae6caba4fc3de9e6e1eeaebcd42e5ff28">setPwm</a> (uint16_t pwm)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#afeef294037ec90769e82e46d232cefb4">setPosition</a> (float position)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a57154d7bad971e0c92e88e5a001decfd">setNormalized</a> (float normPosition)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#aa6e2d26454f7ba34896de1fe5999d339">mixRadio</a> (uint16_t infStart)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#af828a01e11f983b06e0d3dd711f6f1d5">setCh</a> (const uint8_t &ch)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#aa6b7c0e14da6689682c2a17ae9603e61">setScale</a> (const float &scale)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a266e93a3d2e6206f1d1d9a32019d4d73">setCenter</a> (const float &center)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a2421d36f869ce10a1651cb71409f1ed0">setPwmMin</a> (const uint16_t &pwmMin)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#af8b4b03211fe3877ad951214f5fc022b">setPwmNeutral</a> (const uint16_t &pwmNeutral)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a0a6ff8625f66658ebc4cb8265132ef77">setPwmMax</a> (const uint16_t &pwmMax)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#afda0852c03161d2cd09536ee4c690b71">setPwmDeadZone</a> (const uint16_t &pwmDeadZone)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#ace7e0286e606c6c70009c88cb31ce4b6">setFilter</a> (const bool &filter)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#aabf80a7612951952e267a1f65bbca40b">getPwm</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a905e9e9bac80fda3b1e788d930e079f9">getPosition</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a4fa8051ba8c8a26f04674c30dfd9f7b7">getNormalized</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#ace9c74aa38c159cb379af06ba004f160">getName</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const uint8_t & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a59af563b2e668141412cc4119ebb22f8">getCh</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a64db47948673ae8af867d687526a2d28">getScale</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const float & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a53d7cbd98ae3ade1d0b96a59d6faa02d">getCenter</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const uint16_t & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a81767bfd7e39d80e044654891b78fc26">getPwmMin</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const uint16_t & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a89185f2671074c1901f529e7dbfa5788">getPwmNeutral</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const uint16_t & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a8b5baa0873d10155bce0dbf974608d65">getPwmMax</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const uint16_t & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#ab93b128746dca000fd8a274354759c79">getPwmDeadZone</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const bool & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a8d71664f22f624c8d8ef39c4ba6b7273">getFilter</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">const bool & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#a010225f4c316687dff652b23efa4c39d">getReverse</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_p___rc_channel.html#ae16cc18277ad6880e27cd726b2d39052">failSafe</a> ()</td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>Object managing one RC channel. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00018">18</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
<hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a999c60959d8a0ce46a59827685acaf10"></a><!-- doxytag: member="AP_RcChannel::AP_RcChannel" ref="a999c60959d8a0ce46a59827685acaf10" args="(const char *name, const APM_RC_Class &rc, const uint8_t &ch, const float &scale=45.0, const float &center=0.0, const uint16_t &pwmMin=1200, const uint16_t &pwmNeutral=1500, const uint16_t &pwmMax=1800, const uint16_t &pwmDeadZone=10, const bool &filter=false, const bool &reverse=false)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">AP_RcChannel::AP_RcChannel </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="class_a_p_m___r_c___class.html">APM_RC_Class</a> & </td>
|
|
<td class="paramname"> <em>rc</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const uint8_t & </td>
|
|
<td class="paramname"> <em>ch</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const float & </td>
|
|
<td class="paramname"> <em>scale</em> = <code>45.0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const float & </td>
|
|
<td class="paramname"> <em>center</em> = <code>0.0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const uint16_t & </td>
|
|
<td class="paramname"> <em>pwmMin</em> = <code>1200</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const uint16_t & </td>
|
|
<td class="paramname"> <em>pwmNeutral</em> = <code>1500</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const uint16_t & </td>
|
|
<td class="paramname"> <em>pwmMax</em> = <code>1800</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const uint16_t & </td>
|
|
<td class="paramname"> <em>pwmDeadZone</em> = <code>10</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const bool & </td>
|
|
<td class="paramname"> <em>filter</em> = <code>false</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const bool & </td>
|
|
<td class="paramname"> <em>reverse</em> = <code>false</code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Constructor. </p>
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8cpp_source.html#l00017">17</a> of file <a class="el" href="_a_p___rc_channel_8cpp_source.html">AP_RcChannel.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="ae16cc18277ad6880e27cd726b2d39052"></a><!-- doxytag: member="AP_RcChannel::failSafe" ref="ae16cc18277ad6880e27cd726b2d39052" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool AP_RcChannel::failSafe </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00061">61</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a53d7cbd98ae3ade1d0b96a59d6faa02d"></a><!-- doxytag: member="AP_RcChannel::getCenter" ref="a53d7cbd98ae3ade1d0b96a59d6faa02d" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const float& AP_RcChannel::getCenter </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00052">52</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a59af563b2e668141412cc4119ebb22f8"></a><!-- doxytag: member="AP_RcChannel::getCh" ref="a59af563b2e668141412cc4119ebb22f8" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const uint8_t& AP_RcChannel::getCh </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00050">50</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8d71664f22f624c8d8ef39c4ba6b7273"></a><!-- doxytag: member="AP_RcChannel::getFilter" ref="a8d71664f22f624c8d8ef39c4ba6b7273" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const bool& AP_RcChannel::getFilter </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00057">57</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ace9c74aa38c159cb379af06ba004f160"></a><!-- doxytag: member="AP_RcChannel::getName" ref="ace9c74aa38c159cb379af06ba004f160" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const char* AP_RcChannel::getName </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00049">49</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4fa8051ba8c8a26f04674c30dfd9f7b7"></a><!-- doxytag: member="AP_RcChannel::getNormalized" ref="a4fa8051ba8c8a26f04674c30dfd9f7b7" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float AP_RcChannel::getNormalized </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00048">48</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a905e9e9bac80fda3b1e788d930e079f9"></a><!-- doxytag: member="AP_RcChannel::getPosition" ref="a905e9e9bac80fda3b1e788d930e079f9" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float AP_RcChannel::getPosition </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00047">47</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aabf80a7612951952e267a1f65bbca40b"></a><!-- doxytag: member="AP_RcChannel::getPwm" ref="aabf80a7612951952e267a1f65bbca40b" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint16_t AP_RcChannel::getPwm </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00046">46</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab93b128746dca000fd8a274354759c79"></a><!-- doxytag: member="AP_RcChannel::getPwmDeadZone" ref="ab93b128746dca000fd8a274354759c79" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const uint16_t& AP_RcChannel::getPwmDeadZone </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00056">56</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8b5baa0873d10155bce0dbf974608d65"></a><!-- doxytag: member="AP_RcChannel::getPwmMax" ref="a8b5baa0873d10155bce0dbf974608d65" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const uint16_t& AP_RcChannel::getPwmMax </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00055">55</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a81767bfd7e39d80e044654891b78fc26"></a><!-- doxytag: member="AP_RcChannel::getPwmMin" ref="a81767bfd7e39d80e044654891b78fc26" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const uint16_t& AP_RcChannel::getPwmMin </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00053">53</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a89185f2671074c1901f529e7dbfa5788"></a><!-- doxytag: member="AP_RcChannel::getPwmNeutral" ref="a89185f2671074c1901f529e7dbfa5788" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const uint16_t& AP_RcChannel::getPwmNeutral </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00054">54</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a010225f4c316687dff652b23efa4c39d"></a><!-- doxytag: member="AP_RcChannel::getReverse" ref="a010225f4c316687dff652b23efa4c39d" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const bool& AP_RcChannel::getReverse </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00058">58</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a64db47948673ae8af867d687526a2d28"></a><!-- doxytag: member="AP_RcChannel::getScale" ref="a64db47948673ae8af867d687526a2d28" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const float& AP_RcChannel::getScale </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00051">51</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa6e2d26454f7ba34896de1fe5999d339"></a><!-- doxytag: member="AP_RcChannel::mixRadio" ref="aa6e2d26454f7ba34896de1fe5999d339" args="(uint16_t infStart)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::mixRadio </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"> <em>infStart</em></td>
|
|
<td> ) </td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8cpp_source.html#l00082">82</a> of file <a class="el" href="_a_p___rc_channel_8cpp_source.html">AP_RcChannel.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a725490da9c871958d654bb5801e84df0"></a><!-- doxytag: member="AP_RcChannel::readRadio" ref="a725490da9c871958d654bb5801e84df0" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::readRadio </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8cpp_source.html#l00039">39</a> of file <a class="el" href="_a_p___rc_channel_8cpp_source.html">AP_RcChannel.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a266e93a3d2e6206f1d1d9a32019d4d73"></a><!-- doxytag: member="AP_RcChannel::setCenter" ref="a266e93a3d2e6206f1d1d9a32019d4d73" args="(const float &center)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::setCenter </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const float & </td>
|
|
<td class="paramname"> <em>center</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00038">38</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af828a01e11f983b06e0d3dd711f6f1d5"></a><!-- doxytag: member="AP_RcChannel::setCh" ref="af828a01e11f983b06e0d3dd711f6f1d5" args="(const uint8_t &ch)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::setCh </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint8_t & </td>
|
|
<td class="paramname"> <em>ch</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00036">36</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ace7e0286e606c6c70009c88cb31ce4b6"></a><!-- doxytag: member="AP_RcChannel::setFilter" ref="ace7e0286e606c6c70009c88cb31ce4b6" args="(const bool &filter)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::setFilter </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const bool & </td>
|
|
<td class="paramname"> <em>filter</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00043">43</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a57154d7bad971e0c92e88e5a001decfd"></a><!-- doxytag: member="AP_RcChannel::setNormalized" ref="a57154d7bad971e0c92e88e5a001decfd" args="(float normPosition)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::setNormalized </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"> <em>normPosition</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00034">34</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afeef294037ec90769e82e46d232cefb4"></a><!-- doxytag: member="AP_RcChannel::setPosition" ref="afeef294037ec90769e82e46d232cefb4" args="(float position)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::setPosition </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"> <em>position</em></td>
|
|
<td> ) </td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8cpp_source.html#l00076">76</a> of file <a class="el" href="_a_p___rc_channel_8cpp_source.html">AP_RcChannel.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae6caba4fc3de9e6e1eeaebcd42e5ff28"></a><!-- doxytag: member="AP_RcChannel::setPwm" ref="ae6caba4fc3de9e6e1eeaebcd42e5ff28" args="(uint16_t pwm)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::setPwm </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"> <em>pwm</em></td>
|
|
<td> ) </td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8cpp_source.html#l00046">46</a> of file <a class="el" href="_a_p___rc_channel_8cpp_source.html">AP_RcChannel.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afda0852c03161d2cd09536ee4c690b71"></a><!-- doxytag: member="AP_RcChannel::setPwmDeadZone" ref="afda0852c03161d2cd09536ee4c690b71" args="(const uint16_t &pwmDeadZone)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::setPwmDeadZone </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint16_t & </td>
|
|
<td class="paramname"> <em>pwmDeadZone</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00042">42</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0a6ff8625f66658ebc4cb8265132ef77"></a><!-- doxytag: member="AP_RcChannel::setPwmMax" ref="a0a6ff8625f66658ebc4cb8265132ef77" args="(const uint16_t &pwmMax)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::setPwmMax </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint16_t & </td>
|
|
<td class="paramname"> <em>pwmMax</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00041">41</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2421d36f869ce10a1651cb71409f1ed0"></a><!-- doxytag: member="AP_RcChannel::setPwmMin" ref="a2421d36f869ce10a1651cb71409f1ed0" args="(const uint16_t &pwmMin)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::setPwmMin </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint16_t & </td>
|
|
<td class="paramname"> <em>pwmMin</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00039">39</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af8b4b03211fe3877ad951214f5fc022b"></a><!-- doxytag: member="AP_RcChannel::setPwmNeutral" ref="af8b4b03211fe3877ad951214f5fc022b" args="(const uint16_t &pwmNeutral)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::setPwmNeutral </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const uint16_t & </td>
|
|
<td class="paramname"> <em>pwmNeutral</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00040">40</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa6b7c0e14da6689682c2a17ae9603e61"></a><!-- doxytag: member="AP_RcChannel::setScale" ref="aa6b7c0e14da6689682c2a17ae9603e61" args="(const float &scale)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void AP_RcChannel::setScale </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const float & </td>
|
|
<td class="paramname"> <em>scale</em></td>
|
|
<td> ) </td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Definition at line <a class="el" href="_a_p___rc_channel_8h_source.html#l00037">37</a> of file <a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
|
<li><a class="el" href="_a_p___rc_channel_8h_source.html">AP_RcChannel.h</a></li>
|
|
<li><a class="el" href="_a_p___rc_channel_8cpp_source.html">AP_RcChannel.cpp</a></li>
|
|
</ul>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated for ArduPilot Libraries by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.png" alt="doxygen"/></a></small></address>
|
|
</body>
|
|
</html>
|