2010-12-26 20:59:17 -04:00
<!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" / >
2010-12-26 23:23:35 -04:00
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javaScript" src = "search/search.js" > < / script >
2010-12-26 20:59:17 -04:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
2010-12-26 23:23:35 -04:00
< body onload = 'searchBox.OnSelectItem(0);' >
2010-12-26 20:59:17 -04:00
<!-- 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 = "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_m___r_c___class.html" title = "APM_RC_Class" alt = "" coords = "5,5,120,35" / > < / 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#a59d8e5ef7099eab747d84e58db50b8d4" > AP_RcChannel< / a > (const < a class = "el" href = "class_a_p_m___r_c___class.html" > APM_RC_Class< / a > & rc, const uint16_t & ch, const float & scale, const uint16_t & pwmMin, const uint16_t & pwmNeutral, const uint16_t & pwmMax, const uint16_t & pwmDeadZone, const bool & filter, const bool & reverse)< / td > < / tr >
2010-12-26 22:59:34 -04:00
< tr > < td class = "mdescLeft" > < / td > < td class = "mdescRight" > Constructor. < a href = "#a59d8e5ef7099eab747d84e58db50b8d4" > < / a > < br / > < / td > < / tr >
2010-12-26 20:59:17 -04:00
< 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#aa6e2d26454f7ba34896de1fe5999d339" > mixRadio< / a > (uint16_t infStart)< / 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" > 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 >
2010-12-26 22:59:34 -04:00
< p > Definition at line < a class = "el" href = "_a_p___rc_channel_8h_source.html#l00015" > 15< / a > of file < a class = "el" href = "_a_p___rc_channel_8h_source.html" > AP_RcChannel.h< / a > .< / p >
2010-12-26 20:59:17 -04:00
< hr / > < h2 > Constructor & Destructor Documentation< / h2 >
< a class = "anchor" id = "a59d8e5ef7099eab747d84e58db50b8d4" > < / a > <!-- doxytag: member="AP_RcChannel::AP_RcChannel" ref="a59d8e5ef7099eab747d84e58db50b8d4" args="(const APM_RC_Class &rc, const uint16_t &ch, const float &scale, const uint16_t &pwmMin, const uint16_t &pwmNeutral, const uint16_t &pwmMax, const uint16_t &pwmDeadZone, const bool &filter, const bool &reverse)" -->
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > AP_RcChannel::AP_RcChannel < / 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 uint16_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 > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const uint16_t & < / td >
< td class = "paramname" > < em > pwmMin< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const uint16_t & < / td >
< td class = "paramname" > < em > pwmNeutral< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const uint16_t & < / td >
< td class = "paramname" > < em > pwmMax< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const uint16_t & < / td >
< td class = "paramname" > < em > pwmDeadZone< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const bool & < / td >
< td class = "paramname" > < em > filter< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const bool & < / td >
< td class = "paramname" > < em > reverse< / em > < / td > < td > < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td > < td > < code > [inline]< / code > < / td >
< / tr >
< / table >
< / div >
< div class = "memdoc" >
2010-12-26 22:59:34 -04:00
< p > Constructor. < / p >
< p > Definition at line < a class = "el" href = "_a_p___rc_channel_8h_source.html#l00020" > 20< / a > of file < a class = "el" href = "_a_p___rc_channel_8h_source.html" > AP_RcChannel.h< / a > .< / p >
2010-12-26 20:59:17 -04:00
< / 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" >
2010-12-26 22:59:34 -04:00
< 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 >
2010-12-26 20:59:17 -04:00
< / 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" >
2010-12-26 22:59:34 -04:00
< 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 >
2010-12-26 20:59:17 -04:00
< / 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" >
2010-12-26 22:59:34 -04:00
< p > Definition at line < a class = "el" href = "_a_p___rc_channel_8h_source.html#l00045" > 45< / a > of file < a class = "el" href = "_a_p___rc_channel_8h_source.html" > AP_RcChannel.h< / a > .< / p >
2010-12-26 20:59:17 -04:00
< / 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" >
2010-12-26 22:59:34 -04:00
< p > Definition at line < a class = "el" href = "_a_p___rc_channel_8h_source.html#l00044" > 44< / a > of file < a class = "el" href = "_a_p___rc_channel_8h_source.html" > AP_RcChannel.h< / a > .< / p >
2010-12-26 20:59:17 -04:00
< / 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#l00059" > 59< / 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#l00017" > 17< / 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 = "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#l00053" > 53< / 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#l00024" > 24< / a > of file < a class = "el" href = "_a_p___rc_channel_8cpp_source.html" > AP_RcChannel.cpp< / a > .< / p >
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > /home/jgoppert/Projects/ap/libraries/AP_RcChannel/< a class = "el" href = "_a_p___rc_channel_8h_source.html" > AP_RcChannel.h< / a > < / li >
< li > /home/jgoppert/Projects/ap/libraries/AP_RcChannel/< a class = "el" href = "_a_p___rc_channel_8cpp_source.html" > AP_RcChannel.cpp< / a > < / li >
< / ul >
< / div >
2010-12-26 23:23:35 -04:00
< 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 >
2010-12-26 20:59:17 -04:00
< / body >
< / html >