ardupilot/libraries/doc/html/class_r_c___channel.html

705 lines
33 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: RC_Channel 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&nbsp;Page</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&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> </div>
<div class="headertitle">
<h1>RC_Channel Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="RC_Channel" -->
<p>Object managing one RC channel.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for RC_Channel:</div>
<div class="dyncontent">
<div class="center"><img src="class_r_c___channel__coll__graph.png" border="0" usemap="#_r_c___channel_coll__map" alt="Collaboration graph"/></div>
<map name="_r_c___channel_coll__map" id="_r_c___channel_coll__map">
<area shape="rect" id="node2" href="class_a_p___e_e_p_r_o_m_b.html" title="Object for reading and writing to the EEPROM." alt="" coords="45,101,152,131"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="class_r_c___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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#aaff3c747c934e5729d55cf07b5c544e8">RC_Channel</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#adee6bd12d6ccc9756e3480db39dec737">RC_Channel</a> (uint16_t address)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a148e078784162a8823f190be7bd9bada">update_min_max</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#ad9ea651815e47c12203d4f9cfe32abfd">zero_min_max</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a56117fe9f697096605f84a6045aaa935">load_eeprom</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#aae26f7c9f60cc08537fffe967510f481">save_eeprom</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#afed2cdb2de5fd66cb6eae528e5b6344a">save_trim</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a045bff22457093d0c0fa78e19e618f9f">set_filter</a> (bool filter)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#adffafafffc9027e7293103766229b7e1">set_range</a> (int low, int high)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#ae528ed2a3460fddde82f114cb0694201">set_angle</a> (int angle)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a5b3740e7040f4b75d9cd591ebadca4c3">set_reverse</a> (bool reverse)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#aaa0d7cb0b9f9eb833cc46ac5f9192b86">set_pwm</a> (int pwm)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a8cf9c281ef6da9b275f5d682bb18904c">trim</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a8e699f35b6c0e2524487c93cdef56ba9">get_failsafe</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a8c8933633ace2ad8bfc3a91375f58169">control_mix</a> (float value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a5876259d8fb8c1c475322a236bae7819">calc_pwm</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a5a48b57daab9a0b5feac13af9c8b768d">pwm_to_angle</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a134602daa0073833f97d2934d9b97ef0">norm_input</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#acbef0e8e40f867ca4d8d6c19598dcff5">norm_output</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#abcf4a69f7323c85306e8a25b34e929b3">angle_to_pwm</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a10f764e7d9cb160b1da9ff286b8797fb">pwm_to_range</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#ac50875b55ac524f9d0b2ee50174bd300">range_to_pwm</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#af548fff701d4175c5bdf311526687c05">radio_in</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#aecc4c9d01e139561076e897af1286c0b">control_in</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#aad649dc43957d1c7d563fac50d5ed510">dead_zone</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a3dcd8fce401b9e5825d10705f1608579">servo_out</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#ae8a2a575ae23099703ee2206a98017f4">pwm_out</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a8238439b7d28dea76ce332d6c7a94d76">radio_out</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#ae635deeb549adfd63a6180ce48c8e4d5">radio_min</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#adfe753a9a526dcc827a43f019ae66478">radio_trim</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int16_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#a5dad2c6486bbe66cee2af96f72ce4810">radio_max</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_c___channel.html#afb3bb484e1f586d86105eb1bf40f8593">scale_output</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="_r_c___channel_8h_source.html#l00014">14</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aaff3c747c934e5729d55cf07b5c544e8"></a><!-- doxytag: member="RC_Channel::RC_Channel" ref="aaff3c747c934e5729d55cf07b5c544e8" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">RC_Channel::RC_Channel </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructor</p>
<p>A <a class="el" href="class_r_c___channel.html" title="Object managing one RC channel.">RC_Channel</a> constructed in this fashion does not support save/restore. </p>
<p>Definition at line <a class="el" href="_r_c___channel_8h_source.html#l00020">20</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
</div>
</div>
<a class="anchor" id="adee6bd12d6ccc9756e3480db39dec737"></a><!-- doxytag: member="RC_Channel::RC_Channel" ref="adee6bd12d6ccc9756e3480db39dec737" args="(uint16_t address)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">RC_Channel::RC_Channel </td>
<td>(</td>
<td class="paramtype">uint16_t&nbsp;</td>
<td class="paramname"> <em>address</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructor</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>address</em>&nbsp;</td><td>EEPROM base address at which <a class="el" href="class_r_c___channel.html" title="Object managing one RC channel.">RC_Channel</a> parameters are stored. Zero if the <a class="el" href="class_r_c___channel.html" title="Object managing one RC channel.">RC_Channel</a> does not support save/restore. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_r_c___channel_8h_source.html#l00030">30</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="abcf4a69f7323c85306e8a25b34e929b3"></a><!-- doxytag: member="RC_Channel::angle_to_pwm" ref="abcf4a69f7323c85306e8a25b34e929b3" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t RC_Channel::angle_to_pwm </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00200">200</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a5876259d8fb8c1c475322a236bae7819"></a><!-- doxytag: member="RC_Channel::calc_pwm" ref="a5876259d8fb8c1c475322a236bae7819" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RC_Channel::calc_pwm </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00104">104</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a8c8933633ace2ad8bfc3a91375f58169"></a><!-- doxytag: member="RC_Channel::control_mix" ref="a8c8933633ace2ad8bfc3a91375f58169" args="(float value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int RC_Channel::control_mix </td>
<td>(</td>
<td class="paramtype">float&nbsp;</td>
<td class="paramname"> <em>value</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00090">90</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a8e699f35b6c0e2524487c93cdef56ba9"></a><!-- doxytag: member="RC_Channel::get_failsafe" ref="a8e699f35b6c0e2524487c93cdef56ba9" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool RC_Channel::get_failsafe </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00097">97</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a56117fe9f697096605f84a6045aaa935"></a><!-- doxytag: member="RC_Channel::load_eeprom" ref="a56117fe9f697096605f84a6045aaa935" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RC_Channel::load_eeprom </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00122">122</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a134602daa0073833f97d2934d9b97ef0"></a><!-- doxytag: member="RC_Channel::norm_input" ref="a134602daa0073833f97d2934d9b97ef0" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float RC_Channel::norm_input </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00182">182</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="acbef0e8e40f867ca4d8d6c19598dcff5"></a><!-- doxytag: member="RC_Channel::norm_output" ref="acbef0e8e40f867ca4d8d6c19598dcff5" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float RC_Channel::norm_output </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00191">191</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a5a48b57daab9a0b5feac13af9c8b768d"></a><!-- doxytag: member="RC_Channel::pwm_to_angle" ref="a5a48b57daab9a0b5feac13af9c8b768d" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t RC_Channel::pwm_to_angle </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00170">170</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a10f764e7d9cb160b1da9ff286b8797fb"></a><!-- doxytag: member="RC_Channel::pwm_to_range" ref="a10f764e7d9cb160b1da9ff286b8797fb" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t RC_Channel::pwm_to_range </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00214">214</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ac50875b55ac524f9d0b2ee50174bd300"></a><!-- doxytag: member="RC_Channel::range_to_pwm" ref="ac50875b55ac524f9d0b2ee50174bd300" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t RC_Channel::range_to_pwm </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00221">221</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="aae26f7c9f60cc08537fffe967510f481"></a><!-- doxytag: member="RC_Channel::save_eeprom" ref="aae26f7c9f60cc08537fffe967510f481" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RC_Channel::save_eeprom </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00133">133</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="afed2cdb2de5fd66cb6eae528e5b6344a"></a><!-- doxytag: member="RC_Channel::save_trim" ref="afed2cdb2de5fd66cb6eae528e5b6344a" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RC_Channel::save_trim </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00146">146</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ae528ed2a3460fddde82f114cb0694201"></a><!-- doxytag: member="RC_Channel::set_angle" ref="ae528ed2a3460fddde82f114cb0694201" args="(int angle)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RC_Channel::set_angle </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>angle</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00030">30</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a045bff22457093d0c0fa78e19e618f9f"></a><!-- doxytag: member="RC_Channel::set_filter" ref="a045bff22457093d0c0fa78e19e618f9f" args="(bool filter)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RC_Channel::set_filter </td>
<td>(</td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>filter</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00044">44</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="aaa0d7cb0b9f9eb833cc46ac5f9192b86"></a><!-- doxytag: member="RC_Channel::set_pwm" ref="aaa0d7cb0b9f9eb833cc46ac5f9192b86" args="(int pwm)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RC_Channel::set_pwm </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>pwm</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00059">59</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="adffafafffc9027e7293103766229b7e1"></a><!-- doxytag: member="RC_Channel::set_range" ref="adffafafffc9027e7293103766229b7e1" args="(int low, int high)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RC_Channel::set_range </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>low</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>high</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00022">22</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a5b3740e7040f4b75d9cd591ebadca4c3"></a><!-- doxytag: member="RC_Channel::set_reverse" ref="a5b3740e7040f4b75d9cd591ebadca4c3" args="(bool reverse)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RC_Channel::set_reverse </td>
<td>(</td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>reverse</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00037">37</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a8cf9c281ef6da9b275f5d682bb18904c"></a><!-- doxytag: member="RC_Channel::trim" ref="a8cf9c281ef6da9b275f5d682bb18904c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RC_Channel::trim </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00051">51</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="a148e078784162a8823f190be7bd9bada"></a><!-- doxytag: member="RC_Channel::update_min_max" ref="a148e078784162a8823f190be7bd9bada" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RC_Channel::update_min_max </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00161">161</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<a class="anchor" id="ad9ea651815e47c12203d4f9cfe32abfd"></a><!-- doxytag: member="RC_Channel::zero_min_max" ref="ad9ea651815e47c12203d4f9cfe32abfd" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RC_Channel::zero_min_max </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8cpp_source.html#l00155">155</a> of file <a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a>.</p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aecc4c9d01e139561076e897af1286c0b"></a><!-- doxytag: member="RC_Channel::control_in" ref="aecc4c9d01e139561076e897af1286c0b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t <a class="el" href="class_r_c___channel.html#aecc4c9d01e139561076e897af1286c0b">RC_Channel::control_in</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8h_source.html#l00065">65</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
</div>
</div>
<a class="anchor" id="aad649dc43957d1c7d563fac50d5ed510"></a><!-- doxytag: member="RC_Channel::dead_zone" ref="aad649dc43957d1c7d563fac50d5ed510" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t <a class="el" href="class_r_c___channel.html#aad649dc43957d1c7d563fac50d5ed510">RC_Channel::dead_zone</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8h_source.html#l00066">66</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae8a2a575ae23099703ee2206a98017f4"></a><!-- doxytag: member="RC_Channel::pwm_out" ref="ae8a2a575ae23099703ee2206a98017f4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t <a class="el" href="class_r_c___channel.html#ae8a2a575ae23099703ee2206a98017f4">RC_Channel::pwm_out</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8h_source.html#l00077">77</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
</div>
</div>
<a class="anchor" id="af548fff701d4175c5bdf311526687c05"></a><!-- doxytag: member="RC_Channel::radio_in" ref="af548fff701d4175c5bdf311526687c05" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t <a class="el" href="class_r_c___channel.html#af548fff701d4175c5bdf311526687c05">RC_Channel::radio_in</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8h_source.html#l00056">56</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5dad2c6486bbe66cee2af96f72ce4810"></a><!-- doxytag: member="RC_Channel::radio_max" ref="a5dad2c6486bbe66cee2af96f72ce4810" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t <a class="el" href="class_r_c___channel.html#a5dad2c6486bbe66cee2af96f72ce4810">RC_Channel::radio_max</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8h_source.html#l00082">82</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
</div>
</div>
<a class="anchor" id="ae635deeb549adfd63a6180ce48c8e4d5"></a><!-- doxytag: member="RC_Channel::radio_min" ref="ae635deeb549adfd63a6180ce48c8e4d5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t <a class="el" href="class_r_c___channel.html#ae635deeb549adfd63a6180ce48c8e4d5">RC_Channel::radio_min</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8h_source.html#l00080">80</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
</div>
</div>
<a class="anchor" id="a8238439b7d28dea76ce332d6c7a94d76"></a><!-- doxytag: member="RC_Channel::radio_out" ref="a8238439b7d28dea76ce332d6c7a94d76" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t <a class="el" href="class_r_c___channel.html#a8238439b7d28dea76ce332d6c7a94d76">RC_Channel::radio_out</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8h_source.html#l00078">78</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
</div>
</div>
<a class="anchor" id="adfe753a9a526dcc827a43f019ae66478"></a><!-- doxytag: member="RC_Channel::radio_trim" ref="adfe753a9a526dcc827a43f019ae66478" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t <a class="el" href="class_r_c___channel.html#adfe753a9a526dcc827a43f019ae66478">RC_Channel::radio_trim</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8h_source.html#l00081">81</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
</div>
</div>
<a class="anchor" id="afb3bb484e1f586d86105eb1bf40f8593"></a><!-- doxytag: member="RC_Channel::scale_output" ref="afb3bb484e1f586d86105eb1bf40f8593" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float <a class="el" href="class_r_c___channel.html#afb3bb484e1f586d86105eb1bf40f8593">RC_Channel::scale_output</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8h_source.html#l00094">94</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
</div>
</div>
<a class="anchor" id="a3dcd8fce401b9e5825d10705f1608579"></a><!-- doxytag: member="RC_Channel::servo_out" ref="a3dcd8fce401b9e5825d10705f1608579" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int16_t <a class="el" href="class_r_c___channel.html#a3dcd8fce401b9e5825d10705f1608579">RC_Channel::servo_out</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="_r_c___channel_8h_source.html#l00071">71</a> of file <a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/jgoppert/Projects/ap/libraries/RC_Channel/<a class="el" href="_r_c___channel_8h_source.html">RC_Channel.h</a></li>
<li>/home/jgoppert/Projects/ap/libraries/RC_Channel/<a class="el" href="_r_c___channel_8cpp_source.html">RC_Channel.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>
Generated for ArduPilot Libraries by&nbsp;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.png" alt="doxygen"/></a></small></address>
</body>
</html>