OSDN Git Service

lejos_NXJ_win32_0_4_0beta.zip
[nxt-jsp/lejos_nxj.git] / nxtOSEK / lejos_nxj / docs / apidocs / lejos / nxt / Motor.html
index 067133a..ca6a457 100644 (file)
@@ -2,7 +2,7 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_09) on Sun Jul 15 14:27:36 BST 2007 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
 <TITLE>
 Motor (leJOS NXT API documentation)
 </TITLE>
@@ -116,7 +116,7 @@ Abstraction for a NXT motor. Three instances of <code>Motor</code>
  Example:<p>
  <code><pre>
    Motor.A.setSpeed(720);// 2 RPM
-   Motor.C.setSpeed(7200);
+   Motor.C.setSpeed(720);
    Motor.A.forward();
    Motor.C.forward();
    Thread.sleep (1000);
@@ -238,6 +238,22 @@ Abstraction for a NXT motor. Three instances of <code>Motor</code>
 </TR>
 <TR BGCOLOR="white" CLASS="TableRowColor">
 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;float</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/Motor.html#getBasePower()">getBasePower</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;float</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../lejos/nxt/Motor.html#getError()">getError</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 <CODE>&nbsp;int</CODE></FONT></TD>
 <TD><CODE><B><A HREF="../../lejos/nxt/Motor.html#getLimitAngle()">getLimitAngle</A></B>()</CODE>
 
@@ -987,6 +1003,34 @@ public void <B>resetTachoCount</B>()</PRE>
 </DL>
 <HR>
 
+<A NAME="getError()"><!-- --></A><H3>
+getError</H3>
+<PRE>
+public float <B>getError</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getBasePower()"><!-- --></A><H3>
+getBasePower</H3>
+<PRE>
+public float <B>getBasePower</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+</DL>
+</DD>
+</DL>
+<HR>
+
 <A NAME="isForward()"><!-- --></A><H3>
 isForward</H3>
 <PRE>