VirtualJoystickView.html 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_20) on Thu Apr 26 18:24:31 CEST 2012 -->
  6. <TITLE>
  7. VirtualJoystickView
  8. </TITLE>
  9. <META NAME="date" CONTENT="2012-04-26">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="VirtualJoystickView";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. </EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;<A HREF="../../../../org/ros/android/view/RosTextView.html" title="class in org.ros.android.view"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../../../org/ros/android/view/ZoomMode.html" title="enum in org.ros.android.view"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../index.html?org/ros/android/view/VirtualJoystickView.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="VirtualJoystickView.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. org.ros.android.view</FONT>
  80. <BR>
  81. Class VirtualJoystickView</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">RelativeLayout
  85. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.ros.android.view.VirtualJoystickView</B>
  86. </PRE>
  87. <DL>
  88. <DT><B>All Implemented Interfaces:</B> <DD>org.ros.message.MessageListener&lt;nav_msgs.Odometry&gt;, org.ros.node.NodeListener, org.ros.node.NodeMain</DD>
  89. </DL>
  90. <HR>
  91. <DL>
  92. <DT><PRE>public class <B>VirtualJoystickView</B><DT>extends RelativeLayout<DT>implements org.ros.message.MessageListener&lt;nav_msgs.Odometry&gt;, org.ros.node.NodeMain</DL>
  93. </PRE>
  94. <P>
  95. VirtualJoystickView creates a virtual joystick view that publishes velocity
  96. as (geometry_msgs.Twist) messages. The current version contains the following
  97. features: snap to axes, turn in place, and resume previous velocity.
  98. <P>
  99. <P>
  100. <HR>
  101. <P>
  102. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  103. <A NAME="constructor_summary"><!-- --></A>
  104. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  105. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  106. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  107. <B>Constructor Summary</B></FONT></TH>
  108. </TR>
  109. <TR BGCOLOR="white" CLASS="TableRowColor">
  110. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#VirtualJoystickView(Context)">VirtualJoystickView</A></B>(Context&nbsp;context)</CODE>
  111. <BR>
  112. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#VirtualJoystickView(Context, AttributeSet)">VirtualJoystickView</A></B>(Context&nbsp;context,
  116. AttributeSet&nbsp;attrs)</CODE>
  117. <BR>
  118. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  119. </TR>
  120. <TR BGCOLOR="white" CLASS="TableRowColor">
  121. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#VirtualJoystickView(Context, AttributeSet, int)">VirtualJoystickView</A></B>(Context&nbsp;context,
  122. AttributeSet&nbsp;attrs,
  123. int&nbsp;defStyle)</CODE>
  124. <BR>
  125. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  126. </TR>
  127. </TABLE>
  128. &nbsp;
  129. <!-- ========== METHOD SUMMARY =========== -->
  130. <A NAME="method_summary"><!-- --></A>
  131. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  132. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  133. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  134. <B>Method Summary</B></FONT></TH>
  135. </TR>
  136. <TR BGCOLOR="white" CLASS="TableRowColor">
  137. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  138. <CODE>&nbsp;void</CODE></FONT></TD>
  139. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#DisableSnapping()">DisableSnapping</A></B>()</CODE>
  140. <BR>
  141. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allows the user the option to turn off the auto-snap feature.</TD>
  142. </TR>
  143. <TR BGCOLOR="white" CLASS="TableRowColor">
  144. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  145. <CODE>&nbsp;void</CODE></FONT></TD>
  146. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#EnableSnapping()">EnableSnapping</A></B>()</CODE>
  147. <BR>
  148. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Allows the user the option to turn on the auto-snap feature.</TD>
  149. </TR>
  150. <TR BGCOLOR="white" CLASS="TableRowColor">
  151. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  152. <CODE>&nbsp;org.ros.namespace.GraphName</CODE></FONT></TD>
  153. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#getDefaultNodeName()">getDefaultNodeName</A></B>()</CODE>
  154. <BR>
  155. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  156. </TR>
  157. <TR BGCOLOR="white" CLASS="TableRowColor">
  158. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  159. <CODE>&nbsp;void</CODE></FONT></TD>
  160. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#onAnimationEnd(Animation)">onAnimationEnd</A></B>(Animation&nbsp;animation)</CODE>
  161. <BR>
  162. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  163. </TR>
  164. <TR BGCOLOR="white" CLASS="TableRowColor">
  165. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  166. <CODE>&nbsp;void</CODE></FONT></TD>
  167. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#onAnimationRepeat(Animation)">onAnimationRepeat</A></B>(Animation&nbsp;animation)</CODE>
  168. <BR>
  169. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  170. </TR>
  171. <TR BGCOLOR="white" CLASS="TableRowColor">
  172. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  173. <CODE>&nbsp;void</CODE></FONT></TD>
  174. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#onAnimationStart(Animation)">onAnimationStart</A></B>(Animation&nbsp;animation)</CODE>
  175. <BR>
  176. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  177. </TR>
  178. <TR BGCOLOR="white" CLASS="TableRowColor">
  179. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  180. <CODE>&nbsp;void</CODE></FONT></TD>
  181. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#onError(org.ros.node.Node, java.lang.Throwable)">onError</A></B>(org.ros.node.Node&nbsp;node,
  182. java.lang.Throwable&nbsp;throwable)</CODE>
  183. <BR>
  184. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  185. </TR>
  186. <TR BGCOLOR="white" CLASS="TableRowColor">
  187. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  188. <CODE>protected &nbsp;void</CODE></FONT></TD>
  189. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#onLayout(boolean, int, int, int, int)">onLayout</A></B>(boolean&nbsp;changed,
  190. int&nbsp;l,
  191. int&nbsp;t,
  192. int&nbsp;r,
  193. int&nbsp;b)</CODE>
  194. <BR>
  195. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initialize the fields with values that can only be determined once the
  196. layout for the views has been determined.</TD>
  197. </TR>
  198. <TR BGCOLOR="white" CLASS="TableRowColor">
  199. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  200. <CODE>&nbsp;void</CODE></FONT></TD>
  201. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#onNewMessage(nav_msgs.Odometry)">onNewMessage</A></B>(nav_msgs.Odometry&nbsp;message)</CODE>
  202. <BR>
  203. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  204. </TR>
  205. <TR BGCOLOR="white" CLASS="TableRowColor">
  206. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  207. <CODE>&nbsp;void</CODE></FONT></TD>
  208. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#onShutdown(org.ros.node.Node)">onShutdown</A></B>(org.ros.node.Node&nbsp;node)</CODE>
  209. <BR>
  210. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  211. </TR>
  212. <TR BGCOLOR="white" CLASS="TableRowColor">
  213. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  214. <CODE>&nbsp;void</CODE></FONT></TD>
  215. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#onShutdownComplete(org.ros.node.Node)">onShutdownComplete</A></B>(org.ros.node.Node&nbsp;node)</CODE>
  216. <BR>
  217. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  218. </TR>
  219. <TR BGCOLOR="white" CLASS="TableRowColor">
  220. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  221. <CODE>&nbsp;void</CODE></FONT></TD>
  222. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#onStart(org.ros.node.ConnectedNode)">onStart</A></B>(org.ros.node.ConnectedNode&nbsp;connectedNode)</CODE>
  223. <BR>
  224. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  225. </TR>
  226. <TR BGCOLOR="white" CLASS="TableRowColor">
  227. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  228. <CODE>&nbsp;boolean</CODE></FONT></TD>
  229. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#onTouchEvent(MotionEvent)">onTouchEvent</A></B>(MotionEvent&nbsp;event)</CODE>
  230. <BR>
  231. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  232. </TR>
  233. <TR BGCOLOR="white" CLASS="TableRowColor">
  234. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  235. <CODE>&nbsp;void</CODE></FONT></TD>
  236. <TD><CODE><B><A HREF="../../../../org/ros/android/view/VirtualJoystickView.html#setHolonomic(boolean)">setHolonomic</A></B>(boolean&nbsp;enabled)</CODE>
  237. <BR>
  238. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  239. </TR>
  240. </TABLE>
  241. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  242. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  243. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  244. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  245. </TR>
  246. <TR BGCOLOR="white" CLASS="TableRowColor">
  247. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  248. </TR>
  249. </TABLE>
  250. &nbsp;<A NAME="methods_inherited_from_class_org.ros.message.MessageListener"><!-- --></A>
  251. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  252. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  253. <TH ALIGN="left"><B>Methods inherited from interface org.ros.message.MessageListener</B></TH>
  254. </TR>
  255. <TR BGCOLOR="white" CLASS="TableRowColor">
  256. <TD><CODE>onNewMessage</CODE></TD>
  257. </TR>
  258. </TABLE>
  259. &nbsp;
  260. <P>
  261. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  262. <A NAME="constructor_detail"><!-- --></A>
  263. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  264. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  265. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  266. <B>Constructor Detail</B></FONT></TH>
  267. </TR>
  268. </TABLE>
  269. <A NAME="VirtualJoystickView(Context)"><!-- --></A><H3>
  270. VirtualJoystickView</H3>
  271. <PRE>
  272. public <B>VirtualJoystickView</B>(Context&nbsp;context)</PRE>
  273. <DL>
  274. </DL>
  275. <HR>
  276. <A NAME="VirtualJoystickView(Context, AttributeSet)"><!-- --></A><H3>
  277. VirtualJoystickView</H3>
  278. <PRE>
  279. public <B>VirtualJoystickView</B>(Context&nbsp;context,
  280. AttributeSet&nbsp;attrs)</PRE>
  281. <DL>
  282. </DL>
  283. <HR>
  284. <A NAME="VirtualJoystickView(Context, AttributeSet, int)"><!-- --></A><H3>
  285. VirtualJoystickView</H3>
  286. <PRE>
  287. public <B>VirtualJoystickView</B>(Context&nbsp;context,
  288. AttributeSet&nbsp;attrs,
  289. int&nbsp;defStyle)</PRE>
  290. <DL>
  291. </DL>
  292. <!-- ============ METHOD DETAIL ========== -->
  293. <A NAME="method_detail"><!-- --></A>
  294. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  295. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  296. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  297. <B>Method Detail</B></FONT></TH>
  298. </TR>
  299. </TABLE>
  300. <A NAME="setHolonomic(boolean)"><!-- --></A><H3>
  301. setHolonomic</H3>
  302. <PRE>
  303. public void <B>setHolonomic</B>(boolean&nbsp;enabled)</PRE>
  304. <DL>
  305. <DD><DL>
  306. </DL>
  307. </DD>
  308. <DD><DL>
  309. <DT><B>Parameters:</B><DD><CODE>enabled</CODE> - <code>true</code> if this joystick should publish linear velocities
  310. along the Y axis instead of angular velocities along the Z axis,
  311. <code>false</code> otherwise</DL>
  312. </DD>
  313. </DL>
  314. <HR>
  315. <A NAME="onAnimationEnd(Animation)"><!-- --></A><H3>
  316. onAnimationEnd</H3>
  317. <PRE>
  318. public void <B>onAnimationEnd</B>(Animation&nbsp;animation)</PRE>
  319. <DL>
  320. <DD><DL>
  321. </DL>
  322. </DD>
  323. <DD><DL>
  324. </DL>
  325. </DD>
  326. </DL>
  327. <HR>
  328. <A NAME="onAnimationRepeat(Animation)"><!-- --></A><H3>
  329. onAnimationRepeat</H3>
  330. <PRE>
  331. public void <B>onAnimationRepeat</B>(Animation&nbsp;animation)</PRE>
  332. <DL>
  333. <DD><DL>
  334. </DL>
  335. </DD>
  336. <DD><DL>
  337. </DL>
  338. </DD>
  339. </DL>
  340. <HR>
  341. <A NAME="onAnimationStart(Animation)"><!-- --></A><H3>
  342. onAnimationStart</H3>
  343. <PRE>
  344. public void <B>onAnimationStart</B>(Animation&nbsp;animation)</PRE>
  345. <DL>
  346. <DD><DL>
  347. </DL>
  348. </DD>
  349. <DD><DL>
  350. </DL>
  351. </DD>
  352. </DL>
  353. <HR>
  354. <A NAME="onNewMessage(nav_msgs.Odometry)"><!-- --></A><H3>
  355. onNewMessage</H3>
  356. <PRE>
  357. public void <B>onNewMessage</B>(nav_msgs.Odometry&nbsp;message)</PRE>
  358. <DL>
  359. <DD><DL>
  360. </DL>
  361. </DD>
  362. <DD><DL>
  363. </DL>
  364. </DD>
  365. </DL>
  366. <HR>
  367. <A NAME="onTouchEvent(MotionEvent)"><!-- --></A><H3>
  368. onTouchEvent</H3>
  369. <PRE>
  370. public boolean <B>onTouchEvent</B>(MotionEvent&nbsp;event)</PRE>
  371. <DL>
  372. <DD><DL>
  373. </DL>
  374. </DD>
  375. <DD><DL>
  376. </DL>
  377. </DD>
  378. </DL>
  379. <HR>
  380. <A NAME="EnableSnapping()"><!-- --></A><H3>
  381. EnableSnapping</H3>
  382. <PRE>
  383. public void <B>EnableSnapping</B>()</PRE>
  384. <DL>
  385. <DD>Allows the user the option to turn on the auto-snap feature.
  386. <P>
  387. <DD><DL>
  388. </DL>
  389. </DD>
  390. <DD><DL>
  391. </DL>
  392. </DD>
  393. </DL>
  394. <HR>
  395. <A NAME="DisableSnapping()"><!-- --></A><H3>
  396. DisableSnapping</H3>
  397. <PRE>
  398. public void <B>DisableSnapping</B>()</PRE>
  399. <DL>
  400. <DD>Allows the user the option to turn off the auto-snap feature.
  401. <P>
  402. <DD><DL>
  403. </DL>
  404. </DD>
  405. <DD><DL>
  406. </DL>
  407. </DD>
  408. </DL>
  409. <HR>
  410. <A NAME="onLayout(boolean, int, int, int, int)"><!-- --></A><H3>
  411. onLayout</H3>
  412. <PRE>
  413. protected void <B>onLayout</B>(boolean&nbsp;changed,
  414. int&nbsp;l,
  415. int&nbsp;t,
  416. int&nbsp;r,
  417. int&nbsp;b)</PRE>
  418. <DL>
  419. <DD>Initialize the fields with values that can only be determined once the
  420. layout for the views has been determined.
  421. <P>
  422. <DD><DL>
  423. </DL>
  424. </DD>
  425. <DD><DL>
  426. </DL>
  427. </DD>
  428. </DL>
  429. <HR>
  430. <A NAME="getDefaultNodeName()"><!-- --></A><H3>
  431. getDefaultNodeName</H3>
  432. <PRE>
  433. public org.ros.namespace.GraphName <B>getDefaultNodeName</B>()</PRE>
  434. <DL>
  435. <DD><DL>
  436. <DT><B>Specified by:</B><DD><CODE>getDefaultNodeName</CODE> in interface <CODE>org.ros.node.NodeMain</CODE></DL>
  437. </DD>
  438. <DD><DL>
  439. </DL>
  440. </DD>
  441. </DL>
  442. <HR>
  443. <A NAME="onStart(org.ros.node.ConnectedNode)"><!-- --></A><H3>
  444. onStart</H3>
  445. <PRE>
  446. public void <B>onStart</B>(org.ros.node.ConnectedNode&nbsp;connectedNode)</PRE>
  447. <DL>
  448. <DD><DL>
  449. <DT><B>Specified by:</B><DD><CODE>onStart</CODE> in interface <CODE>org.ros.node.NodeListener</CODE></DL>
  450. </DD>
  451. <DD><DL>
  452. </DL>
  453. </DD>
  454. </DL>
  455. <HR>
  456. <A NAME="onShutdown(org.ros.node.Node)"><!-- --></A><H3>
  457. onShutdown</H3>
  458. <PRE>
  459. public void <B>onShutdown</B>(org.ros.node.Node&nbsp;node)</PRE>
  460. <DL>
  461. <DD><DL>
  462. <DT><B>Specified by:</B><DD><CODE>onShutdown</CODE> in interface <CODE>org.ros.node.NodeListener</CODE></DL>
  463. </DD>
  464. <DD><DL>
  465. </DL>
  466. </DD>
  467. </DL>
  468. <HR>
  469. <A NAME="onShutdownComplete(org.ros.node.Node)"><!-- --></A><H3>
  470. onShutdownComplete</H3>
  471. <PRE>
  472. public void <B>onShutdownComplete</B>(org.ros.node.Node&nbsp;node)</PRE>
  473. <DL>
  474. <DD><DL>
  475. <DT><B>Specified by:</B><DD><CODE>onShutdownComplete</CODE> in interface <CODE>org.ros.node.NodeListener</CODE></DL>
  476. </DD>
  477. <DD><DL>
  478. </DL>
  479. </DD>
  480. </DL>
  481. <HR>
  482. <A NAME="onError(org.ros.node.Node, java.lang.Throwable)"><!-- --></A><H3>
  483. onError</H3>
  484. <PRE>
  485. public void <B>onError</B>(org.ros.node.Node&nbsp;node,
  486. java.lang.Throwable&nbsp;throwable)</PRE>
  487. <DL>
  488. <DD><DL>
  489. <DT><B>Specified by:</B><DD><CODE>onError</CODE> in interface <CODE>org.ros.node.NodeListener</CODE></DL>
  490. </DD>
  491. <DD><DL>
  492. </DL>
  493. </DD>
  494. </DL>
  495. <!-- ========= END OF CLASS DATA ========= -->
  496. <HR>
  497. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  498. <A NAME="navbar_bottom"><!-- --></A>
  499. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  500. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  501. <TR>
  502. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  503. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  504. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  505. <TR ALIGN="center" VALIGN="top">
  506. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  507. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  508. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  509. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  510. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  511. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  512. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  513. </TR>
  514. </TABLE>
  515. </TD>
  516. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  517. </EM>
  518. </TD>
  519. </TR>
  520. <TR>
  521. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  522. &nbsp;<A HREF="../../../../org/ros/android/view/RosTextView.html" title="class in org.ros.android.view"><B>PREV CLASS</B></A>&nbsp;
  523. &nbsp;<A HREF="../../../../org/ros/android/view/ZoomMode.html" title="enum in org.ros.android.view"><B>NEXT CLASS</B></A></FONT></TD>
  524. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  525. <A HREF="../../../../index.html?org/ros/android/view/VirtualJoystickView.html" target="_top"><B>FRAMES</B></A> &nbsp;
  526. &nbsp;<A HREF="VirtualJoystickView.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  527. &nbsp;<SCRIPT type="text/javascript">
  528. <!--
  529. if(window==top) {
  530. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  531. }
  532. //-->
  533. </SCRIPT>
  534. <NOSCRIPT>
  535. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  536. </NOSCRIPT>
  537. </FONT></TD>
  538. </TR>
  539. <TR>
  540. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  541. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  542. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  543. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  544. </TR>
  545. </TABLE>
  546. <A NAME="skip-navbar_bottom"></A>
  547. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  548. <HR>
  549. </BODY>
  550. </HTML>