Changeset 254

Show
Ignore:
Timestamp:
09/10/08 19:15:42 (5 years ago)
Author:
atorf
Message:

updated toolbox doc in personal branch…

Location:
branches/atorf/RWTHMindstormsNXT
Files:
32 added
67 modified

Legend:

Unmodified
Added
Removed
  • branches/atorf/RWTHMindstormsNXT/README

    r3 r254  
    22* Readme file for RWTH - Mindstorms NXT Toolbox for MATLAB  * 
    33* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * 
    4 *             Version 1.00 - January 24th, 2008             * 
     4*            Version 2.00beta - July 18th, 2008             * 
    55* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
    66 
     
    4242- MATLAB Version 7.4 (R2007a) or higher 
    4343- LEGO® Mindstorms NXT building kit (e.g. Education Kit) 
    44 - LEGO® Mindstorms NXT firmware v1.05 (recommended) 
    45 - Bluetooth 2.0 adapter recommended model by LEGO® (e.g. AVM BlueFRITZ! USB) 
    46   supporting the serial port profile (SPP) 
     44- LEGO® Mindstorms NXT firmware v1.05 (recommended)  
     45  OR a firmware compatible to the NXT's direct command interface 
     46- Bluetooth: Bluetooth 2.0 adapter recommended model by LEGO®  
     47  (e.g. AVM BlueFRITZ! USB) supporting the serial port profile (SPP)   
     48- USB:  
     49  Windows: Official MINDSTORMS NXT Driver "Fantom", v1.02 or better  
     50  Linux: libusb or libusb-dev   
    4751 
    48 The SPP (serial port profile) means that a virtual serial port is installed, which maps all data to the Bluetooth interface. You can verify this under Windows inside the Device Manager, where an additional COM-Port should be visible. Under Linux, the bluez Bluetooth stack is recommended. A device called "rfcomm0" or similar should be present inside the /dev/ directory. 
     52 
     53*** Bluetooth: 
     54 
     55The SPP (serial port profile) means that a virtual serial port is installed, which maps all data to the Bluetooth interface. You can verify this under Windows inside the Device Manager, where an additional COM-Port should be visible. Under Linux, the bluez Bluetooth stack is recommended. The package you need is usually called "bluetooth" (for Debian's apt-get). This 
     56package should already contain "bluez-utils", if not, install it as well. 
     57On the our project website you'll find a zip-archive containing useful scripts for Linux. 
     58For Bluetooth-connection, the script "btconnect" is recommended, followed by the NXT's name or 
     59its MAC adress. Make sure the user has access rights to devices called "rfcomm". Sometimes this 
     60means adding the current user to the group "dialout". 
     61For Bluetooth under Linux the packages "dbns" and "dbns-x11" may also be required. 
     62The the command "bluetooth-applet --singleton" can be run from the console. After this, the script 
     63"btconnect" should work. 
     64 
     65 
     66*** USB: 
     67 
     68For USB-connections under Windows, the official LEGO MINDSTORMS NXT Device Driver v1.02 or 
     69better has to be installed (also called "Fantom"). It can be downloaded here: 
     70http://mindstorms.lego.com/support/updates/ 
     71Direct download link is this: 
     72http://cache.lego.com/upload/contentTemplating/MindstormsUpdate/otherfiles/2057/upload1F7B2420-A5ED-44FF-9460-E262657029DC.zip 
     73 
     74On Linux systems, the open-source library libusb has to be present. It can be retrieved using 
     75a packet manager, for example Debian's apt-get. If installing the package "libusb" alone does 
     76not work, also "libusb-dev" should be retrieved and installed. 
     77 
     78 
     79 
     80To troubleshoot problems with opening connections to the NXT, the toolbox command 
     81>> DebugMode on 
     82can be used before trying to open a handle. 
     83 
    4984 
    5085 
     
    6196- Also add the folder  demos  (it is a sub-directory of  RWTHMindstormsNXT ) 
    6297- Press Save to remember settings for future MATLAB sessions 
    63 - Run the command >>BT_MakeConfigFile<< from the MATLAB command window  or: 
     98- Run the command >>COM_MakeBTConfigFile<< from the MATLAB command window  or: 
    6499  edit a bluetooth-example ini-file from the toolbox folder to suit your configuration. 
     100  You can skip this and the next step, if you don't want to use Bluetooth. 
    65101- Establish a Bluetooth connection to your NXT using your adapter's driver software. 
    66102- Authenticate with the NXT (a passkey request should appear) 
    67 - You can now open Bluetooth connections using the toolbox command >>BT_OpenHandle<< 
     103- You can now open Bluetooth or USB connections using the toolbox commands  
     104  >>COM_OpenNXT<< or >>COM_OpenNXTEx<< 
    68105 
    69106 
     
    72109--------------------- 
    73110 
    74 The RWTH - Mindstorms NXT Toolbox is a collection of MATLAB-functions (so called m-files) 
    75 and documentation / help files (mostly HTML). You have received these files in a compressed archive, that just needs to be extracted to a directory of your choice. This folder can even be on an external hard disk, USB stick or network drive. However it is recommended to use a folder on a normal hard disk drive for performance reasons. 
     111The RWTH - Mindstorms NXT Toolbox is a collection of MATLAB-functions (so called m-files) and documentation / help files (mostly HTML). You have received these files in a compressed archive that just needs to be extracted to a directory of your choice. This folder can even be on an external hard disk, USB stick or network drive. However it is recommended to use a folder on a normal hard disk drive for performance reasons. 
    76112So just uncompress the archive and remember the folder you extracted it to. 
    77113Make sure that the internal sub-directory structure is kept! Also it is important that all files are located in a sub-folder called "RWTHMindstormsNXT" (without the ") for identification purposes. 
     
    91127 
    92128Before you can begin working with Bluetooth connections, you have to create a settings file that contains information about your Bluetooth adapter and serial port. 
    93 Either you can use the toolbox-command >>BT_MakeConfigFile<< inside the command window. A dialog window lets you enter the required parameters. The other way is to edit the example-files called "bluetooth-example-windows.ini" or "bluetooth-example-linux.ini", that are provided in the toolbox root folder. 
     129Either you can use the toolbox-command >>COM_MakeBTConfigFile<< inside the command window. A dialog window lets you enter the required parameters. The other way is to edit the example-files called "bluetooth-example-windows.ini" or "bluetooth-example-linux.ini", that are provided in the toolbox root folder. 
    94130 
    95131You can leave the default values for the beginning, the only thing you will have to enter is the COM-Port. The Bluetooth SPP (serial port profile) maps a virtual COM-Port to your adapter. Find out which port this is (under Windows you can use the Device Manager) and enter it in the dialog window (example: COM4). The other parameters are explained in the documentation. Advanced users should refer to the first chapter "Bluetooth connections and serial handles" of the section "Functions - Overview". 
     
    102138Once the correct ini-file is created, it can be put inside the toolbox root path or anywhere inside the MATLAB search path for better convenience. 
    103139 
    104 You can now try the demos (which require a correct configuration file called "bluetooth.ini") or start opening connections using the toolbox command  BT_OpenHandle . Note that before this works, you have to establish a physical connection to your NXT. Depending on your Bluetooth adapter's driver software, this can be different. Once successful, the NXT and driver software will prompt you for a passkey. The authentification is then complete, and the toolbox should work properly. 
     140You can now try the demos (which require a correct configuration file called "bluetooth.ini") or start opening connections using the toolbox command COM_OpenNXT. 
     141Note that before this works, you have to establish a physical connection to your NXT. Depending on your Bluetooth adapter's driver software, this can be different. Once successful, the NXT and driver software will prompt you for a passkey. The authentification is then complete, and the toolbox should work properly. 
    105142 
    106143 
     
    125162 
    126163 
    127 *  RWTH Aachen University Student Project - MATLAB meets LEGO Mindstorms 2007 / 2008 
    128 -> http://www.lfb.rwth-aachen.de/en/education/ws07/mindstorms.html 
     164*  RWTH Aachen University Student Project - MATLAB meets LEGO Mindstorms 
     165-> http://www.lfb.rwth-aachen.de/mindstorms 
    129166 
    130167 
  • branches/atorf/RWTHMindstormsNXT/README.txt

    r3 r254  
    22* Readme file for RWTH - Mindstorms NXT Toolbox for MATLAB  * 
    33* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - * 
    4 *             Version 1.00 - January 24th, 2008             * 
     4*            Version 2.00beta - July 18th, 2008             * 
    55* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
    66 
     
    4242- MATLAB Version 7.4 (R2007a) or higher 
    4343- LEGO® Mindstorms NXT building kit (e.g. Education Kit) 
    44 - LEGO® Mindstorms NXT firmware v1.05 (recommended) 
    45 - Bluetooth 2.0 adapter recommended model by LEGO® (e.g. AVM BlueFRITZ! USB) 
    46   supporting the serial port profile (SPP) 
     44- LEGO® Mindstorms NXT firmware v1.05 (recommended)  
     45  OR a firmware compatible to the NXT's direct command interface 
     46- Bluetooth: Bluetooth 2.0 adapter recommended model by LEGO®  
     47  (e.g. AVM BlueFRITZ! USB) supporting the serial port profile (SPP)   
     48- USB:  
     49  Windows: Official MINDSTORMS NXT Driver "Fantom", v1.02 or better  
     50  Linux: libusb or libusb-dev   
    4751 
    48 The SPP (serial port profile) means that a virtual serial port is installed, which maps all data to the Bluetooth interface. You can verify this under Windows inside the Device Manager, where an additional COM-Port should be visible. Under Linux, the bluez Bluetooth stack is recommended. A device called "rfcomm0" or similar should be present inside the /dev/ directory. 
     52 
     53*** Bluetooth: 
     54 
     55The SPP (serial port profile) means that a virtual serial port is installed, which maps all data to the Bluetooth interface. You can verify this under Windows inside the Device Manager, where an additional COM-Port should be visible. Under Linux, the bluez Bluetooth stack is recommended. The package you need is usually called "bluetooth" (for Debian's apt-get). This 
     56package should already contain "bluez-utils", if not, install it as well. 
     57On the our project website you'll find a zip-archive containing useful scripts for Linux. 
     58For Bluetooth-connection, the script "btconnect" is recommended, followed by the NXT's name or 
     59its MAC adress. Make sure the user has access rights to devices called "rfcomm". Sometimes this 
     60means adding the current user to the group "dialout". 
     61For Bluetooth under Linux the packages "dbns" and "dbns-x11" may also be required. 
     62The the command "bluetooth-applet --singleton" can be run from the console. After this, the script 
     63"btconnect" should work. 
     64 
     65 
     66*** USB: 
     67 
     68For USB-connections under Windows, the official LEGO MINDSTORMS NXT Device Driver v1.02 or 
     69better has to be installed (also called "Fantom"). It can be downloaded here: 
     70http://mindstorms.lego.com/support/updates/ 
     71Direct download link is this: 
     72http://cache.lego.com/upload/contentTemplating/MindstormsUpdate/otherfiles/2057/upload1F7B2420-A5ED-44FF-9460-E262657029DC.zip 
     73 
     74On Linux systems, the open-source library libusb has to be present. It can be retrieved using 
     75a packet manager, for example Debian's apt-get. If installing the package "libusb" alone does 
     76not work, also "libusb-dev" should be retrieved and installed. 
     77 
     78 
     79 
     80To troubleshoot problems with opening connections to the NXT, the toolbox command 
     81>> DebugMode on 
     82can be used before trying to open a handle. 
     83 
    4984 
    5085 
     
    6196- Also add the folder  demos  (it is a sub-directory of  RWTHMindstormsNXT ) 
    6297- Press Save to remember settings for future MATLAB sessions 
    63 - Run the command >>BT_MakeConfigFile<< from the MATLAB command window  or: 
     98- Run the command >>COM_MakeBTConfigFile<< from the MATLAB command window  or: 
    6499  edit a bluetooth-example ini-file from the toolbox folder to suit your configuration. 
     100  You can skip this and the next step, if you don't want to use Bluetooth. 
    65101- Establish a Bluetooth connection to your NXT using your adapter's driver software. 
    66102- Authenticate with the NXT (a passkey request should appear) 
    67 - You can now open Bluetooth connections using the toolbox command >>BT_OpenHandle<< 
     103- You can now open Bluetooth or USB connections using the toolbox commands  
     104  >>COM_OpenNXT<< or >>COM_OpenNXTEx<< 
    68105 
    69106 
     
    72109--------------------- 
    73110 
    74 The RWTH - Mindstorms NXT Toolbox is a collection of MATLAB-functions (so called m-files) 
    75 and documentation / help files (mostly HTML). You have received these files in a compressed archive, that just needs to be extracted to a directory of your choice. This folder can even be on an external hard disk, USB stick or network drive. However it is recommended to use a folder on a normal hard disk drive for performance reasons. 
     111The RWTH - Mindstorms NXT Toolbox is a collection of MATLAB-functions (so called m-files) and documentation / help files (mostly HTML). You have received these files in a compressed archive that just needs to be extracted to a directory of your choice. This folder can even be on an external hard disk, USB stick or network drive. However it is recommended to use a folder on a normal hard disk drive for performance reasons. 
    76112So just uncompress the archive and remember the folder you extracted it to. 
    77113Make sure that the internal sub-directory structure is kept! Also it is important that all files are located in a sub-folder called "RWTHMindstormsNXT" (without the ") for identification purposes. 
     
    91127 
    92128Before you can begin working with Bluetooth connections, you have to create a settings file that contains information about your Bluetooth adapter and serial port. 
    93 Either you can use the toolbox-command >>BT_MakeConfigFile<< inside the command window. A dialog window lets you enter the required parameters. The other way is to edit the example-files called "bluetooth-example-windows.ini" or "bluetooth-example-linux.ini", that are provided in the toolbox root folder. 
     129Either you can use the toolbox-command >>COM_MakeBTConfigFile<< inside the command window. A dialog window lets you enter the required parameters. The other way is to edit the example-files called "bluetooth-example-windows.ini" or "bluetooth-example-linux.ini", that are provided in the toolbox root folder. 
    94130 
    95131You can leave the default values for the beginning, the only thing you will have to enter is the COM-Port. The Bluetooth SPP (serial port profile) maps a virtual COM-Port to your adapter. Find out which port this is (under Windows you can use the Device Manager) and enter it in the dialog window (example: COM4). The other parameters are explained in the documentation. Advanced users should refer to the first chapter "Bluetooth connections and serial handles" of the section "Functions - Overview". 
     
    102138Once the correct ini-file is created, it can be put inside the toolbox root path or anywhere inside the MATLAB search path for better convenience. 
    103139 
    104 You can now try the demos (which require a correct configuration file called "bluetooth.ini") or start opening connections using the toolbox command  BT_OpenHandle . Note that before this works, you have to establish a physical connection to your NXT. Depending on your Bluetooth adapter's driver software, this can be different. Once successful, the NXT and driver software will prompt you for a passkey. The authentification is then complete, and the toolbox should work properly. 
     140You can now try the demos (which require a correct configuration file called "bluetooth.ini") or start opening connections using the toolbox command COM_OpenNXT. 
     141Note that before this works, you have to establish a physical connection to your NXT. Depending on your Bluetooth adapter's driver software, this can be different. Once successful, the NXT and driver software will prompt you for a passkey. The authentification is then complete, and the toolbox should work properly. 
    105142 
    106143 
     
    125162 
    126163 
    127 *  RWTH Aachen University Student Project - MATLAB meets LEGO Mindstorms 2007 / 2008 
    128 -> http://www.lfb.rwth-aachen.de/en/education/ws07/mindstorms.html 
     164*  RWTH Aachen University Student Project - MATLAB meets LEGO Mindstorms 
     165-> http://www.lfb.rwth-aachen.de/mindstorms 
    129166 
    130167 
  • branches/atorf/RWTHMindstormsNXT/demos.xml

    r3 r254  
    66<icon>$toolbox/matlab/icons/matlabicon.gif</icon> 
    77<description> 
    8 The RWTH - Mindstorms NXT Toolbox provide MATLAB functions to control LEGO Mindstorms NXT robots via a wireless Bluetooth connection. 
     8The RWTH - Mindstorms NXT Toolbox provides MATLAB functions to control LEGO Mindstorms NXT robots via USB or a wireless Bluetooth connection. 
    99</description> 
    1010 
     
    2525</demosection> 
    2626 
    27 <demosection> 
     27<!-- 
     28 <demosection> 
    2829  <label>Monitoring Tools</label> 
    2930   <demoitem> 
    30       <label>Watch Analog Sensor GUI</label> 
     31      <label>Watch Sensor GUI</label> 
    3132      <type>M-GUI</type> 
    32       <callback>GUI_WatchAnalogSensor</callback> 
    33       <file>doc/demos/watchAnalogSensor_gui.html</file> 
     33      <callback>GUI_WatchSensor</callback> 
     34      <file>doc/demos/watchSensor_gui.html</file> 
    3435   </demoitem> 
    3536    
     
    4142   </demoitem> 
    4243 </demosection> 
    43  
     44--> 
    4445</demos> 
  • branches/atorf/RWTHMindstormsNXT/doc/acknowledgements.html

    r3 r254  
    3131 
    3232 
    33 <h2>Promoters:</h2> 
     33<h2>Faculty:</h2> 
    3434Prof. Til Aach, Prof. Tobias G. Noll, Achim Knepper 
    3535 
     
    4141All contributors are members of the <a href="http://www.rwth-aachen.de">RWTH Aachen University</a>. 
    4242<p></p> 
    43 RWTH Aachen University Student Project <a href="http://www.lfb.rwth-aachen.de/de/lehre/ws07/mindstorms.html">MATLAB meets LEGO Mindstorms</a>. 
     43RWTH Aachen University First Semester Student Project <a href="http://www.lfb.rwth-aachen.de/mindstorms">MATLAB meets LEGO Mindstorms</a>. 
    4444 
    4545 
  • branches/atorf/RWTHMindstormsNXT/doc/examples/examples.html

    r3 r254  
    66</head> 
    77 
    8 <body> 
     8<body bgcolor="#FFFFFF" text="#000001"> 
    99<p class="header">RWTH - Mindstorms NXT Toolbox</p> 
    10 <h2>Examples</h2> 
     10<p align="center"> 
     11<h1>Examples</h1> 
     12</p> 
    1113 
    1214<ul> 
    13  <li><a href="#1">Example 1: Play Tone and Get Battery Level</a></li> 
    14  <li><a href="#2">Example 2: Read Sound Sensor</a></li> 
     15<li><a href="BasicToolboxFunctionsTest.html">BasicToolboxFunctionsTest.m :  This little script calls and times some basic toolbox functions. 
     16</a></li> 
     17</br> 
     18<li><a href="NextGenerationUltrasound.html">NextGenerationUltrasound.m :  This little script demonstrates the results of the new ultrasound 
     19</a></li> 
     20</br> 
     21<li><a href="ToolboxSpeedTest.html">ToolboxSpeedTest.m :  This little script calls and times some basic toolbox functions, 
     22</a></li> 
     23</br> 
     24<li><a href="example_1_PlayTone.html">example_1_PlayTone.m :  Example to play a specific tone with the NXT Brick and retrieve the current battery level:  
     25</a></li> 
     26</br> 
     27<li><a href="example_2_ReadSoundSensor.html">example_2_ReadSoundSensor.m :  Example to read the sound sensor value in db: Prepare workspace by cleaning all old settings to be on the safe side.  
     28</a></li> 
     29</br> 
     30<li><a href="example_3_DriveAroundTable.html">example_3_DriveAroundTable.m :  In this little demo, our bot drives a square on the floor around a well known table. 
     31</a></li> 
     32</br> 
     33<li><a href="example_4_DriveUntilWall.html">example_4_DriveUntilWall.m :  In this little demo our robot drives forward until it detects a wall. 
     34</a></li> 
     35</br> 
    1536</ul> 
    16 <hr> 
    17  
    18  
    19 <h3>Example 1: Play Tone and Get Battery Level<a name="1"></a></h3> 
    20 Example to play a specific tone with the NXT Brick and retrieve the current battery level: 
    21 <br><br> 
    22  
    23 Prepare workspace by cleaning all old settings to be on the safe side. 
    24 <pre class="codeinput"> 
    25 clear all 
    26 close all 
    27 </pre> 
    28  
    29 Close previous Bluetooth connections. 
    30 <pre class="codeinput"> 
    31 BT_CloseAllHandles; 
    32 </pre> 
    33  
    34 Open new Bluetooth connection according to the previous generated configuration file. 
    35 <pre class="codeinput"> 
    36 bt_handle = BT_OpenHandle('bluetooth.ini', 'check'); 
    37 BT_SetDefaultHandle(bt_handle); 
    38 </pre> 
    39  
    40 Play tone with frequency 800Hz and duration of 500ms. 
    41 <pre class="codeinput"> 
    42 NXT_PlayTone(800,500); 
    43 </pre> 
    44  
    45 Get current battery level. 
    46 <pre class="codeinput"> 
    47 voltage = NXT_GetBatteryLevel<br> 
    48 >> voltage = 7623 
    49 </pre> 
    50  
    51 Close Bluetooth connection. 
    52 <pre class="codeinput"> 
    53 BT_CloseHandle(bt_handle); 
    54 </pre> 
    55 <br> 
    56  
    57  
    58  
    59 <h3>Example 2: Read Sound Sensor<a name="2"></a></h3> 
    60 Example to read the sound sensor value in db: 
    61  
    62 Prepare workspace by cleaning all old settings to be on the safe side. 
    63 <pre class="codeinput"> 
    64 clear all 
    65 close all 
    66 </pre> 
    67  
    68 Close previous Bluetooth connections. 
    69 <pre class="codeinput"> 
    70 BT_CloseAllHandles; 
    71 </pre> 
    72  
    73 Open new Bluetooth connection according to the previous generated configuration file. 
    74 <pre class="codeinput"> 
    75 bt_handle = BT_OpenHandle('bluetooth.ini', 'check'); 
    76 BT_SetDefaultHandle(bt_handle); 
    77 </pre> 
    78  
    79 Set the correct sound sensor mode and input port. 
    80 <pre class="codeinput"> 
    81 OpenSound(SENSOR_2, 'DB'); 
    82 </pre> 
    83  
    84 Get the current sound sensor value in dB. 
    85 <pre class="codeinput"> 
    86 value = GetSound(SENSOR_2)<br> 
    87 >> value = 64 
    88 </pre> 
    89  
    90 Close the sound sensor. 
    91 <pre class="codeinput"> 
    92 CloseSensor(SENSOR_2); 
    93 </pre> 
    94  
    95 Close Bluetooth connection. 
    96 <pre class="codeinput"> 
    97 BT_CloseHandle(bt_handle); 
    98 </pre> 
    99  
    100  
    10137 
    10238</body> 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/abc.html

    r3 r254  
    1111<h1>Functions - Alphabetical List</h1> 
    1212</p> 
    13 <hr> 
    14 <p> 
    15 <!-- <font size="4" face="Geneva, Arial, Helvetica, san-serif"> --> 
    16    A&nbsp;&nbsp; 
    17    <a href="#B">B</a>&nbsp;&nbsp; 
    18    <a href="#C">C</a>&nbsp;&nbsp; 
    19    <a href="#D">D</a>&nbsp;&nbsp; 
    20    E&nbsp;&nbsp; 
    21    F&nbsp;&nbsp; 
    22    <a href="#G">G</a>&nbsp;&nbsp; 
    23    H&nbsp;&nbsp; 
    24    I&nbsp;&nbsp; 
    25    J&nbsp;&nbsp; 
    26    K&nbsp;&nbsp; 
    27    L&nbsp;&nbsp; 
    28    <a href="#M">M</a>&nbsp;&nbsp; 
    29    <a href="#N">N</a>&nbsp;&nbsp; 
    30    <a href="#O">O</a>&nbsp;&nbsp; 
    31    P&nbsp;&nbsp; 
    32    Q&nbsp;&nbsp; 
    33    <a href="#R">R</a>&nbsp;&nbsp; 
    34    <a href="#S">S</a>&nbsp;&nbsp; 
    35    <a href="#T">T</a>&nbsp;&nbsp; 
    36    U&nbsp;&nbsp; 
    37    V&nbsp;&nbsp; 
    38    <a href="#W">W</a>&nbsp;&nbsp; 
    39    X&nbsp;&nbsp; 
    40    Y&nbsp;&nbsp; 
    41    Z&nbsp;&nbsp; 
    42 </p> 
    43 <br><br> 
    4413 
    4514<table> 
    46  
    47  
    48 <tr><td><a name="B"></a> 
    49 <a href="./help/BT_CloseAllHandles.html">BT_CloseAllHandles</a></td><td>Closes and deletes all existing serial or file handles, which are open </td></tr> 
    50 <tr><td><a href="./help/BT_CloseHandle.html">BT_CloseHandle</a></td><td>Closes and deletes an existing serial or file handle </td></tr> 
    51 <tr><td><a href="./help/BT_CollectPacket.html">BT_CollectPacket</a></td><td>Reads data from serial/Bluetooth port and retrieves exactly one packet </td></tr> 
    52 <tr><td><a href="./help/BT_CreatePacket.html">BT_CreatePacket</a></td><td>Generates a valid Bluetooth packet ready for transmission (i.e. calculates length) </td></tr> 
    53 <tr><td><a href="./help/BT_GetDefaultHandle.html">BT_GetDefaultHandle</a></td><td>Returns the global default Bluetooth handle if it was previously set </td></tr> 
    54 <tr><td><a href="./help/BT_MakeConfigFile.html">BT_MakeConfigFile</a></td><td>Creates a Bluetooth configuration file which is needed to open a Bluetooth connection. </td></tr> 
    55 <tr><td><a href="./help/BT_OpenHandle.html">BT_OpenHandle</a></td><td>Opens a Bluetooth connection using settings from the given configuration file </td></tr> 
    56 <tr><td><a href="./help/BT_SendPacket.html">BT_SendPacket</a></td><td>Sends a Bluetooth packet (byte-array) via a Bluetooth channel (serial port) </td></tr> 
    57 <tr><td><a href="./help/BT_SetDefaultHandle.html">BT_SetDefaultHandle</a></td><td>Sets a global default Bluetooth handle that will be used by the NXT-Functions if no other handle is specified. </td></tr> 
    58  
    59  
    60 <tr><td><a name="C"></a> 
    61 <a href="./help/CloseSensor.html">CloseSensor</a></td><td>Closes a specified sensor port (e.g. turns off the active light mode of the NXT light sensor) </td></tr> 
    62 <tr><td><a href="./help/checkStatusByte.html">checkStatusByte</a></td><td>Interpretes the status byte of a return package and creates an error message </td></tr> 
    63  
    64  
    65 <tr><td><a name="G"></a> 
    66 <a href="./help/GetLight.html">GetLight</a></td><td>Reads the current value of the NXT light sensor </td></tr> 
    67 <tr><td><a href="./help/GetMemoryCount.html">GetMemoryCount</a></td><td>Gets the internal NXT memory counter (manual mapping replica) </td></tr> 
    68 <tr><td><a href="./help/GetMotor.html">GetMotor</a></td><td>Reads the current motor set by SetMotor(). Raises an error if no motor was set </td></tr> 
    69 <tr><td><a href="./help/GetMotorSettings.html">GetMotorSettings</a></td><td>Returns the current motor data / settings (e.g. position, speed, etc.) from the specified motor </td></tr> 
    70 <tr><td><a href="./help/GetSound.html">GetSound</a></td><td>Reads the current value of the NXT sound sensor </td></tr> 
    71 <tr><td><a href="./help/GetSwitch.html">GetSwitch</a></td><td>Reads the current value of the NXT switch / touch sensor </td></tr> 
    72 <tr><td><a href="./help/GetUltrasonic.html">GetUltrasonic</a></td><td>Reads the current value of the NXT ultrasonic sensor </td></tr> 
    73  
    74  
    75 <tr><td><a name="M"></a> 
    76 <a href="./help/MOTOR_A.html">MOTOR_A</a></td><td>Symbolic constant MOTOR_A (returns 0) </td></tr> 
    77 <tr><td><a href="./help/MOTOR_B.html">MOTOR_B</a></td><td>Symbolic constant MOTOR_B (returns 1) </td></tr> 
    78 <tr><td><a href="./help/MOTOR_C.html">MOTOR_C</a></td><td>Symbolic constant MOTOR_C (returns 2) </td></tr> 
    79 <tr><td><a href="./help/MotorRotateAbs.html">MotorRotateAbs</a></td><td>Rotates a motor to an absolute angle </td></tr> 
    80  
    81  
    82 <tr><td><a name="N"></a> 
    83 <a href="./help/NXT_GetBatteryLevel.html">NXT_GetBatteryLevel</a></td><td>Returns the current battery level in milli volts </td></tr> 
    84 <tr><td><a href="./help/NXT_GetInputValues.html">NXT_GetInputValues</a></td><td>Processes a complete sensor reading, i.e. requests input values and collects the answer. </td></tr> 
    85 <tr><td><a href="./help/NXT_GetOutputState.html">NXT_GetOutputState</a></td><td>Requests and retrieves an output motor state reading </td></tr> 
    86 <tr><td><a href="./help/NXT_LSGetStatus.html">NXT_LSGetStatus</a></td><td>Gets the number of available bytes from low speed (digital) sensor (e.g. ultrasonic) </td></tr> 
    87 <tr><td><a href="./help/NXT_LSRead.html">NXT_LSRead</a></td><td>Reads data from a low speed (digital) sensor </td></tr> 
    88 <tr><td><a href="./help/NXT_LSWrite.html">NXT_LSWrite</a></td><td>Writes the given data to a low speed (digital) sensor </td></tr> 
    89 <tr><td><a href="./help/NXT_PlayTone.html">NXT_PlayTone</a></td><td>Plays a tone with the given frequency and duration </td></tr> 
    90 <tr><td><a href="./help/NXT_ResetInputScaledValue.html">NXT_ResetInputScaledValue</a></td><td>Resets the sensors ScaledVal back to 0, depends on currently configured mode (see NXT_SetInputMode) </td></tr> 
    91 <tr><td><a href="./help/NXT_ResetMotorPosition.html">NXT_ResetMotorPosition</a></td><td>Resets NXT internal counter for specified motor, relative or absolute counter </td></tr> 
    92 <tr><td><a href="./help/NXT_SendKeepAlive.html">NXT_SendKeepAlive</a></td><td>Sends a KeepAlive packet. Optional: requests sleep time limit. </td></tr> 
    93 <tr><td><a href="./help/NXT_SetBrickName.html">NXT_SetBrickName</a></td><td>Sets a new name for the NXT Brick (connected to the specified handle) </td></tr> 
    94 <tr><td><a href="./help/NXT_SetInputMode.html">NXT_SetInputMode</a></td><td>Sets mode, configures and initializes sensor ready to be read out </td></tr> 
    95 <tr><td><a href="./help/NXT_SetOutputState.html">NXT_SetOutputState</a></td><td>Sends previously specified settings to current active motor. </td></tr> 
    96 <tr><td><a href="./help/NXT_StartProgram.html">NXT_StartProgram</a></td><td>Starts the given program on the NXT Brick </td></tr> 
    97 <tr><td><a href="./help/NXT_StopProgram.html">NXT_StopProgram</a></td><td>Stops a specific program on the NXT Brick </td></tr> 
    98  
    99  
    100 <tr><td><a name="O"></a> 
    101 <a href="./help/OpenLight.html">OpenLight</a></td><td>Sets the parameter mode of the NXT light sensor </td></tr> 
    102 <tr><td><a href="./help/OpenSound.html">OpenSound</a></td><td>Sets the parameter mode of the NXT sound sensor </td></tr> 
    103 <tr><td><a href="./help/OpenSwitch.html">OpenSwitch</a></td><td>Sets the parameter mode of the NXT switch / touch sensor </td></tr> 
    104 <tr><td><a href="./help/OpenUltrasonic.html">OpenUltrasonic</a></td><td>Initializes and sets the mode of the NXT ultrasonic sensor </td></tr> 
    105  
    106  
    107 <tr><td><a name="R"></a> 
    108 <a href="./help/readFromIniFile.html">readFromIniFile</a></td><td>Reads parameters from a configuration file (usually *.ini) </td></tr> 
    109 <tr><td><a href="./help/ResetMotorAngle.html">ResetMotorAngle</a></td><td>Resets the relative angle counter for the given motor </td></tr> 
    110  
    111  
    112 <tr><td><a name="S"></a> 
    113 <a href="./help/SENSOR_1.html">SENSOR_1</a></td><td>Symbolic constant SENSOR_1 (returns 0) </td></tr> 
    114 <tr><td><a href="./help/SENSOR_2.html">SENSOR_2</a></td><td>Symbolic constant SENSOR_2 (returns 1) </td></tr> 
    115 <tr><td><a href="./help/SENSOR_3.html">SENSOR_3</a></td><td>Symbolic constant SENSOR_3 (returns 2) </td></tr> 
    116 <tr><td><a href="./help/SENSOR_4.html">SENSOR_4</a></td><td>Symbolic constant SENSOR_4 (returns 3) </td></tr> 
    117 <tr><td><a href="./help/SendMotorSettings.html">SendMotorSettings</a></td><td>Sends previously specified settings to current active motor. </td></tr> 
    118 <tr><td><a href="./help/SetAngleLimit.html">SetAngleLimit</a></td><td>Sets the angle limit (in degrees) of the current motor port </td></tr> 
    119 <tr><td><a href="./help/SetMemoryCount.html">SetMemoryCount</a></td><td>Sets the internal NXT memory counter (manual mapping replica) </td></tr> 
    120 <tr><td><a href="./help/SetMotor.html">SetMotor</a></td><td>Sets the current motor to use for motor setting commands </td></tr> 
    121 <tr><td><a href="./help/SetPower.html">SetPower</a></td><td>Sets the power of the current active motor </td></tr> 
    122 <tr><td><a href="./help/SetRampMode.html">SetRampMode</a></td><td>Sets the runstate of the current active motor </td></tr> 
    123 <tr><td><a href="./help/SetTurnRatio.html">SetTurnRatio</a></td><td>Sets the turn ratio of the current active motor </td></tr> 
    124 <tr><td><a href="./help/SpeedRegulation.html">SpeedRegulation</a></td><td>Enables / disables the speed regulation mode of the current active motor </td></tr> 
    125 <tr><td><a href="./help/StopMotor.html">StopMotor</a></td><td>Stops / brakes specified motor. (Synchronisation will be lost after this) </td></tr> 
    126 <tr><td><a href="./help/SwitchLamp.html">SwitchLamp</a></td><td>Switches the LEGO lamp on or off (has to be connected to a motor port) </td></tr> 
    127 <tr><td><a href="./help/SyncToMotor.html">SyncToMotor</a></td><td>Enables synchronization regulation for current active and specified motor </td></tr> 
    128  
    129  
    130 <tr><td><a name="T"></a> 
    131 <a href="./help/textOut.html">textOut</a></td><td>Wrapper for fprintf() which can optionally write screen output to a logfile </td></tr> 
    132 <tr><td><a href="./help/tictic.html">tictic</a></td><td>Similar to MATLAB's tic(), but extended to save "more states" </td></tr> 
    133 <tr><td><a href="./help/toctoc.html">toctoc</a></td><td>Similar to MATLAB's toc(), but extended to save "more states" </td></tr> 
    134  
    135  
    136 <tr><td><a name="W"></a> 
    137 <a href="./help/WaitForMotor.html">WaitForMotor</a></td><td>Pauses execution until specific motor is not running anymore. </td></tr> 
     15<tr><td><a href="./help/checkStatusByte.html">checkStatusByte</a></td><td>Interpretes the status byte of a return package and creates an error message</td></tr> 
     16<tr><td><a href="./help/CloseSensor.html">CloseSensor</a></td><td>Closes a specified sensor port (e.g. turns off the active light mode of the NXT light sensor)</td></tr> 
     17<tr><td><a href="./help/COM_CloseNXT.html">COM_CloseNXT</a></td><td>Closes and deletes a specific NXT handle, or clears all existing handles</td></tr> 
     18<tr><td><a href="./help/COM_CollectPacket.html">COM_CollectPacket</a></td><td>Reads data from a USB or serial/Bluetooth port and retrieves exactly one packet</td></tr> 
     19<tr><td><a href="./help/COM_CreatePacket.html">COM_CreatePacket</a></td><td>Generates a valid Bluetooth packet ready for transmission (i.e. calculates length)</td></tr> 
     20<tr><td><a href="./help/COM_GetDefaultNXT.html">COM_GetDefaultNXT</a></td><td>Returns the global default NXT handle if it was previously set</td></tr> 
     21<tr><td><a href="./help/COM_MakeBTConfigFile.html">COM_MakeBTConfigFile</a></td><td>Creates a Bluetooth configuration file which is needed to open a Bluetooth connection.</td></tr> 
     22<tr><td><a href="./help/COM_OpenNXT.html">COM_OpenNXT</a></td><td>Opens a USB or Bluetooth connection to an NXT device and returns a handle for future use</td></tr> 
     23<tr><td><a href="./help/COM_OpenNXTEx.html">COM_OpenNXTEx</a></td><td>Opens a Bluetooth or USB connection to an NXT device and returns a handle for future use</td></tr> 
     24<tr><td><a href="./help/COM_SendPacket.html">COM_SendPacket</a></td><td>Sends a communication protocol packet (byte-array) via a USB or Bluetooth channel (serial port)</td></tr> 
     25<tr><td><a href="./help/COM_SetDefaultNXT.html">COM_SetDefaultNXT</a></td><td>Sets a global default NXT handle that will be used by other functions if no handle is specified.</td></tr> 
     26<tr><td><a href="./help/DebugMode.html">DebugMode</a></td><td>Gets or sets the debug state (i.e. if textOut will print messages to the command window)</td></tr> 
     27<tr><td><a href="./help/GetLight.html">GetLight</a></td><td>Reads the current value of the NXT light sensor</td></tr> 
     28<tr><td><a href="./help/GetMemoryCount.html">GetMemoryCount</a></td><td>Gets the internal NXT memory counter (manual mapping replica)</td></tr> 
     29<tr><td><a href="./help/GetMotor.html">GetMotor</a></td><td>Reads the current motor set by SetMotor(). Raises an error if no motor was set</td></tr> 
     30<tr><td><a href="./help/GetMotorSettings.html">GetMotorSettings</a></td><td>Returns the current motor data / settings (e.g. position, speed, etc.) from the specified motor</td></tr> 
     31<tr><td><a href="./help/GetSound.html">GetSound</a></td><td>Reads the current value of the NXT sound sensor</td></tr> 
     32<tr><td><a href="./help/GetSwitch.html">GetSwitch</a></td><td>Reads the current value of the NXT switch / touch sensor</td></tr> 
     33<tr><td><a href="./help/GetUltrasonic.html">GetUltrasonic</a></td><td>Reads the current value of the NXT ultrasonic sensor</td></tr> 
     34<tr><td><a href="./help/MAP_GetCommModule.html">MAP_GetCommModule</a></td><td>Reads the IO map of the communication module</td></tr> 
     35<tr><td><a href="./help/MAP_GetInputModule.html">MAP_GetInputModule</a></td><td>Reads the IO map of the input module</td></tr> 
     36<tr><td><a href="./help/MAP_GetOutputModule.html">MAP_GetOutputModule</a></td><td>Reads the IO map of the output module</td></tr> 
     37<tr><td><a href="./help/MAP_GetSoundModule.html">MAP_GetSoundModule</a></td><td>Reads the IO map of the sound module</td></tr> 
     38<tr><td><a href="./help/MAP_GetUIModule.html">MAP_GetUIModule</a></td><td>Reads the IO map of the user interface module</td></tr> 
     39<tr><td><a href="./help/MAP_SetOutputModule.html">MAP_SetOutputModule</a></td><td>Writes the IO map to the output module</td></tr> 
     40<tr><td><a href="./help/MOTOR_A.html">MOTOR_A</a></td><td>Symbolic constant MOTOR_A (returns 0)</td></tr> 
     41<tr><td><a href="./help/MOTOR_B.html">MOTOR_B</a></td><td>Symbolic constant MOTOR_B (returns 1)</td></tr> 
     42<tr><td><a href="./help/MOTOR_C.html">MOTOR_C</a></td><td>Symbolic constant MOTOR_C (returns 2)</td></tr> 
     43<tr><td><a href="./help/MotorRotateAbs.html">MotorRotateAbs</a></td><td>Rotates a motor to an absolute angle</td></tr> 
     44<tr><td><a href="./help/NXT_GetBatteryLevel.html">NXT_GetBatteryLevel</a></td><td>Returns the current battery level in milli volts</td></tr> 
     45<tr><td><a href="./help/NXT_GetFirmwareVersion.html">NXT_GetFirmwareVersion</a></td><td>Returns the protocol and firmware version of the NXT</td></tr> 
     46<tr><td><a href="./help/NXT_GetInputValues.html">NXT_GetInputValues</a></td><td>Processes a complete sensor reading, i.e. requests input values and collects the answer.</td></tr> 
     47<tr><td><a href="./help/NXT_GetOutputState.html">NXT_GetOutputState</a></td><td>Requests and retrieves an output motor state reading</td></tr> 
     48<tr><td><a href="./help/NXT_LSGetStatus.html">NXT_LSGetStatus</a></td><td>Gets the number of available bytes from low speed (digital) sensor (e.g. ultrasonic)</td></tr> 
     49<tr><td><a href="./help/NXT_LSRead.html">NXT_LSRead</a></td><td>Reads data from a low speed (digital) sensor</td></tr> 
     50<tr><td><a href="./help/NXT_LSWrite.html">NXT_LSWrite</a></td><td>Writes the given data to a low speed (digital) sensor</td></tr> 
     51<tr><td><a href="./help/NXT_PlaySoundFile.html">NXT_PlaySoundFile</a></td><td>Plays the given sound file on the NXT Brick</td></tr> 
     52<tr><td><a href="./help/NXT_PlayTone.html">NXT_PlayTone</a></td><td>Plays a tone with the given frequency and duration</td></tr> 
     53<tr><td><a href="./help/NXT_ReadIOMap.html">NXT_ReadIOMap</a></td><td>Reads the IO map of the given module ID</td></tr> 
     54<tr><td><a href="./help/NXT_ResetInputScaledValue.html">NXT_ResetInputScaledValue</a></td><td>Resets the sensors ScaledVal back to 0, depends on currently configured mode (see NXT_SetInputMode)</td></tr> 
     55<tr><td><a href="./help/NXT_ResetMotorPosition.html">NXT_ResetMotorPosition</a></td><td>Resets NXT internal counter for specified motor, relative or absolute counter</td></tr> 
     56<tr><td><a href="./help/NXT_SendKeepAlive.html">NXT_SendKeepAlive</a></td><td>Sends a KeepAlive packet. Optional: requests sleep time limit.</td></tr> 
     57<tr><td><a href="./help/NXT_SetBrickName.html">NXT_SetBrickName</a></td><td>Sets a new name for the NXT Brick (connected to the specified handle)</td></tr> 
     58<tr><td><a href="./help/NXT_SetInputMode.html">NXT_SetInputMode</a></td><td>Sets mode, configures and initializes sensor ready to be read out</td></tr> 
     59<tr><td><a href="./help/NXT_SetOutputState.html">NXT_SetOutputState</a></td><td>Sends previously specified settings to current active motor.</td></tr> 
     60<tr><td><a href="./help/NXT_StartProgram.html">NXT_StartProgram</a></td><td>Starts the given program on the NXT Brick</td></tr> 
     61<tr><td><a href="./help/NXT_StopProgram.html">NXT_StopProgram</a></td><td>Stops a specific program on the NXT Brick</td></tr> 
     62<tr><td><a href="./help/NXT_StopSoundPlayback.html">NXT_StopSoundPlayback</a></td><td>Stops the current sound playback</td></tr> 
     63<tr><td><a href="./help/NXT_WriteIOMap.html">NXT_WriteIOMap</a></td><td>Writes the IO map to the given module ID</td></tr> 
     64<tr><td><a href="./help/OpenLight.html">OpenLight</a></td><td>Sets the parameter mode of the NXT light sensor</td></tr> 
     65<tr><td><a href="./help/OpenSound.html">OpenSound</a></td><td>Sets the parameter mode of the NXT sound sensor</td></tr> 
     66<tr><td><a href="./help/OpenSwitch.html">OpenSwitch</a></td><td>Sets the parameter mode of the NXT switch / touch sensor</td></tr> 
     67<tr><td><a href="./help/OpenUltrasonic.html">OpenUltrasonic</a></td><td>Initializes and sets the mode of the NXT ultrasonic sensor</td></tr> 
     68<tr><td><a href="./help/readFromIniFile.html">readFromIniFile</a></td><td>Reads parameters from a configuration file (usually *.ini)</td></tr> 
     69<tr><td><a href="./help/ResetMotorAngle.html">ResetMotorAngle</a></td><td>Resets the relative angle counter for the given motor</td></tr> 
     70<tr><td><a href="./help/SendMotorSettings.html">SendMotorSettings</a></td><td>Sends previously specified settings to current active motor.</td></tr> 
     71<tr><td><a href="./help/SENSOR_1.html">SENSOR_1</a></td><td>Symbolic constant SENSOR_1 (returns 0)</td></tr> 
     72<tr><td><a href="./help/SENSOR_2.html">SENSOR_2</a></td><td>Symbolic constant SENSOR_2 (returns 1)</td></tr> 
     73<tr><td><a href="./help/SENSOR_3.html">SENSOR_3</a></td><td>Symbolic constant SENSOR_3 (returns 2)</td></tr> 
     74<tr><td><a href="./help/SENSOR_4.html">SENSOR_4</a></td><td>Symbolic constant SENSOR_4 (returns 3)</td></tr> 
     75<tr><td><a href="./help/SetAngleLimit.html">SetAngleLimit</a></td><td>Sets the angle limit (in degrees) of the current motor port</td></tr> 
     76<tr><td><a href="./help/SetMemoryCount.html">SetMemoryCount</a></td><td>Sets the internal NXT memory counter (manual mapping replica)</td></tr> 
     77<tr><td><a href="./help/SetMotor.html">SetMotor</a></td><td>Sets the current motor to use for motor setting commands</td></tr> 
     78<tr><td><a href="./help/SetPower.html">SetPower</a></td><td>Sets the power of the current active motor</td></tr> 
     79<tr><td><a href="./help/SetRampMode.html">SetRampMode</a></td><td>Sets the runstate of the current active motor</td></tr> 
     80<tr><td><a href="./help/SetTurnRatio.html">SetTurnRatio</a></td><td>Sets the turn ratio of the current active motor</td></tr> 
     81<tr><td><a href="./help/SpeedRegulation.html">SpeedRegulation</a></td><td>Enables / disables the speed regulation mode of the current active motor</td></tr> 
     82<tr><td><a href="./help/StopMotor.html">StopMotor</a></td><td>Stops / brakes specified motor. (Synchronisation will be lost after this)</td></tr> 
     83<tr><td><a href="./help/SwitchLamp.html">SwitchLamp</a></td><td>Switches the LEGO lamp on or off (has to be connected to a motor port)</td></tr> 
     84<tr><td><a href="./help/SyncToMotor.html">SyncToMotor</a></td><td>Enables synchronization regulation for current active and specified motor</td></tr> 
     85<tr><td><a href="./help/textOut.html">textOut</a></td><td>Wrapper for fprintf() which can optionally write screen output to a logfile</td></tr> 
     86<tr><td><a href="./help/tictic.html">tictic</a></td><td>Similar to MATLAB's tic(), but extended to save "more states"</td></tr> 
     87<tr><td><a href="./help/toctoc.html">toctoc</a></td><td>Similar to MATLAB's toc(), but extended to save "more states"</td></tr> 
     88<tr><td><a href="./help/USGetSnapshotResults.html">USGetSnapshotResults</a></td><td>Retrieves up to eight echos (distances) stored inside the US sensor</td></tr> 
     89<tr><td><a href="./help/USMakeSnapshot.html">USMakeSnapshot</a></td><td>Causes the ultrasonic sensor to send one snapshot ("ping") and record the echos</td></tr> 
     90<tr><td><a href="./help/WaitForMotor.html">WaitForMotor</a></td><td>Pauses execution until specific motor is not running anymore.</td></tr> 
    13891</table> 
    13992 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/categories.html

    r3 r254  
    11<html> 
    22<head> 
    3 <title>Functions - By Category</title> 
     3<title>Functions by Category</title> 
    44<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
    55<link type="text/css" rel="stylesheet" href="../style.css"> 
     
    99<p class="header">RWTH - Mindstorms NXT Toolbox</p> 
    1010<p align="center"> 
    11 <h1>Functions - By Category</h1> 
    12 </p> 
    13 <hr> 
    14 <p> 
    15 <!-- <font size="4" face="Geneva, Arial, Helvetica, san-serif"> --> 
     11<h1>Functions by Category</h1> 
    1612</p> 
    1713 
    1814<table> 
    19  
    20 <tr><td colspan="2"><h2>Bluetooth Connection</h2></td></tr> 
    21 <tr><td><a href="./help/BT_MakeConfigFile.html">BT_MakeConfigFile</a></td><td>Creates a Bluetooth configuration file which is needed to open a Bluetooth connection. </td></tr> 
    22 <tr><td><a href="./help/BT_CloseAllHandles.html">BT_CloseAllHandles</a></td><td>Closes and deletes all existing serial or file handles, which are open </td></tr> 
    23 <tr><td><a href="./help/BT_CloseHandle.html">BT_CloseHandle</a></td><td>Closes and deletes an existing serial or file handle </td></tr> 
    24 <tr><td><a href="./help/BT_OpenHandle.html">BT_OpenHandle</a></td><td>Opens a Bluetooth connection using settings from the given configuration file </td></tr> 
    25 <tr><td><a href="./help/BT_SetDefaultHandle.html">BT_SetDefaultHandle</a></td><td>Sets a global default Bluetooth handle that will be used by the NXT-Functions if no other handle is specified. </td></tr> 
    26 <tr><td><a href="./help/BT_GetDefaultHandle.html">BT_GetDefaultHandle</a></td><td>Returns the global default Bluetooth handle if it was previously set </td></tr> 
    27 <tr><td><a href="./help/BT_CreatePacket.html">BT_CreatePacket</a></td><td>Generates a valid Bluetooth packet ready for transmission (i.e. calculates length) </td></tr> 
    28 <tr><td><a href="./help/BT_SendPacket.html">BT_SendPacket</a></td><td>Sends a Bluetooth packet (byte-array) via a Bluetooth channel (serial port) </td></tr> 
    29 <tr><td><a href="./help/BT_CollectPacket.html">BT_CollectPacket</a></td><td>Reads data from serial/Bluetooth port and retrieves exactly one packet </td></tr> 
     15<tr><td colspan="2"><h2>NXT Communication</h2></td></tr> 
     16<tr><td><a href="./help/COM_CloseNXT.html">COM_CloseNXT</a></td><td>Closes and deletes a specific NXT handle, or clears all existing handles</td></tr> 
     17<tr><td><a href="./help/COM_CollectPacket.html">COM_CollectPacket</a></td><td>Reads data from a USB or serial/Bluetooth port and retrieves exactly one packet</td></tr> 
     18<tr><td><a href="./help/COM_CreatePacket.html">COM_CreatePacket</a></td><td>Generates a valid Bluetooth packet ready for transmission (i.e. calculates length)</td></tr> 
     19<tr><td><a href="./help/COM_GetDefaultNXT.html">COM_GetDefaultNXT</a></td><td>Returns the global default NXT handle if it was previously set</td></tr> 
     20<tr><td><a href="./help/COM_MakeBTConfigFile.html">COM_MakeBTConfigFile</a></td><td>Creates a Bluetooth configuration file which is needed to open a Bluetooth connection.</td></tr> 
     21<tr><td><a href="./help/COM_OpenNXT.html">COM_OpenNXT</a></td><td>Opens a USB or Bluetooth connection to an NXT device and returns a handle for future use</td></tr> 
     22<tr><td><a href="./help/COM_OpenNXTEx.html">COM_OpenNXTEx</a></td><td>Opens a Bluetooth or USB connection to an NXT device and returns a handle for future use</td></tr> 
     23<tr><td><a href="./help/COM_SendPacket.html">COM_SendPacket</a></td><td>Sends a communication protocol packet (byte-array) via a USB or Bluetooth channel (serial port)</td></tr> 
     24<tr><td><a href="./help/COM_SetDefaultNXT.html">COM_SetDefaultNXT</a></td><td>Sets a global default NXT handle that will be used by other functions if no handle is specified.</td></tr> 
    3025<tr><td><br><br></td></tr> 
    3126 
    3227 
    3328<tr><td colspan="2"><h2>NXT Sensors</h2></td></tr> 
    34 <tr><td><a href="./help/OpenLight.html">OpenLight</a></td><td>Sets the parameter mode of the NXT light sensor </td></tr> 
    35 <tr><td><a href="./help/OpenSound.html">OpenSound</a></td><td>Sets the parameter mode of the NXT sound sensor </td></tr> 
    36 <tr><td><a href="./help/OpenSwitch.html">OpenSwitch</a></td><td>Sets the parameter mode of the NXT switch / touch sensor </td></tr> 
    37 <tr><td><a href="./help/OpenUltrasonic.html">OpenUltrasonic</a></td><td>Initializes and sets the mode of the NXT ultrasonic sensor </td></tr> 
    38 <tr><td><a href="./help/CloseSensor.html">CloseSensor</a></td><td>Closes a specified sensor port (e.g. turns off the active light mode of the NXT light sensor) </td></tr> 
    39 <tr><td><a href="./help/GetLight.html">GetLight</a></td><td>Reads the current value of the NXT light sensor </td></tr> 
    40 <tr><td><a href="./help/GetSound.html">GetSound</a></td><td>Reads the current value of the NXT sound sensor </td></tr> 
    41 <tr><td><a href="./help/GetSwitch.html">GetSwitch</a></td><td>Reads the current value of the NXT switch / touch sensor </td></tr> 
    42 <tr><td><a href="./help/GetUltrasonic.html">GetUltrasonic</a></td><td>Reads the current value of the NXT ultrasonic sensor </td></tr> 
    43 <tr><td><br></td></tr> 
    44 <tr><td><a href="./help/SENSOR_1.html">SENSOR_1</a></td><td>Symbolic constant SENSOR_1 (returns 0) </td></tr> 
    45 <tr><td><a href="./help/SENSOR_2.html">SENSOR_2</a></td><td>Symbolic constant SENSOR_2 (returns 1) </td></tr> 
    46 <tr><td><a href="./help/SENSOR_3.html">SENSOR_3</a></td><td>Symbolic constant SENSOR_3 (returns 2) </td></tr> 
    47 <tr><td><a href="./help/SENSOR_4.html">SENSOR_4</a></td><td>Symbolic constant SENSOR_4 (returns 3) </td></tr> 
     29<tr><td><a href="./help/CloseSensor.html">CloseSensor</a></td><td>Closes a specified sensor port (e.g. turns off the active light mode of the NXT light sensor)</td></tr> 
     30<tr><td><a href="./help/GetLight.html">GetLight</a></td><td>Reads the current value of the NXT light sensor</td></tr> 
     31<tr><td><a href="./help/GetSound.html">GetSound</a></td><td>Reads the current value of the NXT sound sensor</td></tr> 
     32<tr><td><a href="./help/GetSwitch.html">GetSwitch</a></td><td>Reads the current value of the NXT switch / touch sensor</td></tr> 
     33<tr><td><a href="./help/GetUltrasonic.html">GetUltrasonic</a></td><td>Reads the current value of the NXT ultrasonic sensor</td></tr> 
     34<tr><td><a href="./help/OpenLight.html">OpenLight</a></td><td>Sets the parameter mode of the NXT light sensor</td></tr> 
     35<tr><td><a href="./help/OpenSound.html">OpenSound</a></td><td>Sets the parameter mode of the NXT sound sensor</td></tr> 
     36<tr><td><a href="./help/OpenSwitch.html">OpenSwitch</a></td><td>Sets the parameter mode of the NXT switch / touch sensor</td></tr> 
     37<tr><td><a href="./help/OpenUltrasonic.html">OpenUltrasonic</a></td><td>Initializes and sets the mode of the NXT ultrasonic sensor</td></tr> 
     38<tr><td><a href="./help/SENSOR_1.html">SENSOR_1</a></td><td>Symbolic constant SENSOR_1 (returns 0)</td></tr> 
     39<tr><td><a href="./help/SENSOR_2.html">SENSOR_2</a></td><td>Symbolic constant SENSOR_2 (returns 1)</td></tr> 
     40<tr><td><a href="./help/SENSOR_3.html">SENSOR_3</a></td><td>Symbolic constant SENSOR_3 (returns 2)</td></tr> 
     41<tr><td><a href="./help/SENSOR_4.html">SENSOR_4</a></td><td>Symbolic constant SENSOR_4 (returns 3)</td></tr> 
     42<tr><td><a href="./help/USGetSnapshotResults.html">USGetSnapshotResults</a></td><td>Retrieves up to eight echos (distances) stored inside the US sensor</td></tr> 
     43<tr><td><a href="./help/USMakeSnapshot.html">USMakeSnapshot</a></td><td>Causes the ultrasonic sensor to send one snapshot ("ping") and record the echos</td></tr> 
    4844<tr><td><br><br></td></tr> 
    4945 
    5046 
    51 <tr><td colspan="2"><h2>NXT Motor</h2></td></tr> 
    52 <tr><td><a href="./help/GetMotor.html">GetMotor</a></td><td>Reads the current motor set by SetMotor(). Raises an error if no motor was set </td></tr> 
    53 <tr><td><a href="./help/GetMotorSettings.html">GetMotorSettings</a></td><td>Returns the current motor data / settings (e.g. position, speed, etc.) from the specified motor </td></tr> 
    54 <tr><td><a href="./help/SetAngleLimit.html">SetAngleLimit</a></td><td>Sets the angle limit (in degrees) of the current motor port </td></tr> 
    55 <tr><td><a href="./help/SetMotor.html">SetMotor</a></td><td>Sets the current motor to use for motor setting commands </td></tr> 
    56 <tr><td><a href="./help/SetPower.html">SetPower</a></td><td>Sets the power of the current active motor </td></tr> 
    57 <tr><td><a href="./help/SetRampMode.html">SetRampMode</a></td><td>Sets the runstate of the current active motor </td></tr> 
    58 <tr><td><a href="./help/SetTurnRatio.html">SetTurnRatio</a></td><td>Sets the turn ratio of the current active motor </td></tr> 
    59 <tr><td><a href="./help/SpeedRegulation.html">SpeedRegulation</a></td><td>Enables / disables the speed regulation mode of the current active motor </td></tr> 
    60 <tr><td><a href="./help/SyncToMotor.html">SyncToMotor</a></td><td>Enables synchronization regulation for current active and specified motor </td></tr> 
    61 <tr><td><a href="./help/SendMotorSettings.html">SendMotorSettings</a></td><td>Sends previously specified settings to current active motor. </td></tr> 
    62 <tr><td><a href="./help/WaitForMotor.html">WaitForMotor</a></td><td>Pauses execution until specific motor is not running anymore. </td></tr> 
    63 <tr><td><a href="./help/StopMotor.html">StopMotor</a></td><td>Stops / brakes specified motor. (Synchronisation will be lost after this) </td></tr> 
    64 <tr><td><a href="./help/ResetMotorAngle.html">ResetMotorAngle</a></td><td>Resets the relative angle counter for the given motor </td></tr> 
    65 <tr><td><br></td></tr> 
    66 <tr><td><a href="./help/SwitchLamp.html">SwitchLamp</a></td><td>Switches the LEGO lamp on or off (has to be connected to a motor port) </td></tr> 
    67 <tr><td><br></td></tr> 
    68 <tr><td><a href="./help/MOTOR_A.html">MOTOR_A</a></td><td>Symbolic constant MOTOR_A (returns 0) </td></tr> 
    69 <tr><td><a href="./help/MOTOR_B.html">MOTOR_B</a></td><td>Symbolic constant MOTOR_B (returns 1) </td></tr> 
    70 <tr><td><a href="./help/MOTOR_C.html">MOTOR_C</a></td><td>Symbolic constant MOTOR_C (returns 2) </td></tr> 
    71 <tr><td><br></td></tr> 
    72 <tr><td><a href="./help/MotorRotateAbs.html">MotorRotateAbs</a></td><td>Rotates a motor to an absolute angle </td></tr> 
    73 <tr><td><a href="./help/GetMemoryCount.html">GetMemoryCount</a></td><td>Gets the internal NXT memory counter (manual mapping replica) </td></tr> 
    74 <tr><td><a href="./help/SetMemoryCount.html">SetMemoryCount</a></td><td>Sets the internal NXT memory counter (manual mapping replica) </td></tr> 
     47<tr><td colspan="2"><h2>NXT Motors</h2></td></tr> 
     48<tr><td><a href="./help/GetMemoryCount.html">GetMemoryCount</a></td><td>Gets the internal NXT memory counter (manual mapping replica)</td></tr> 
     49<tr><td><a href="./help/GetMotor.html">GetMotor</a></td><td>Reads the current motor set by SetMotor(). Raises an error if no motor was set</td></tr> 
     50<tr><td><a href="./help/GetMotorSettings.html">GetMotorSettings</a></td><td>Returns the current motor data / settings (e.g. position, speed, etc.) from the specified motor</td></tr> 
     51<tr><td><a href="./help/MOTOR_A.html">MOTOR_A</a></td><td>Symbolic constant MOTOR_A (returns 0)</td></tr> 
     52<tr><td><a href="./help/MOTOR_B.html">MOTOR_B</a></td><td>Symbolic constant MOTOR_B (returns 1)</td></tr> 
     53<tr><td><a href="./help/MOTOR_C.html">MOTOR_C</a></td><td>Symbolic constant MOTOR_C (returns 2)</td></tr> 
     54<tr><td><a href="./help/MotorRotateAbs.html">MotorRotateAbs</a></td><td>Rotates a motor to an absolute angle</td></tr> 
     55<tr><td><a href="./help/ResetMotorAngle.html">ResetMotorAngle</a></td><td>Resets the relative angle counter for the given motor</td></tr> 
     56<tr><td><a href="./help/SendMotorSettings.html">SendMotorSettings</a></td><td>Sends previously specified settings to current active motor.</td></tr> 
     57<tr><td><a href="./help/SetAngleLimit.html">SetAngleLimit</a></td><td>Sets the angle limit (in degrees) of the current motor port</td></tr> 
     58<tr><td><a href="./help/SetMemoryCount.html">SetMemoryCount</a></td><td>Sets the internal NXT memory counter (manual mapping replica)</td></tr> 
     59<tr><td><a href="./help/SetMotor.html">SetMotor</a></td><td>Sets the current motor to use for motor setting commands</td></tr> 
     60<tr><td><a href="./help/SetPower.html">SetPower</a></td><td>Sets the power of the current active motor</td></tr> 
     61<tr><td><a href="./help/SetRampMode.html">SetRampMode</a></td><td>Sets the runstate of the current active motor</td></tr> 
     62<tr><td><a href="./help/SetTurnRatio.html">SetTurnRatio</a></td><td>Sets the turn ratio of the current active motor</td></tr> 
     63<tr><td><a href="./help/SpeedRegulation.html">SpeedRegulation</a></td><td>Enables / disables the speed regulation mode of the current active motor</td></tr> 
     64<tr><td><a href="./help/StopMotor.html">StopMotor</a></td><td>Stops / brakes specified motor. (Synchronisation will be lost after this)</td></tr> 
     65<tr><td><a href="./help/SwitchLamp.html">SwitchLamp</a></td><td>Switches the LEGO lamp on or off (has to be connected to a motor port)</td></tr> 
     66<tr><td><a href="./help/SyncToMotor.html">SyncToMotor</a></td><td>Enables synchronization regulation for current active and specified motor</td></tr> 
     67<tr><td><a href="./help/WaitForMotor.html">WaitForMotor</a></td><td>Pauses execution until specific motor is not running anymore.</td></tr> 
    7568<tr><td><br><br></td></tr> 
    7669 
    7770 
    78 <tr><td colspan="2"><h2> Direct NXT Functions</h2></td></tr> 
    79 <tr><td><a href="./help/NXT_GetBatteryLevel.html">NXT_GetBatteryLevel</a></td><td>Returns the current battery level in milli volts </td></tr> 
    80 <tr><td><a href="./help/NXT_GetInputValues.html">NXT_GetInputValues</a></td><td>Processes a complete sensor reading, i.e. requests input values and collects the answer. </td></tr> 
    81 <tr><td><a href="./help/NXT_GetOutputState.html">NXT_GetOutputState</a></td><td>Requests and retrieves an output motor state reading </td></tr> 
    82 <tr><td><a href="./help/NXT_LSGetStatus.html">NXT_LSGetStatus</a></td><td>Gets the number of available bytes from low speed (digital) sensor (e.g. ultrasonic) </td></tr> 
    83 <tr><td><a href="./help/NXT_LSRead.html">NXT_LSRead</a></td><td>Reads data from a low speed (digital) sensor </td></tr> 
    84 <tr><td><a href="./help/NXT_LSWrite.html">NXT_LSWrite</a></td><td>Writes the given data to a low speed (digital) sensor </td></tr> 
    85 <tr><td><a href="./help/NXT_PlayTone.html">NXT_PlayTone</a></td><td>Plays a tone with the given frequency and duration </td></tr> 
    86 <tr><td><a href="./help/NXT_ResetInputScaledValue.html">NXT_ResetInputScaledValue</a></td><td>Resets the sensors ScaledVal back to 0, depends on currently configured mode (see NXT_SetInputMode) </td></tr> 
    87 <tr><td><a href="./help/NXT_ResetMotorPosition.html">NXT_ResetMotorPosition</a></td><td>Resets NXT internal counter for specified motor, relative or absolute counter </td></tr> 
    88 <tr><td><a href="./help/NXT_SendKeepAlive.html">NXT_SendKeepAlive</a></td><td>Sends a KeepAlive packet. Optional: requests sleep time limit. </td></tr> 
    89 <tr><td><a href="./help/NXT_SetBrickName.html">NXT_SetBrickName</a></td><td>Sets a new name for the NXT Brick (connected to the specified handle) </td></tr> 
    90 <tr><td><a href="./help/NXT_SetInputMode.html">NXT_SetInputMode</a></td><td>Sets mode, configures and initializes sensor ready to be read out </td></tr> 
    91 <tr><td><a href="./help/NXT_SetOutputState.html">NXT_SetOutputState</a></td><td>Sends previously specified settings to current active motor. </td></tr> 
    92 <tr><td><a href="./help/NXT_StartProgram.html">NXT_StartProgram</a></td><td>Starts the given program on the NXT Brick </td></tr> 
    93 <tr><td><a href="./help/NXT_StopProgram.html">NXT_StopProgram</a></td><td>Stops a specific program on the NXT Brick </td></tr> 
     71<tr><td colspan="2"><h2>Direct NXT Functions</h2></td></tr> 
     72<tr><td><a href="./help/NXT_GetBatteryLevel.html">NXT_GetBatteryLevel</a></td><td>Returns the current battery level in milli volts</td></tr> 
     73<tr><td><a href="./help/NXT_GetFirmwareVersion.html">NXT_GetFirmwareVersion</a></td><td>Returns the protocol and firmware version of the NXT</td></tr> 
     74<tr><td><a href="./help/NXT_GetInputValues.html">NXT_GetInputValues</a></td><td>Processes a complete sensor reading, i.e. requests input values and collects the answer.</td></tr> 
     75<tr><td><a href="./help/NXT_GetOutputState.html">NXT_GetOutputState</a></td><td>Requests and retrieves an output motor state reading</td></tr> 
     76<tr><td><a href="./help/NXT_LSGetStatus.html">NXT_LSGetStatus</a></td><td>Gets the number of available bytes from low speed (digital) sensor (e.g. ultrasonic)</td></tr> 
     77<tr><td><a href="./help/NXT_LSRead.html">NXT_LSRead</a></td><td>Reads data from a low speed (digital) sensor</td></tr> 
     78<tr><td><a href="./help/NXT_LSWrite.html">NXT_LSWrite</a></td><td>Writes the given data to a low speed (digital) sensor</td></tr> 
     79<tr><td><a href="./help/NXT_PlaySoundFile.html">NXT_PlaySoundFile</a></td><td>Plays the given sound file on the NXT Brick</td></tr> 
     80<tr><td><a href="./help/NXT_PlayTone.html">NXT_PlayTone</a></td><td>Plays a tone with the given frequency and duration</td></tr> 
     81<tr><td><a href="./help/NXT_ReadIOMap.html">NXT_ReadIOMap</a></td><td>Reads the IO map of the given module ID</td></tr> 
     82<tr><td><a href="./help/NXT_ResetInputScaledValue.html">NXT_ResetInputScaledValue</a></td><td>Resets the sensors ScaledVal back to 0, depends on currently configured mode (see NXT_SetInputMode)</td></tr> 
     83<tr><td><a href="./help/NXT_ResetMotorPosition.html">NXT_ResetMotorPosition</a></td><td>Resets NXT internal counter for specified motor, relative or absolute counter</td></tr> 
     84<tr><td><a href="./help/NXT_SendKeepAlive.html">NXT_SendKeepAlive</a></td><td>Sends a KeepAlive packet. Optional: requests sleep time limit.</td></tr> 
     85<tr><td><a href="./help/NXT_SetBrickName.html">NXT_SetBrickName</a></td><td>Sets a new name for the NXT Brick (connected to the specified handle)</td></tr> 
     86<tr><td><a href="./help/NXT_SetInputMode.html">NXT_SetInputMode</a></td><td>Sets mode, configures and initializes sensor ready to be read out</td></tr> 
     87<tr><td><a href="./help/NXT_SetOutputState.html">NXT_SetOutputState</a></td><td>Sends previously specified settings to current active motor.</td></tr> 
     88<tr><td><a href="./help/NXT_StartProgram.html">NXT_StartProgram</a></td><td>Starts the given program on the NXT Brick</td></tr> 
     89<tr><td><a href="./help/NXT_StopProgram.html">NXT_StopProgram</a></td><td>Stops a specific program on the NXT Brick</td></tr> 
     90<tr><td><a href="./help/NXT_StopSoundPlayback.html">NXT_StopSoundPlayback</a></td><td>Stops the current sound playback</td></tr> 
     91<tr><td><a href="./help/NXT_WriteIOMap.html">NXT_WriteIOMap</a></td><td>Writes the IO map to the given module ID</td></tr> 
    9492<tr><td><br><br></td></tr> 
    9593 
    9694 
    97 <tr><td colspan="2"><h2> Help Functions</h2></td></tr> 
    98 <tr><td><a href="./help/checkStatusByte.html">checkStatusByte</a></td><td>Interpretes the status byte of a return package and creates an error message </td></tr> 
    99 <tr><td><a href="./help/readFromIniFile.html">readFromIniFile</a></td><td>Reads parameters from a configuration file (usually *.ini) </td></tr> 
    100 <tr><td><a href="./help/textOut.html">textOut</a></td><td>Wrapper for fprintf() which can optionally write screen output to a logfile </td></tr> 
    101 <tr><td><a href="./help/tictic.html">tictic</a></td><td>Similar to MATLAB's tic(), but extended to save "more states" </td></tr> 
    102 <tr><td><a href="./help/toctoc.html">toctoc</a></td><td>Similar to MATLAB's toc(), but extended to save "more states" </td></tr> 
    103 </table> 
     95<tr><td colspan="2"><h2>NXT Module Map Functions</h2></td></tr> 
     96<tr><td><a href="./help/MAP_GetCommModule.html">MAP_GetCommModule</a></td><td>Reads the IO map of the communication module</td></tr> 
     97<tr><td><a href="./help/MAP_GetInputModule.html">MAP_GetInputModule</a></td><td>Reads the IO map of the input module</td></tr> 
     98<tr><td><a href="./help/MAP_GetOutputModule.html">MAP_GetOutputModule</a></td><td>Reads the IO map of the output module</td></tr> 
     99<tr><td><a href="./help/MAP_GetSoundModule.html">MAP_GetSoundModule</a></td><td>Reads the IO map of the sound module</td></tr> 
     100<tr><td><a href="./help/MAP_GetUIModule.html">MAP_GetUIModule</a></td><td>Reads the IO map of the user interface module</td></tr> 
     101<tr><td><a href="./help/MAP_SetOutputModule.html">MAP_SetOutputModule</a></td><td>Writes the IO map to the output module</td></tr> 
     102<tr><td><br><br></td></tr> 
    104103 
    105104 
    106 <!-- </font> --> 
     105<tr><td colspan="2"><h2>General Functions</h2></td></tr> 
     106<tr><td><a href="./help/checkStatusByte.html">checkStatusByte</a></td><td>Interpretes the status byte of a return package and creates an error message</td></tr> 
     107<tr><td><a href="./help/readFromIniFile.html">readFromIniFile</a></td><td>Reads parameters from a configuration file (usually *.ini)</td></tr> 
     108<tr><td><a href="./help/textOut.html">textOut</a></td><td>Wrapper for fprintf() which can optionally write screen output to a logfile</td></tr> 
     109<tr><td><a href="./help/tictic.html">tictic</a></td><td>Similar to MATLAB's tic(), but extended to save "more states"</td></tr> 
     110<tr><td><a href="./help/toctoc.html">toctoc</a></td><td>Similar to MATLAB's toc(), but extended to save "more states"</td></tr> 
     111<tr><td><br><br></td></tr> 
    107112 
     113 
     114<tr><td colspan="2"><h2>Debug Functions</h2></td></tr> 
     115<tr><td><a href="./help/DebugMode.html">DebugMode</a></td><td>Gets or sets the debug state (i.e. if textOut will print messages to the command window)</td></tr> 
     116<tr><td><br><br></td></tr> 
     117 
     118 
     119</table> 
    108120 
    109121</body> 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/CloseSensor.html

    r3 r254  
    1212      <title>CloseSensor</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_CloseSensor"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5151               <li><b>Date:</b> 2007/10/15 
    5252               </li> 
    53                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     53               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5454               </li> 
    5555            </ul> 
     
    8686% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    8787% * *Date:* 2007/10/15 
    88 % * *Copyright:* 2007, RWTH Aachen University 
     88% * *Copyright:* 2007-2008, RWTH Aachen University 
    8989% 
    9090 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/GetLight.html

    r3 r254  
    1212      <title>GetLight</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_GetLight"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5353               <li><b>Date:</b> 2007/10/15 
    5454               </li> 
    55                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     55               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5656               </li> 
    5757            </ul> 
     
    9090% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    9191% * *Date:* 2007/10/15 
    92 % * *Copyright:* 2007, RWTH Aachen University 
     92% * *Copyright:* 2007-2008, RWTH Aachen University 
    9393% 
    9494 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/GetMemoryCount.html

    r45 r254  
    55   <head> 
    66      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
    7  
     7    
    88      <!-- 
    99This HTML is auto-generated from an M-file. 
     
    1212      <title>GetMemoryCount</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_GetMemoryCount"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4343         <h2>Examples<a name="5"></a></h2><pre class="codeinput">   memory = GetMemoryCount(MOTOR_A); 
    4444</pre><h2>See also<a name="6"></a></h2> 
    45          <p><a href="SetMemoryCount.html">SetMemoryCount</a>, <a href="MOTOR_A.html">MOTOR_A</a>, <a href="MOTOR_B.html">MOTOR_B</a>, <a href="MOTOR_C.html">MOTOR_C</a></p> 
     45         <p><a href="SetMemoryCounter.html">SetMemoryCounter</a>, <a href="MOTOR_A.html">MOTOR_A</a>, <a href="MOTOR_B.html">MOTOR_B</a>, <a href="MOTOR_C.html">MOTOR_C</a></p> 
    4646         <h2>Signature<a name="7"></a></h2> 
    4747         <div> 
     
    5151               <li><b>Date:</b> 2007/10/15 
    5252               </li> 
    53                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     53               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5454               </li> 
    5555            </ul> 
     
    8787% * *Author:* Alexander Behrens (see AUTHORS) 
    8888% * *Date:* 2007/10/15 
    89 % * *Copyright:* 2007, RWTH Aachen University 
     89% * *Copyright:* 2007-2008, RWTH Aachen University 
    9090% 
    9191 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/GetMotor.html

    r3 r254  
    1212      <title>GetMotor</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_GetMotor"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4949               <li><b>Date:</b> 2007/10/15 
    5050               </li> 
    51                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     51               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5252               </li> 
    5353            </ul> 
     
    7979% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    8080% * *Date:* 2007/10/15 
    81 % * *Copyright:* 2007, RWTH Aachen University 
     81% * *Copyright:* 2007-2008, RWTH Aachen University 
    8282% 
    8383 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/GetMotorSettings.html

    r3 r254  
    1212      <title>GetMotorSettings</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_GetMotorSettings"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    7474               <li><b>Date:</b> 2007/10/15 
    7575               </li> 
    76                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     76               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    7777               </li> 
    7878            </ul> 
     
    134134% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    135135% * *Date:* 2007/10/15 
    136 % * *Copyright:* 2007, RWTH Aachen University 
     136% * *Copyright:* 2007-2008, RWTH Aachen University 
    137137% 
    138138 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/GetSound.html

    r3 r254  
    1212      <title>GetSound</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_GetSound"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5353               <li><b>Date:</b> 2007/10/15 
    5454               </li> 
    55                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     55               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5656               </li> 
    5757            </ul> 
     
    9090% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    9191% * *Date:* 2007/10/15 
    92 % * *Copyright:* 2007, RWTH Aachen University 
     92% * *Copyright:* 2007-2008, RWTH Aachen University 
    9393% 
    9494 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/GetSwitch.html

    r3 r254  
    1212      <title>GetSwitch</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_GetSwitch"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5252               <li><b>Date:</b> 2007/10/15 
    5353               </li> 
    54                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     54               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5555               </li> 
    5656            </ul> 
     
    8989% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    9090% * *Date:* 2007/10/15 
    91 % * *Copyright:* 2007, RWTH Aachen University 
     91% * *Copyright:* 2007-2008, RWTH Aachen University 
    9292% 
    9393 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/GetUltrasonic.html

    r3 r254  
    1212      <title>GetUltrasonic</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_GetUltrasonic"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4444   CloseSensor(SENSOR_4); 
    4545</pre><h2>See also<a name="5"></a></h2> 
    46          <p><a href="NXT_LSRead.html">NXT_LSRead</a>, <a href="NXT_LSWrite.html">NXT_LSWrite</a>, <a href="OpenUltrasonic.html">OpenUltrasonic</a>, <a href="CloseSensor.html">CloseSensor</a>, <a href="SENSOR_1.html">SENSOR_1</a>, <a href="SENSOR_2.html">SENSOR_2</a>, <a href="SENSOR_3.html">SENSOR_3</a>, <a href="SENSOR_4.html">SENSOR_4</a></p> 
     46         <p><a href="OpenUltrasonic.html">OpenUltrasonic</a>, <a href="USMakeSnapshot.html">USMakeSnapshot</a>, <a href="USGetSnapshotResults.html">USGetSnapshotResults</a>, <a href="CloseSensor.html">CloseSensor</a>, <a href="NXT_LSRead.html">NXT_LSRead</a>, <a href="NXT_LSWrite.html">NXT_LSWrite</a></p> 
    4747         <h2>Signature<a name="6"></a></h2> 
    4848         <div> 
     
    5050               <li><b>Author:</b> Linus Atorf, Alexander Behrens (see AUTHORS) 
    5151               </li> 
    52                <li><b>Date:</b> 2007/10/15 
     52               <li><b>Date:</b> 2008/01/15 
    5353               </li> 
    54                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     54               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5555               </li> 
    5656            </ul> 
     
    8282%% 
    8383%% See also 
    84 % NXT_LSRead, NXT_LSWrite, OpenUltrasonic, CloseSensor, SENSOR_1, SENSOR_2, SENSOR_3, 
    85 % SENSOR_4 
     84% OpenUltrasonic, USMakeSnapshot, USGetSnapshotResults, CloseSensor, NXT_LSRead, NXT_LSWrite 
    8685%% 
    8786%% Signature 
    8887%% 
    8988% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    90 % * *Date:* 2007/10/15 
    91 % * *Copyright:* 2007, RWTH Aachen University 
     89% * *Date:* 2008/01/15 
     90% * *Copyright:* 2007-2008, RWTH Aachen University 
    9291% 
    9392 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/MOTOR_A.html

    r3 r254  
    1212      <title>MOTOR_A</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_MOTOR_A"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4949               <li><b>Date:</b> 2007/10/15 
    5050               </li> 
    51                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     51               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5252               </li> 
    5353            </ul> 
     
    7878% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    7979% * *Date:* 2007/10/15 
    80 % * *Copyright:* 2007, RWTH Aachen University 
     80% * *Copyright:* 2007-2008, RWTH Aachen University 
    8181% 
    8282 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/MOTOR_B.html

    r3 r254  
    1212      <title>MOTOR_B</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_MOTOR_B"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4949               <li><b>Date:</b> 2007/10/15 
    5050               </li> 
    51                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     51               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5252               </li> 
    5353            </ul> 
     
    7878% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    7979% * *Date:* 2007/10/15 
    80 % * *Copyright:* 2007, RWTH Aachen University 
     80% * *Copyright:* 2007-2008, RWTH Aachen University 
    8181% 
    8282 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/MOTOR_C.html

    r3 r254  
    1212      <title>MOTOR_C</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_MOTOR_C"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4949               <li><b>Date:</b> 2007/10/15 
    5050               </li> 
    51                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     51               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5252               </li> 
    5353            </ul> 
     
    7878% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    7979% * *Date:* 2007/10/15 
    80 % * *Copyright:* 2007, RWTH Aachen University 
     80% * *Copyright:* 2007-2008, RWTH Aachen University 
    8181% 
    8282 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/MotorRotateAbs.html

    r3 r254  
    1212      <title>MotorRotateAbs</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_MotorRotateAbs"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5050               <li><b>Date:</b> 2007/10/15 
    5151               </li> 
    52                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     52               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5353               </li> 
    5454            </ul> 
     
    8686% * *Author:* Robter Schwann, Bernd Neumann (see AUTHORS) 
    8787% * *Date:* 2007/10/15 
    88 % * *Copyright:* 2007, RWTH Aachen University 
     88% * *Copyright:* 2007-2008, RWTH Aachen University 
    8989% 
    9090 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_GetBatteryLevel.html

    r3 r254  
    1212      <title>NXT_GetBatteryLevel</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_GetBatteryLevel"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4141         <p><tt>voltage = NXT_GetBatteryLevel(handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no Bluetooth handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <h2>Examples<a name="6"></a></h2><pre class="codeinput">   voltage = NXT_GetBatteryLevel(); 
    46 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    47    voltage = NXT_GetBatteryLevel(bt_handle); 
     46</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     47   voltage = NXT_GetBatteryLevel(handle); 
    4848</pre><h2>See also<a name="8"></a></h2> 
    49          <p><a href="BT_GetDefaultHandle.html">BT_GetDefaultHandle</a>, <a href="NXT_SendKeepAlive.html">NXT_SendKeepAlive</a></p> 
     49         <p><a href="COM_GetDefaultNXT.html">COM_GetDefaultNXT</a>, <a href="NXT_SendKeepAlive.html">NXT_SendKeepAlive</a></p> 
    5050         <h2>Signature<a name="9"></a></h2> 
    5151         <div> 
     
    5555               <li><b>Date:</b> 2007/10/15 
    5656               </li> 
    57                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     57               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5858               </li> 
    5959            </ul> 
     
    7979% serial handle on a PC system and a file handle on a Linux system. 
    8080%% 
    81 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     81% If no Bluetooth handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    8282%% 
    8383%% Examples 
    8484   voltage = NXT_GetBatteryLevel(); 
    8585%% 
    86    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
    87    voltage = NXT_GetBatteryLevel(bt_handle); 
     86   handle = COM_OpenNXT('bluetooth.ini','check'); 
     87   voltage = NXT_GetBatteryLevel(handle); 
    8888%% 
    8989%% See also 
    90 % BT_GetDefaultHandle, NXT_SendKeepAlive 
     90% COM_GetDefaultNXT, NXT_SendKeepAlive 
    9191%% 
    9292%% Signature 
     
    9494% * *Author:* Linus Atorf (see AUTHORS) 
    9595% * *Date:* 2007/10/15 
    96 % * *Copyright:* 2007, RWTH Aachen University 
     96% * *Copyright:* 2007-2008, RWTH Aachen University 
    9797% 
    9898 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_GetInputValues.html

    r3 r254  
    1212      <title>NXT_GetInputValues</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_GetInputValues"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4141         <p><tt>data = NXT_GetInputValues(port, handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no Bluetooth handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <p><b>Output:</b></p> 
     
    7171         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
    7272         <h2>Examples<a name="21"></a></h2><pre class="codeinput">   data = NXT_GetInputValues(SENSOR_3); 
    73 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    74    data = NXT_GetInputValues(SENSOR_1, bt_handle); 
     73</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     74   data = NXT_GetInputValues(SENSOR_1, handle); 
    7575</pre><h2>See also<a name="23"></a></h2> 
    7676         <p><a href="NXT_SetInputMode.html">NXT_SetInputMode</a>, <a href="GetLight.html">GetLight</a>, <a href="GetSwitch.html">GetSwitch</a>, <a href="GetSound.html">GetSound</a>, <a href="GetUltrasonic.html">GetUltrasonic</a>, <a href="SENSOR_1.html">SENSOR_1</a>, <a href="SENSOR_2.html">SENSOR_2</a>, <a href="SENSOR_3.html">SENSOR_3</a>, <a href="SENSOR_4.html">SENSOR_4</a></p> 
     
    8282               <li><b>Date:</b> 2007/10/15 
    8383               </li> 
    84                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     84               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    8585               </li> 
    8686            </ul> 
     
    109109% serial handle on a PC system and a file handle on a Linux system. 
    110110%% 
    111 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     111% If no Bluetooth handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    112112%% 
    113113%% 
     
    151151   data = NXT_GetInputValues(SENSOR_3); 
    152152%% 
    153    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
    154    data = NXT_GetInputValues(SENSOR_1, bt_handle); 
     153   handle = COM_OpenNXT('bluetooth.ini','check'); 
     154   data = NXT_GetInputValues(SENSOR_1, handle); 
    155155%% 
    156156%% See also 
     
    161161% * *Author:* Linus Atorf (see AUTHORS) 
    162162% * *Date:* 2007/10/15 
    163 % * *Copyright:* 2007, RWTH Aachen University 
     163% * *Copyright:* 2007-2008, RWTH Aachen University 
    164164% 
    165165 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_GetOutputState.html

    r3 r254  
    1212      <title>NXT_GetOutputState</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_GetOutputState"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4141         <p><tt>data = NXT_GetOutputState(port, handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no Bluetooth handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <p><b>Output:</b></p> 
     
    7676         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
    7777         <h2>Examples<a name="23"></a></h2><pre class="codeinput">   data = NXT_GetOutputState(MOTOR_B); 
    78 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    79    data = NXT_GetOutputState(MOTOR_A, bt_handle); 
     78</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     79   data = NXT_GetOutputState(MOTOR_A, handle); 
    8080</pre><h2>See also<a name="25"></a></h2> 
    8181         <p><a href="GetMotorSettings.html">GetMotorSettings</a>, <a href="SendMotorSettings.html">SendMotorSettings</a>, <a href="NXT_SetOutputState.html">NXT_SetOutputState</a>, <a href="MOTOR_A.html">MOTOR_A</a>, <a href="MOTOR_B.html">MOTOR_B</a>, <a href="MOTOR_C.html">MOTOR_C</a></p> 
     
    8787               <li><b>Date:</b> 2007/10/15 
    8888               </li> 
    89                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     89               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    9090               </li> 
    9191            </ul> 
     
    113113% serial handle on a PC system and a file handle on a Linux system. 
    114114%% 
    115 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     115% If no Bluetooth handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    116116%% 
    117117%% 
     
    153153   data = NXT_GetOutputState(MOTOR_B); 
    154154%% 
    155    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
    156    data = NXT_GetOutputState(MOTOR_A, bt_handle); 
     155   handle = COM_OpenNXT('bluetooth.ini','check'); 
     156   data = NXT_GetOutputState(MOTOR_A, handle); 
    157157%% 
    158158%% See also 
     
    163163% * *Author:* Linus Atorf (see AUTHORS) 
    164164% * *Date:* 2007/10/15 
    165 % * *Copyright:* 2007, RWTH Aachen University 
     165% * *Copyright:* 2007-2008, RWTH Aachen University 
    166166% 
    167167 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_LSGetStatus.html

    r3 r254  
    1212      <title>NXT_LSGetStatus</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_LSGetStatus"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4141         <p><tt>[BytesReady status] = NXT_LSGetStatus(port, handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no Bluetooth handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
     
    5252         </p> 
    5353         <h2>Examples<a name="10"></a></h2><pre class="codeinput">   [BytesReady status] = NXT_LSGetStatus(SENSOR_3); 
    54 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     54</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    5555   NXT_SetInputMode(SENSOR_1, <span class="string">'LOWSPEED_9V'</span>, <span class="string">'RAWMODE'</span>, <span class="string">'dontreply'</span>); 
    5656   <span class="comment">% note that status can contain errorsmessages, use checkStatusByte</span> 
    57    [BytesReady status] = NXT_LSGetStatus(SENSOR_1, bt_handle); 
     57   [BytesReady status] = NXT_LSGetStatus(SENSOR_1, handle); 
    5858</pre><h2>See also<a name="12"></a></h2> 
    5959         <p><a href="NXT_SetInputMode.html">NXT_SetInputMode</a>, <a href="checkStatusByte.html">checkStatusByte</a>, <a href="NXT_LSWrite.html">NXT_LSWrite</a>, <a href="NXT_LSRead.html">NXT_LSRead</a></p> 
     
    6565               <li><b>Date:</b> 2007/10/15 
    6666               </li> 
    67                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     67               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6868               </li> 
    6969            </ul> 
     
    9393% serial handle on a PC system and a file handle on a Linux system. 
    9494%% 
    95 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     95% If no Bluetooth handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    9696%% 
    9797% For more details see the official LEGO Mindstorms communication protocol. 
     
    111111   [BytesReady status] = NXT_LSGetStatus(SENSOR_3); 
    112112%% 
    113    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
     113   handle = COM_OpenNXT('bluetooth.ini','check'); 
    114114   NXT_SetInputMode(SENSOR_1, 'LOWSPEED_9V', 'RAWMODE', 'dontreply'); 
    115115   % note that status can contain errorsmessages, use checkStatusByte 
    116    [BytesReady status] = NXT_LSGetStatus(SENSOR_1, bt_handle); 
     116   [BytesReady status] = NXT_LSGetStatus(SENSOR_1, handle); 
    117117%% 
    118118%% See also 
     
    124124% * *Author:* Linus Atorf (see AUTHORS) 
    125125% * *Date:* 2007/10/15 
    126 % * *Copyright:* 2007, RWTH Aachen University 
     126% * *Copyright:* 2007-2008, RWTH Aachen University 
    127127% 
    128128 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_LSRead.html

    r3 r254  
    1212      <title>NXT_LSRead</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_LSRead"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4141         <p><tt>[data BytesRead] = NXT_LSRead(port, handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no Bluetooth handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
     
    5050         <p>Before using LS commands, the sensor mode has to be set to <tt>LOWSPEED_9V</tt> using the NXT_SetInputMode command. 
    5151         </p> 
    52          <h2>Examples<a name="10"></a></h2><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     52         <h2>Examples<a name="10"></a></h2><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    5353 
    5454   NXT_SetInputMode(SENSOR_1, <span class="string">'LOWSPEED_9V'</span>, <span class="string">'RAWMODE'</span>, <span class="string">'dontreply'</span>); 
    5555   <span class="comment">% usually we would use NXT_LSWrite before, to request some sort of reply</span> 
    56    [data BytesRead] = NXT_LSRead(SENSOR_1, bt_handle); 
     56   [data BytesRead] = NXT_LSRead(SENSOR_1, handle); 
    5757</pre><h2>See also<a name="11"></a></h2> 
    5858         <p><a href="NXT_SetInputMode.html">NXT_SetInputMode</a>, <a href="NXT_LSWrite.html">NXT_LSWrite</a>, <a href="NXT_LSGetStatus.html">NXT_LSGetStatus</a></p> 
     
    6464               <li><b>Date:</b> 2007/10/15 
    6565               </li> 
    66                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     66               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6767               </li> 
    6868            </ul> 
     
    9090% serial handle on a PC system and a file handle on a Linux system. 
    9191%% 
    92 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     92% If no Bluetooth handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    9393%% 
    9494%% 
     
    106106%% 
    107107%% Examples 
    108    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
     108   handle = COM_OpenNXT('bluetooth.ini','check'); 
    109109 
    110110   NXT_SetInputMode(SENSOR_1, 'LOWSPEED_9V', 'RAWMODE', 'dontreply'); 
    111111   % usually we would use NXT_LSWrite before, to request some sort of reply 
    112    [data BytesRead] = NXT_LSRead(SENSOR_1, bt_handle); 
     112   [data BytesRead] = NXT_LSRead(SENSOR_1, handle); 
    113113%% 
    114114%% See also 
     
    120120% * *Author:* Linus Atorf (see AUTHORS) 
    121121% * *Date:* 2007/10/15 
    122 % * *Copyright:* 2007, RWTH Aachen University 
     122% * *Copyright:* 2007-2008, RWTH Aachen University 
    123123% 
    124124 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_LSWrite.html

    r3 r254  
    1212      <title>NXT_LSWrite</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_LSWrite"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4141         <p><tt>NXT_LSWrite(port, RXLength, data, ReplyMode, handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no Bluetooth handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
     
    5151         </p> 
    5252         <h2>Example<a name="10"></a></h2><pre class="codeinput">   RequestLen = 1; 
    53    I2Cdata = hex2dec([<span class="string">'02'</span>; <span class="string">'42'</span>]); <span class="comment">% specific ultrasonic I&#65533;C command</span> 
     53   I2Cdata = hex2dec([<span class="string">'02'</span>; <span class="string">'42'</span>]); <span class="comment">% specific ultrasonic I&sup2;C command</span> 
    5454 
    55    bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     55   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    5656   NXT_SetInputMode(SENSOR_1, <span class="string">'LOWSPEED_9V'</span>, <span class="string">'RAWMODE'</span>, <span class="string">'dontreply'</span>); 
    5757 
    58    NXT_LSWrite(SENSOR_1, RequestLen, I2Cdata, <span class="string">'dontreply'</span>, bt_handle); 
     58   NXT_LSWrite(SENSOR_1, RequestLen, I2Cdata, <span class="string">'dontreply'</span>, handle); 
    5959</pre><h2>See also<a name="11"></a></h2> 
    6060         <p><a href="NXT_SetInputMode.html">NXT_SetInputMode</a>, <a href="NXT_LSRead.html">NXT_LSRead</a>, <a href="NXT_LSGetStatus.html">NXT_LSGetStatus</a></p> 
     
    6666               <li><b>Date:</b> 2007/10/15 
    6767               </li> 
    68                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     68               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6969               </li> 
    7070            </ul> 
     
    9494% |handle|. This should be a serial handle on a PC system and a file handle on a Linux system. 
    9595%% 
    96 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     96% If no Bluetooth handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    9797%% 
    9898% For more details see the official LEGO Mindstorms communication protocol. 
     
    110110%% Example 
    111111   RequestLen = 1; 
    112    I2Cdata = hex2dec(['02'; '42']); % specific ultrasonic IÿC command 
     112   I2Cdata = hex2dec(['02'; '42']); % specific ultrasonic I²C command 
    113113 
    114    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
     114   handle = COM_OpenNXT('bluetooth.ini','check'); 
    115115   NXT_SetInputMode(SENSOR_1, 'LOWSPEED_9V', 'RAWMODE', 'dontreply'); 
    116116 
    117    NXT_LSWrite(SENSOR_1, RequestLen, I2Cdata, 'dontreply', bt_handle); 
     117   NXT_LSWrite(SENSOR_1, RequestLen, I2Cdata, 'dontreply', handle); 
    118118%% 
    119119%% See also 
     
    125125% * *Author:* Linus Atorf (see AUTHORS) 
    126126% * *Date:* 2007/10/15 
    127 % * *Copyright:* 2007, RWTH Aachen University 
     127% * *Copyright:* 2007-2008, RWTH Aachen University 
    128128% 
    129129 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_PlayTone.html

    r3 r254  
    1212      <title>NXT_PlayTone</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_PlayTone"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    3535         <h2>Syntax<a name="1"></a></h2> 
    3636         <p><tt>NXT_PlayTone(frequency, duration)</tt></p> 
    37          <p><tt>NXT_PlayTone(frequency, duration, bt_handle)</tt></p> 
     37         <p><tt>NXT_PlayTone(frequency, duration, handle)</tt></p> 
    3838         <h2>Description<a name="3"></a></h2> 
    3939         <p><tt>NXT_PlayTone(frequency, duration)</tt> plays a tone of the <tt>frequency</tt> in Hz (200 - 14000Hz) and the <tt>duration</tt> in milli seconds. 
    4040         </p> 
    41          <p><tt>NXT_PlayTone(frequency, duration, bt_handle)</tt> sends the play tone command over the specific Bluetooth handle (serial handle (PC) / file handle (Linux)). 
     41         <p><tt>NXT_PlayTone(frequency, duration, handle)</tt> sends the play tone command over the specific NXT handle (e.g. struct containing a serial handle (PC) / file handle (Linux)). 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no NXT handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
    4646         <h2>Examples<a name="7"></a></h2><pre class="codeinput">   NXT_PlayTone(440, 100); 
    47 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    48    BT_SetDefaultHandle(bt_handle); 
     47</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     48   COM_SetDefaultNXT(handle); 
    4949   NXT_PlayTone(1200, 120); 
    5050</pre><h2>See also<a name="9"></a></h2> 
    51          <p><a href="BT_GetDefaultHandle.html">BT_GetDefaultHandle</a></p> 
     51         <p><a href="COM_GetDefaultNXT.html">COM_GetDefaultNXT</a></p> 
    5252         <h2>Signature<a name="10"></a></h2> 
    5353         <div> 
     
    5757               <li><b>Date:</b> 2007/10/15 
    5858               </li> 
    59                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     59               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6060               </li> 
    6161            </ul> 
     
    7272% |NXT_PlayTone(frequency, duration)| 
    7373%% 
    74 % |NXT_PlayTone(frequency, duration, bt_handle)| 
     74% |NXT_PlayTone(frequency, duration, handle)| 
    7575%% 
    7676%% Description 
     
    7878% |duration| in milli seconds. 
    7979%% 
    80 % |NXT_PlayTone(frequency, duration, bt_handle)| sends the play tone command over the specific 
    81 % Bluetooth handle (serial handle (PC) / file handle (Linux)). 
     80% |NXT_PlayTone(frequency, duration, handle)| sends the play tone command over the specific 
     81% NXT handle (e.g. struct containing a serial handle (PC) / file handle (Linux)). 
    8282%% 
    83 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     83% If no NXT handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    8484%% 
    8585% For more details see the official LEGO Mindstorms communication protocol. 
     
    8888   NXT_PlayTone(440, 100); 
    8989%% 
    90    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
    91    BT_SetDefaultHandle(bt_handle); 
     90   handle = COM_OpenNXT('bluetooth.ini','check'); 
     91   COM_SetDefaultNXT(handle); 
    9292   NXT_PlayTone(1200, 120); 
    9393%% 
    9494%% See also 
    95 % BT_GetDefaultHandle 
     95% COM_GetDefaultNXT 
    9696%% 
    9797%% Signature 
     
    9999% * *Author:* Linus Atorf (see AUTHORS) 
    100100% * *Date:* 2007/10/15 
    101 % * *Copyright:* 2007, RWTH Aachen University 
     101% * *Copyright:* 2007-2008, RWTH Aachen University 
    102102% 
    103103 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_ResetInputScaledValue.html

    r3 r254  
    1212      <title>NXT_ResetInputScaledValue</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_ResetInputScaledValue"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    3535         <h2>Syntax<a name="1"></a></h2> 
    3636         <p><tt>NXT_ResetInputScaledValue(port)</tt></p> 
    37          <p><tt>NXT_ResetInputScaledValue(port, bt_handle)</tt></p> 
     37         <p><tt>NXT_ResetInputScaledValue(port, handle)</tt></p> 
    3838         <h2>Description<a name="3"></a></h2> 
    3939         <p><tt>NXT_ResetInputScaledValue(port)</tt> resets the sensors <tt>ScaledVal</tt> back to <tt>0</tt> of the given sensor <tt>port</tt>. The value <tt>port</tt> can be addressed by the symbolic constants <tt>SENSOR_1</tt>, <tt>SENSOR_2</tt>, <tt>SENSOR_3</tt> and <tt>SENSOR_4</tt> analog to the labeling on the NXT Brick. The <tt>ScaledVal</tt> is set by function <tt>NXT_SetInputMode</tt>. 
    4040         </p> 
    41          <p><tt>NXT_ResetInputScaledValue(port, bt_handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
     41         <p><tt>NXT_ResetInputScaledValue(port, handle)</tt> uses the given NXT connection <tt>handle</tt>. This should be a struct containing a serial handle on a PC system and a file handle on a Linux system. 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no NXT handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
     
    4747         </p> 
    4848         <h2>Examples<a name="8"></a></h2><pre class="codeinput">   NXT_ResetInputScaledValue(SENSOR_2); 
    49 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    50    NXT_ResetInputScaledValue(SENSOR_4, bt_handle); 
     49</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     50   NXT_ResetInputScaledValue(SENSOR_4, handle); 
    5151</pre><h2>See also<a name="10"></a></h2> 
    5252         <p><a href="NXT_SetInputMode.html">NXT_SetInputMode</a>, <a href="NXT_GetInputValues.html">NXT_GetInputValues</a></p> 
     
    5858               <li><b>Date:</b> 2007/10/15 
    5959               </li> 
    60                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     60               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6161               </li> 
    6262            </ul> 
     
    7373% |NXT_ResetInputScaledValue(port)| 
    7474%% 
    75 % |NXT_ResetInputScaledValue(port, bt_handle)| 
     75% |NXT_ResetInputScaledValue(port, handle)| 
    7676%% 
    7777%% Description 
     
    8181% function |NXT_SetInputMode|. 
    8282%% 
    83 % |NXT_ResetInputScaledValue(port, bt_handle)| uses the given Bluetooth connection |handle|. This should be a 
    84 % serial handle on a PC system and a file handle on a Linux system. 
     83% |NXT_ResetInputScaledValue(port, handle)| uses the given NXT connection |handle|. This should be a 
     84% struct containing a serial handle on a PC system and a file handle on a Linux system. 
    8585%% 
    86 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     86% If no NXT handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    8787%% 
    8888% For more details see the official LEGO Mindstorms communication protocol. 
     
    9696   NXT_ResetInputScaledValue(SENSOR_2); 
    9797%% 
    98    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
    99    NXT_ResetInputScaledValue(SENSOR_4, bt_handle); 
     98   handle = COM_OpenNXT('bluetooth.ini','check'); 
     99   NXT_ResetInputScaledValue(SENSOR_4, handle); 
    100100%% 
    101101%% See also 
     
    106106% * *Author:* Linus Atorf (see AUTHORS) 
    107107% * *Date:* 2007/10/15 
    108 % * *Copyright:* 2007, RWTH Aachen University 
     108% * *Copyright:* 2007-2008, RWTH Aachen University 
    109109% 
    110110 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_ResetMotorPosition.html

    r3 r254  
    1212      <title>NXT_ResetMotorPosition</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_ResetMotorPosition"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    3535         <h2>Syntax<a name="1"></a></h2> 
    3636         <p><tt>NXT_ResetMotorPosition(port, isRelative)</tt></p> 
    37          <p><tt>NXT_ResetMotorPosition(port, isRelative, bt_handle)</tt></p> 
     37         <p><tt>NXT_ResetMotorPosition(port, isRelative, handle)</tt></p> 
    3838         <h2>Description<a name="3"></a></h2> 
    3939         <p><tt>NXT_ResetMotorPosition(port, isRelative)</tt> resets the NXT internal counter of the given motor <tt>port</tt>. The value <tt>port</tt> can be addressed by the symbolic constants <tt>MOTOR_A</tt>, <tt>MOTOR_B</tt>, <tt>MOTOR_C</tt> analog to the labeling on the NXT Brick. The boolean flag <tt>isRelative</tt> determines the relative (BlockTachoCount) or absolute counter (RotationCount). 
    4040         </p> 
    41          <p><tt>NXT_ResetMotorPosition(port, bt_handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
     41         <p><tt>NXT_ResetMotorPosition(port, handle)</tt> uses the given NXT connection <tt>handle</tt>. This should be a struct containing a serial handle on a PC system and a file handle on a Linux system. 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no NXT handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
    4646         <h2>Examples<a name="7"></a></h2><pre class="codeinput">   NXT_ResetMotorPosition(MOTOR_B, true); 
    47 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    48    NXT_ResetMotorPosition(MOTOR_A, false, bt_handle); 
     47</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     48   NXT_ResetMotorPosition(MOTOR_A, false, handle); 
    4949</pre><h2>See also<a name="9"></a></h2> 
    50          <p><a href="BT_GetDefaultHandle.html">BT_GetDefaultHandle</a></p> 
     50         <p><a href="COM_GetDefaultNXT.html">COM_GetDefaultNXT</a></p> 
    5151         <h2>Signature<a name="10"></a></h2> 
    5252         <div> 
     
    5656               <li><b>Date:</b> 2007/10/15 
    5757               </li> 
    58                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     58               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5959               </li> 
    6060            </ul> 
     
    7171% |NXT_ResetMotorPosition(port, isRelative)| 
    7272%% 
    73 % |NXT_ResetMotorPosition(port, isRelative, bt_handle)| 
     73% |NXT_ResetMotorPosition(port, isRelative, handle)| 
    7474%% 
    7575%% Description 
     
    7979% relative (BlockTachoCount) or absolute counter (RotationCount). 
    8080%% 
    81 % |NXT_ResetMotorPosition(port, bt_handle)| uses the given Bluetooth connection |handle|. This should be a 
    82 % serial handle on a PC system and a file handle on a Linux system. 
     81% |NXT_ResetMotorPosition(port, handle)| uses the given NXT connection |handle|. This should be a 
     82% struct containing a serial handle on a PC system and a file handle on a Linux system. 
    8383%% 
    84 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     84% If no NXT handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    8585%% 
    8686% For more details see the official LEGO Mindstorms communication protocol. 
     
    8989   NXT_ResetMotorPosition(MOTOR_B, true); 
    9090%% 
    91    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
    92    NXT_ResetMotorPosition(MOTOR_A, false, bt_handle); 
     91   handle = COM_OpenNXT('bluetooth.ini','check'); 
     92   NXT_ResetMotorPosition(MOTOR_A, false, handle); 
    9393%% 
    9494%% See also 
    95 % BT_GetDefaultHandle 
     95% COM_GetDefaultNXT 
    9696%% 
    9797%% Signature 
     
    9999% * *Author:* Linus Atorf (see AUTHORS) 
    100100% * *Date:* 2007/10/15 
    101 % * *Copyright:* 2007, RWTH Aachen University 
     101% * *Copyright:* 2007-2008, RWTH Aachen University 
    102102% 
    103103 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_SendKeepAlive.html

    r3 r254  
    1212      <title>NXT_SendKeepAlive</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_SendKeepAlive"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    3535         <h2>Syntax<a name="1"></a></h2> 
    3636         <p><tt>[status SleepTimeLimit] = NXT_SendKeepAlive(ReplyMode)</tt></p> 
    37          <p><tt>[status SleepTimeLimit] = NXT_SendKeepAlive(ReplyMode, bt_handle)</tt></p> 
     37         <p><tt>[status SleepTimeLimit] = NXT_SendKeepAlive(ReplyMode, handle)</tt></p> 
    3838         <h2>Description<a name="3"></a></h2> 
    3939         <p><tt>[status SleepTimeLimit] = NXT_SendKeepAlive(ReplyMode)</tt> sends a KeepAlive packet to the NXT Brick to get the current sleep time limit of the Brick in milliseconds. By the <tt>ReplyMode</tt> one can request an acknowledgement for the packet transmission. The two strings <tt>'reply'</tt> and <tt>'dontreply'</tt> are valid. <tt>status</tt> indicates if an error occures by the packet transmission. Function <tt>checkStatusBytes</tt> is interpreting this information per default. The value <tt>SleepTimeLimit</tt> contains the time in milliseconds after the NXT brick will turn off automatically. The variable will only be set if <tt>ReplyMode</tt> is <tt>'reply'</tt>. The sleep time limit setting can only  be modified using the on-screen-menu on the brick itself. 
     
    4747            answer: You obviously didn't use <tt>'reply'</tt> and still tried to get an answer. 
    4848         </p> 
    49          <p><tt>[status SleepTimeLimit] = NXT_SendKeepAlive(ReplyMode, bt_handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
     49         <p><tt>[status SleepTimeLimit] = NXT_SendKeepAlive(ReplyMode, handle)</tt> uses the given NXT connection <tt>handle</tt>. This should be a struct containing a serial handle on a PC system and a file handle on a Linux system. 
    5050         </p> 
    51          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     51         <p>If no NXT handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    5252         </p> 
    5353         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
    5454         <p><b>Note:</b></p> 
    55          <p>This function is also used if you call <tt>BT_OpenHandle()</tt> with the optional <tt>'check'</tt> parameter. Then a keep-alive packet is send and the answer will be received to check for a correctly working bidirectional 
     55         <p>This function is also used if you call <tt>COM_OpenNXT()</tt> with the optional <tt>'check'</tt> parameter. Then a keep-alive packet is send and the answer will be received to check for a correctly working bidirectional 
    5656            bluetooth connection. 
    5757         </p> 
    5858         <h2>Examples<a name="11"></a></h2><pre class="codeinput">   [status SleepTimeLimit] = NXT_SendKeepAlive(<span class="string">'reply'</span>); 
    5959</pre><pre class="codeinput">   NXT_SendKeepAlive(<span class="string">'dontreply'</span>); 
    60 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    61    [status SleepTimeLimit] = NXT_SendKeepAlive(<span class="string">'reply'</span>, bt_handle); 
     60</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     61   [status SleepTimeLimit] = NXT_SendKeepAlive(<span class="string">'reply'</span>, handle); 
    6262</pre><h2>See also<a name="14"></a></h2> 
    63          <p><a href="BT_OpenHandle.html">BT_OpenHandle</a>, <a href="NXT_GetBatteryLevel.html">NXT_GetBatteryLevel</a></p> 
     63         <p><a href="COM_OpenNXT.html">COM_OpenNXT</a>, <a href="NXT_GetBatteryLevel.html">NXT_GetBatteryLevel</a></p> 
    6464         <h2>Signature<a name="15"></a></h2> 
    6565         <div> 
     
    6969               <li><b>Date:</b> 2007/10/15 
    7070               </li> 
    71                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     71               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    7272               </li> 
    7373            </ul> 
     
    8484% |[status SleepTimeLimit] = NXT_SendKeepAlive(ReplyMode)| 
    8585%% 
    86 % |[status SleepTimeLimit] = NXT_SendKeepAlive(ReplyMode, bt_handle)| 
     86% |[status SleepTimeLimit] = NXT_SendKeepAlive(ReplyMode, handle)| 
    8787%% 
    8888%% Description 
     
    106106% |'reply'| and still tried to get an answer. 
    107107%% 
    108 % |[status SleepTimeLimit] = NXT_SendKeepAlive(ReplyMode, bt_handle)| uses the given Bluetooth 
    109 % connection |handle|. This should be a serial handle on a PC system and a file handle on a Linux 
     108% |[status SleepTimeLimit] = NXT_SendKeepAlive(ReplyMode, handle)| uses the given NXT 
     109% connection |handle|. This should be a struct containing a serial handle on a PC system and a file handle on a Linux 
    110110% system. 
    111111%% 
    112 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     112% If no NXT handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    113113%% 
    114114% For more details see the official LEGO Mindstorms communication protocol. 
     
    117117% *Note:* 
    118118%% 
    119 % This function is also used if you call |BT_OpenHandle()| with the optional |'check'| parameter. Then 
     119% This function is also used if you call |COM_OpenNXT()| with the optional |'check'| parameter. Then 
    120120% a keep-alive packet is send and the answer will be received to check for a correctly working 
    121121% bidirectional bluetooth connection. 
     
    126126   NXT_SendKeepAlive('dontreply'); 
    127127%% 
    128    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
    129    [status SleepTimeLimit] = NXT_SendKeepAlive('reply', bt_handle); 
     128   handle = COM_OpenNXT('bluetooth.ini','check'); 
     129   [status SleepTimeLimit] = NXT_SendKeepAlive('reply', handle); 
    130130%% 
    131131%% See also 
    132 % BT_OpenHandle, NXT_GetBatteryLevel 
     132% COM_OpenNXT, NXT_GetBatteryLevel 
    133133%% 
    134134%% Signature 
     
    136136% * *Author:* Linus Atorf (see AUTHORS) 
    137137% * *Date:* 2007/10/15 
    138 % * *Copyright:* 2007, RWTH Aachen University 
     138% * *Copyright:* 2007-2008, RWTH Aachen University 
    139139% 
    140140 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_SetBrickName.html

    r3 r254  
    1212      <title>NXT_SetBrickName</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_SetBrickName"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    3535         <h2>Syntax<a name="1"></a></h2> 
    3636         <p><tt>[NXT_SetBrickName(name)</tt></p> 
    37          <p><tt>NXT_SetBrickName(name, bt_handle)</tt></p> 
     37         <p><tt>NXT_SetBrickName(name, handle)</tt></p> 
    3838         <h2>Description<a name="3"></a></h2> 
    3939         <p><tt>NXT_SetBrickName(name)</tt> sets a new <tt>name</tt> for the NXT Brick. The value <tt>name</tt> is a string value and determines the new name of the Brick.  The maximum length is limited to 15 characters. 
    4040         </p> 
    41          <p><tt>NXT_SetBrickName(name, bt_handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
     41         <p><tt>NXT_SetBrickName(name, handle)</tt> uses the given NXT connection <tt>handle</tt>. This should be a struct containing a serial handle on a PC system and a file handle on a Linux system. 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no NXT handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
    4646         <h2>Examples<a name="7"></a></h2><pre class="codeinput">   NXT_SetBrickName(<span class="string">'MyRobot'</span>); 
    47 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    48    NXT_SetBrickName(<span class="string">'Mindy'</span>, bt_handle); 
     47</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     48   NXT_SetBrickName(<span class="string">'Mindy'</span>, handle); 
    4949</pre><h2>See also<a name="9"></a></h2> 
    50          <p><a href="BT_GetDefaultHandle.html">BT_GetDefaultHandle</a>, <a href="NXT_SendKeepAlive.html">NXT_SendKeepAlive</a>, <a href="NXT_GetBatteryLevel.html">NXT_GetBatteryLevel</a></p> 
     50         <p><a href="COM_GetDefaultNXT.html">COM_GetDefaultNXT</a>, <a href="NXT_SendKeepAlive.html">NXT_SendKeepAlive</a>, <a href="NXT_GetBatteryLevel.html">NXT_GetBatteryLevel</a></p> 
    5151         <h2>Signature<a name="10"></a></h2> 
    5252         <div> 
     
    5656               <li><b>Date:</b> 2007/10/15 
    5757               </li> 
    58                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     58               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5959               </li> 
    6060            </ul> 
     
    7171% |[NXT_SetBrickName(name)| 
    7272%% 
    73 % |NXT_SetBrickName(name, bt_handle)| 
     73% |NXT_SetBrickName(name, handle)| 
    7474%% 
    7575%% Description 
     
    7777% and determines the new name of the Brick.  The maximum length is limited to 15 characters. 
    7878%% 
    79 % |NXT_SetBrickName(name, bt_handle)| uses the given Bluetooth connection |handle|. This should be 
    80 % a serial handle on a PC system and a file handle on a Linux system. 
     79% |NXT_SetBrickName(name, handle)| uses the given NXT connection |handle|. This should be 
     80% a struct containing a serial handle on a PC system and a file handle on a Linux system. 
    8181%% 
    82 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     82% If no NXT handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    8383%% 
    8484% For more details see the official LEGO Mindstorms communication protocol. 
     
    8787   NXT_SetBrickName('MyRobot'); 
    8888%% 
    89    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
    90    NXT_SetBrickName('Mindy', bt_handle); 
     89   handle = COM_OpenNXT('bluetooth.ini','check'); 
     90   NXT_SetBrickName('Mindy', handle); 
    9191%% 
    9292%% See also 
    93 % BT_GetDefaultHandle, NXT_SendKeepAlive, NXT_GetBatteryLevel 
     93% COM_GetDefaultNXT, NXT_SendKeepAlive, NXT_GetBatteryLevel 
    9494%% 
    9595%% Signature 
     
    9797% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    9898% * *Date:* 2007/10/15 
    99 % * *Copyright:* 2007, RWTH Aachen University 
     99% * *Copyright:* 2007-2008, RWTH Aachen University 
    100100% 
    101101 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_SetInputMode.html

    r3 r254  
    1212      <title>NXT_SetInputMode</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_SetInputMode"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    3535         <h2>Syntax<a name="1"></a></h2> 
    3636         <p><tt>status = NXT_SetInputMode(port, SensorTypeDesc, SensorModeDesc, ReplyMode)</tt></p> 
    37          <p><tt>status = NXT_SetInputMode(port, SensorTypeDesc, SensorModeDesc, ReplyMode, bt_handle)</tt></p> 
     37         <p><tt>status = NXT_SetInputMode(port, SensorTypeDesc, SensorModeDesc, ReplyMode, handle)</tt></p> 
    3838         <h2>Description<a name="3"></a></h2> 
    3939         <p><tt>status = NXT_SetInputMode(InputPort, SensorTypeDesc, SensorModeDesc, ReplyMode)</tt> sets mode, configures and initializes the given sensor <tt>port</tt> to be ready to be read out. The value <tt>port</tt> can be addressed by the symbolic constants <tt>SENSOR_1</tt>, <tt>SENSOR_2</tt>, <tt>SENSOR_3</tt> and <tt>SENSOR_4</tt> analog to the labeling on the NXT Brick. The value <tt>SensorTypeDesc</tt> determines the sensor type. See all valid types below. <tt>SensorModeDesc</tt> represents the sensor mode. It specifies what mode the <tt>.ScaledVal</tt> from <tt>NXT_GetInputValues</tt> should be. Valid parameters see below. By the <tt>ReplyMode</tt> one can request an acknowledgement for the packet transmission. The two strings <tt>'reply'</tt> and <tt>'dontreply'</tt> are valid. The return value <tt>status</tt> indicates if an error occures by the packet transmission. 
    4040         </p> 
    41          <p><tt>status = NXT_SetInputMode(InputPort, SensorTypeDesc, SensorModeDesc, ReplyMode, bt_handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
    42          </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     41         <p><tt>status = NXT_SetInputMode(InputPort, SensorTypeDesc, SensorModeDesc, ReplyMode, handle)</tt> uses the given NXT connection <tt>handle</tt>. This should be a struct containing a serial handle on a PC system and a file handle on a Linux system. 
     42         </p> 
     43         <p>If no NXT handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <p><b>Input:</b></p> 
     
    9494         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
    9595         <h2>Examples<a name="32"></a></h2><pre class="codeinput">   status = NXT_SetInputMode(SENSOR_1, <span class="string">'SOUND_DB'</span>, <span class="string">'RAWMODE'</span>, <span class="string">'dontreply'</span>); 
    96 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    97    status = NXT_SetInputMode(SENSOR_3, <span class="string">'LIGHT_ACTIVE'</span>, <span class="string">'RAWMODE'</span>, <span class="string">'dontreply'</span>, bt_handle); 
     96</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     97   status = NXT_SetInputMode(SENSOR_3, <span class="string">'LIGHT_ACTIVE'</span>, <span class="string">'RAWMODE'</span>, <span class="string">'dontreply'</span>, handle); 
    9898</pre><h2>See also<a name="34"></a></h2> 
    9999         <p><a href="NXT_GetInputValues.html">NXT_GetInputValues</a>, <a href="OpenLight.html">OpenLight</a>, <a href="OpenSound.html">OpenSound</a>, <a href="OpenSwitch.html">OpenSwitch</a>, <a href="OpenUltrasonic.html">OpenUltrasonic</a>, <a href="CloseSensor.html">CloseSensor</a>, <a href="SENSOR_1.html">SENSOR_1</a>, <a href="SENSOR_2.html">SENSOR_2</a>, <a href="SENSOR_3.html">SENSOR_3</a>, <a href="SENSOR_4.html">SENSOR_4</a></p> 
     
    105105               <li><b>Date:</b> 2007/10/15 
    106106               </li> 
    107                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     107               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    108108               </li> 
    109109            </ul> 
     
    120120% |status = NXT_SetInputMode(port, SensorTypeDesc, SensorModeDesc, ReplyMode)| 
    121121%% 
    122 % |status = NXT_SetInputMode(port, SensorTypeDesc, SensorModeDesc, ReplyMode, bt_handle)| 
     122% |status = NXT_SetInputMode(port, SensorTypeDesc, SensorModeDesc, ReplyMode, handle)| 
    123123%% 
    124124%% Description 
     
    133133% by the packet transmission. 
    134134%% 
    135 % |status = NXT_SetInputMode(InputPort, SensorTypeDesc, SensorModeDesc, ReplyMode, bt_handle)| 
    136 % uses the given Bluetooth connection |handle|. This should be a serial handle on a PC system and 
     135% |status = NXT_SetInputMode(InputPort, SensorTypeDesc, SensorModeDesc, ReplyMode, handle)| 
     136% uses the given NXT connection |handle|. This should be a struct containing a serial handle on a PC system and 
    137137% a file handle on a Linux system. 
    138138%% 
    139 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     139% If no NXT handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    140140%% 
    141141%% 
     
    203203   status = NXT_SetInputMode(SENSOR_1, 'SOUND_DB', 'RAWMODE', 'dontreply'); 
    204204%% 
    205    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
    206    status = NXT_SetInputMode(SENSOR_3, 'LIGHT_ACTIVE', 'RAWMODE', 'dontreply', bt_handle); 
     205   handle = COM_OpenNXT('bluetooth.ini','check'); 
     206   status = NXT_SetInputMode(SENSOR_3, 'LIGHT_ACTIVE', 'RAWMODE', 'dontreply', handle); 
    207207%% 
    208208%% See also 
     
    213213% * *Author:* Linus Atorf (see AUTHORS) 
    214214% * *Date:* 2007/10/15 
    215 % * *Copyright:* 2007, RWTH Aachen University 
     215% * *Copyright:* 2007-2008, RWTH Aachen University 
    216216% 
    217217 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_SetOutputState.html

    r3 r254  
    1212      <title>NXT_SetOutputState</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_SetOutputState"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4141         </p> 
    4242         <p><tt>status = NXT_SetOutputState(OutputPort, Power, IsMotorOn, IsBrake, RegModeName, TurnRatio, RunStateName, TachoLimit, ReplyMode, 
    43                bt_handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
     43               handle)</tt> uses the given NXT connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
    4444         </p> 
    4545         <h2>Example<a name="5"></a></h2><pre class="codeinput">   NXT_SetOutputState(MOTOR_A,80,1,1,<span class="string">'SPEED'</span>,0,<span class="string">'RUNNING'</span>,360,<span class="string">'dontreply'</span>); 
     
    5353               <li><b>Date:</b> 2007/10/15 
    5454               </li> 
    55                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     55               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5656               </li> 
    5757            </ul> 
     
    8181%% 
    8282% |status = NXT_SetOutputState(OutputPort, Power, IsMotorOn, IsBrake, RegModeName, TurnRatio, 
    83 % RunStateName, TachoLimit, ReplyMode, bt_handle)| uses the given Bluetooth connection |handle|. 
     83% RunStateName, TachoLimit, ReplyMode, handle)| uses the given NXT connection |handle|. 
    8484% This should be a serial handle on a PC system and a file handle on a Linux system. 
    8585%% 
     
    9494% * *Author:* Linus Atorf (see AUTHORS) 
    9595% * *Date:* 2007/10/15 
    96 % * *Copyright:* 2007, RWTH Aachen University 
     96% * *Copyright:* 2007-2008, RWTH Aachen University 
    9797% 
    9898 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_StartProgram.html

    r3 r254  
    1212      <title>NXT_StartProgram</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_StartProgram"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    3535         <h2>Syntax<a name="1"></a></h2> 
    3636         <p><tt>NXT_StartProgram(filename)</tt></p> 
    37          <p><tt>NXT_StartProgram(filename, bt_handle)</tt></p> 
     37         <p><tt>NXT_StartProgram(filename, handle)</tt></p> 
    3838         <h2>Description<a name="3"></a></h2> 
    3939         <p><tt>NXT_StartProgram(filename)</tt> starts the embedded NXT Brick program determined by the string <tt>filename</tt>. The maximum length is limited to 15 characters. The file extension <tt>'.rxe'</tt> is added automatically if it was omitted. 
    4040         </p> 
    41          <p><tt>NXT_SetBrickName(name, bt_handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
     41         <p><tt>NXT_SetBrickName(name, handle)</tt> uses the given NXT connection <tt>handle</tt>. This should be a struct containing a serial handle on a PC system and a file handle on a Linux system. 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no NXT handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
    4646         <h2>Examples<a name="7"></a></h2><pre class="codeinput">   NXT_StartProgram(<span class="string">'ResetCounter'</span>); 
    47 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    48    NXT_StartProgram(<span class="string">'Demo.rxe'</span>, bt_handle); 
     47</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     48   NXT_StartProgram(<span class="string">'Demo.rxe'</span>, handle); 
    4949</pre><h2>See also<a name="9"></a></h2> 
    5050         <p><a href="NXT_StopProgram.html">NXT_StopProgram</a></p> 
     
    5656               <li><b>Date:</b> 2007/10/15 
    5757               </li> 
    58                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     58               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5959               </li> 
    6060            </ul> 
     
    7171% |NXT_StartProgram(filename)| 
    7272%% 
    73 % |NXT_StartProgram(filename, bt_handle)| 
     73% |NXT_StartProgram(filename, handle)| 
    7474%% 
    7575%% Description 
     
    7878% extension |'.rxe'| is added automatically if it was omitted. 
    7979%% 
    80 % |NXT_SetBrickName(name, bt_handle)| uses the given Bluetooth connection |handle|. This should be 
    81 % a serial handle on a PC system and a file handle on a Linux system. 
     80% |NXT_SetBrickName(name, handle)| uses the given NXT connection |handle|. This should be 
     81% a struct containing a serial handle on a PC system and a file handle on a Linux system. 
    8282%% 
    83 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     83% If no NXT handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    8484%% 
    8585% For more details see the official LEGO Mindstorms communication protocol. 
     
    8888   NXT_StartProgram('ResetCounter'); 
    8989%% 
    90    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
    91    NXT_StartProgram('Demo.rxe', bt_handle); 
     90   handle = COM_OpenNXT('bluetooth.ini','check'); 
     91   NXT_StartProgram('Demo.rxe', handle); 
    9292%% 
    9393%% See also 
     
    9898% * *Author:* Alexander Behrens, Linus Atorf (see AUTHORS) 
    9999% * *Date:* 2007/10/15 
    100 % * *Copyright:* 2007, RWTH Aachen University 
     100% * *Copyright:* 2007-2008, RWTH Aachen University 
    101101% 
    102102 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/NXT_StopProgram.html

    r3 r254  
    1212      <title>NXT_StopProgram</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_NXT_StopProgram"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    3535         <h2>Syntax<a name="1"></a></h2> 
    3636         <p><tt>NXT_StopProgram()</tt></p> 
    37          <p><tt>NXT_StopProgram(bt_handle)</tt></p> 
     37         <p><tt>NXT_StopProgram(handle)</tt></p> 
    3838         <h2>Description<a name="3"></a></h2> 
    3939         <p><tt>NXT_StopProgram()</tt> stops the current running embedded NXT Brick program. 
    4040         </p> 
    41          <p><tt>NXT_StopProgram(bt_handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
     41         <p><tt>NXT_StopProgram(handle)</tt> uses the given NXT connection <tt>handle</tt>. This should be a struct containing a serial handle on a PC system and a file handle on a Linux system. 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no Bluetooth handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <p>For more details see the official LEGO Mindstorms communication protocol.</p> 
    4646         <h2>Examples<a name="7"></a></h2><pre class="codeinput">   NXT_StopProgram(); 
    47 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    48    NXT_StopProgram(bt_handle); 
     47</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     48   NXT_StopProgram(handle); 
    4949</pre><h2>See also<a name="9"></a></h2> 
    5050         <p><a href="NXT_StartProgram.html">NXT_StartProgram</a></p> 
     
    5656               <li><b>Date:</b> 2007/10/15 
    5757               </li> 
    58                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     58               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5959               </li> 
    6060            </ul> 
     
    7171% |NXT_StopProgram()| 
    7272%% 
    73 % |NXT_StopProgram(bt_handle)| 
     73% |NXT_StopProgram(handle)| 
    7474%% 
    7575%% Description 
    7676% |NXT_StopProgram()| stops the current running embedded NXT Brick program. 
    7777%% 
    78 % |NXT_StopProgram(bt_handle)| uses the given Bluetooth connection |handle|. This should be 
    79 % a serial handle on a PC system and a file handle on a Linux system. 
     78% |NXT_StopProgram(handle)| uses the given NXT connection |handle|. This should be 
     79% a struct containing a serial handle on a PC system and a file handle on a Linux system. 
    8080%% 
    81 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     81% If no Bluetooth handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    8282%% 
    8383% For more details see the official LEGO Mindstorms communication protocol. 
     
    8686   NXT_StopProgram(); 
    8787%% 
    88    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
    89    NXT_StopProgram(bt_handle); 
     88   handle = COM_OpenNXT('bluetooth.ini','check'); 
     89   NXT_StopProgram(handle); 
    9090%% 
    9191%% See also 
     
    9696% * *Author:* Alexander Behrens, Linus Atorf (see AUTHORS) 
    9797% * *Date:* 2007/10/15 
    98 % * *Copyright:* 2007, RWTH Aachen University 
     98% * *Copyright:* 2007-2008, RWTH Aachen University 
    9999% 
    100100 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/OpenLight.html

    r3 r254  
    1212      <title>OpenLight</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_OpenLight"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5252               <li><b>Date:</b> 2007/10/15 
    5353               </li> 
    54                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     54               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5555               </li> 
    5656            </ul> 
     
    8989% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    9090% * *Date:* 2007/10/15 
    91 % * *Copyright:* 2007, RWTH Aachen University 
     91% * *Copyright:* 2007-2008, RWTH Aachen University 
    9292% 
    9393 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/OpenSound.html

    r3 r254  
    1212      <title>OpenSound</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_OpenSound"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5252               <li><b>Date:</b> 2007/10/15 
    5353               </li> 
    54                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     54               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5555               </li> 
    5656            </ul> 
     
    8787% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    8888% * *Date:* 2007/10/15 
    89 % * *Copyright:* 2007, RWTH Aachen University 
     89% * *Copyright:* 2007-2008, RWTH Aachen University 
    9090% 
    9191 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/OpenSwitch.html

    r3 r254  
    1212      <title>OpenSwitch</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_OpenSwitch"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5252               <li><b>Date:</b> 2007/10/15 
    5353               </li> 
    54                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     54               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5555               </li> 
    5656            </ul> 
     
    8686% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    8787% * *Date:* 2007/10/15 
    88 % * *Copyright:* 2007, RWTH Aachen University 
     88% * *Copyright:* 2007-2008, RWTH Aachen University 
    8989% 
    9090 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/OpenUltrasonic.html

    r3 r254  
    1212      <title>OpenUltrasonic</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_OpenUltrasonic"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    2929               <li><a href="#3">Description</a></li> 
    3030               <li><a href="#7">Examples</a></li> 
    31                <li><a href="#8">See also</a></li> 
    32                <li><a href="#9">Signature</a></li> 
     31               <li><a href="#9">See also</a></li> 
     32               <li><a href="#10">Signature</a></li> 
    3333            </ul> 
    3434         </div> 
     
    3939         <p><tt>OpenUltrasonic(port)</tt> initializes the input mode of NXT uktrasonic sensor specified by the sensor <tt>port</tt>. The value <tt>port</tt> can be addressed by the symbolic constants <tt>SENSOR_1</tt> , <tt>SENSOR_2</tt>, <tt>SENSOR_3</tt> and <tt>SENSOR_4</tt> analog to the labeling on the NXT Brick. 
    4040         </p> 
    41          <p><tt>OpenUltrasonic(port, mode)</tt> can enable the snap shot mode if the value <tt>mode</tt> is equal to the string <tt>'snapshot'</tt>. This mode provides the snap shot mode (or SINGLE_SHOT mode) of the NXT ultrasonic sensor, which provides several sensor 
    42             readings in one step. However this mode is <b>not supported yet</b>. 
     41         <p><tt>OpenUltrasonic(port, mode)</tt> can enable the snapshot mode if the value <tt>mode</tt> is equal to the string <tt>'snapshot'</tt>. This mode provides the snap shot mode (or SINGLE_SHOT mode) of the NXT ultrasonic sensor, which provides several sensor 
     42            readings in one step. See <tt>USMakeSnapshot</tt> for more information. 
    4343         </p> 
    44          <p>Since the NXT ultrasonic sensor is a digital sensor (that uses the I&#65533;C protocol), the function <tt>NXT_SetInputMode</tt> cannot be used as for analog sensors. 
     44         <p>Since the NXT ultrasonic sensor is a digital sensor (that uses the I&sup2;C protocol), the function <tt>NXT_SetInputMode</tt> cannot be used as for analog sensors. 
    4545         </p> 
    46          <p>Note: The <tt>'snapshot'</tt> mode has not been implemented yet. 
     46         <p>Note: When the US sensor is opened in snapshot mode, the function <tt>GetUltrasonic</tt> does not work correctly! 
    4747         </p> 
    4848         <h2>Examples<a name="7"></a></h2><pre class="codeinput">   OpenUltrasonic(SENSOR_4); 
    4949   distance = GetUltrasonic(SENSOR_4); 
    5050   CloseSensor(SENSOR_4); 
    51 </pre><h2>See also<a name="8"></a></h2> 
    52          <p><a href="GetUltrasonic.html">GetUltrasonic</a>, <a href="CloseSensor.html">CloseSensor</a>, <a href="SENSOR_1.html">SENSOR_1</a>, <a href="SENSOR_2.html">SENSOR_2</a>, <a href="SENSOR_3.html">SENSOR_3</a>, <a href="SENSOR_4.html">SENSOR_4</a></p> 
    53          <h2>Signature<a name="9"></a></h2> 
     51</pre><pre class="codeinput">  port = SENSOR_4; 
     52  OpenUltrasonic(port, <span class="string">'snapshot'</span>); 
     53  <span class="comment">% send out the ping</span> 
     54  USMakeSnapshot(port); 
     55  <span class="comment">% wait some time for the sound to travel</span> 
     56  pause(0.1); <span class="comment">% 100ms is probably too much, calculate using c_sound ;-)</span> 
     57  <span class="comment">% retrieve all the echos in 1 step</span> 
     58  echos = USGetSnapshotResults(port); 
     59  CloseSensor(SENSOR_4); 
     60</pre><h2>See also<a name="9"></a></h2> 
     61         <p><a href="GetUltrasonic.html">GetUltrasonic</a>, <a href="USMakeSnapshot.html">USMakeSnapshot</a>, <a href="USGetSnapshotResults.html">USGetSnapshotResults</a>, <a href="CloseSensor.html">CloseSensor</a></p> 
     62         <h2>Signature<a name="10"></a></h2> 
    5463         <div> 
    5564            <ul> 
     
    5867               <li><b>Date:</b> 2008/01/08 
    5968               </li> 
    60                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     69               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6170               </li> 
    6271            </ul> 
     
    8089% |SENSOR_1| , |SENSOR_2|, |SENSOR_3| and |SENSOR_4| analog to the labeling on the NXT Brick. 
    8190%% 
    82 % |OpenUltrasonic(port, mode)| can enable the snap shot mode if the value |mode| is equal to the string 
     91% |OpenUltrasonic(port, mode)| can enable the snapshot mode if the value |mode| is equal to the string 
    8392% |'snapshot'|. This mode provides the snap shot mode (or SINGLE_SHOT mode) of the NXT ultrasonic sensor, 
    84 % which provides several sensor readings in one step. However this mode is *not supported yet*. 
     93% which provides several sensor readings in one step. See 
     94% |USMakeSnapshot| for more information. 
    8595%% 
    86 % Since the NXT ultrasonic sensor is a digital sensor (that uses the IÿC protocol), 
     96% Since the NXT ultrasonic sensor is a digital sensor (that uses the I²C protocol), 
    8797% the function |NXT_SetInputMode| cannot be used as for analog sensors. 
    8898%% 
    89 % Note: The |'snapshot'| mode has not been implemented yet. 
     99% Note: When the US sensor is opened in snapshot mode, the function 
     100% |GetUltrasonic| does not work correctly! 
    90101%% 
    91102%% 
     
    95106   CloseSensor(SENSOR_4); 
    96107%% 
     108  port = SENSOR_4; 
     109  OpenUltrasonic(port, 'snapshot'); 
     110  % send out the ping 
     111  USMakeSnapshot(port); 
     112  % wait some time for the sound to travel 
     113  pause(0.1); % 100ms is probably too much, calculate using c_sound ;-) 
     114  % retrieve all the echos in 1 step 
     115  echos = USGetSnapshotResults(port); 
     116  CloseSensor(SENSOR_4); 
     117%% 
    97118%% See also 
    98 % GetUltrasonic, CloseSensor, SENSOR_1, SENSOR_2, SENSOR_3, SENSOR_4 
     119% GetUltrasonic, USMakeSnapshot, USGetSnapshotResults, CloseSensor 
    99120%% 
    100121%% Signature 
     
    102123% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    103124% * *Date:* 2008/01/08 
    104 % * *Copyright:* 2007, RWTH Aachen University 
     125% * *Copyright:* 2007-2008, RWTH Aachen University 
    105126% 
    106127 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/ResetMotorAngle.html

    r3 r254  
    1212      <title>ResetMotorAngle</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_ResetMotorAngle"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4141         <p><tt>ResetMotorAngle(port, handle)</tt> uses the given Bluetooth connection <tt>handle</tt>. This should be a serial handle on a PC system and a file handle on a Linux system. 
    4242         </p> 
    43          <p>If no Bluetooth handle is specified the default one (<tt>BT_GetDefaultHandle</tt>) is used. 
     43         <p>If no NXT handle is specified the default one (<tt>COM_GetDefaultNXT</tt>) is used. 
    4444         </p> 
    4545         <h2>Examples<a name="6"></a></h2><pre class="codeinput">   ResetMotorAngle(MOTOR_A); 
    46 </pre><pre class="codeinput">   bt_handle = BT_OpenHandle(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
    47    ResetMotorAngle(MOTOR_C, bt_handle); 
     46</pre><pre class="codeinput">   handle = COM_OpenNXT(<span class="string">'bluetooth.ini'</span>,<span class="string">'check'</span>); 
     47   ResetMotorAngle(MOTOR_C, handle); 
    4848</pre><h2>See also<a name="8"></a></h2> 
    49          <p><a href="NXT_ResetMotorPosition.html">NXT_ResetMotorPosition</a>, <a href="GetMotorSettings.html">GetMotorSettings</a>, <a href="MOTOR_A.html">MOTOR_A</a>, <a href="MOTOR_B.html">MOTOR_B</a>, <a href="MOTOR_C.html">MOTOR_C</a>, <a href="BT_GetDefaultHandle.html">BT_GetDefaultHandle</a></p> 
     49         <p><a href="NXT_ResetMotorPosition.html">NXT_ResetMotorPosition</a>, <a href="GetMotorSettings.html">GetMotorSettings</a>, <a href="MOTOR_A.html">MOTOR_A</a>, <a href="MOTOR_B.html">MOTOR_B</a>, <a href="MOTOR_C.html">MOTOR_C</a>, <a href="COM_GetDefaultNXT.html">COM_GetDefaultNXT</a></p> 
    5050         <h2>Signature<a name="9"></a></h2> 
    5151         <div> 
     
    5555               <li><b>Date:</b> 2007/10/15 
    5656               </li> 
    57                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     57               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5858               </li> 
    5959            </ul> 
     
    8181% serial handle on a PC system and a file handle on a Linux system. 
    8282%% 
    83 % If no Bluetooth handle is specified the default one (|BT_GetDefaultHandle|) is used. 
     83% If no NXT handle is specified the default one (|COM_GetDefaultNXT|) is used. 
    8484%% 
    8585%% Examples 
    8686   ResetMotorAngle(MOTOR_A); 
    8787%% 
    88    bt_handle = BT_OpenHandle('bluetooth.ini','check'); 
    89    ResetMotorAngle(MOTOR_C, bt_handle); 
     88   handle = COM_OpenNXT('bluetooth.ini','check'); 
     89   ResetMotorAngle(MOTOR_C, handle); 
    9090%% 
    9191%% See also 
    92 % NXT_ResetMotorPosition, GetMotorSettings, MOTOR_A, MOTOR_B, MOTOR_C, BT_GetDefaultHandle 
     92% NXT_ResetMotorPosition, GetMotorSettings, MOTOR_A, MOTOR_B, MOTOR_C, COM_GetDefaultNXT 
    9393%% 
    9494%% Signature 
     
    9696% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    9797% * *Date:* 2007/10/15 
    98 % * *Copyright:* 2007, RWTH Aachen University 
     98% * *Copyright:* 2007-2008, RWTH Aachen University 
    9999% 
    100100 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SENSOR_1.html

    r3 r254  
    1212      <title>SENSOR_1</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SENSOR_1"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4949               <li><b>Date:</b> 2007/10/15 
    5050               </li> 
    51                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     51               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5252               </li> 
    5353            </ul> 
     
    7878% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    7979% * *Date:* 2007/10/15 
    80 % * *Copyright:* 2007, RWTH Aachen University 
     80% * *Copyright:* 2007-2008, RWTH Aachen University 
    8181% 
    8282 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SENSOR_2.html

    r3 r254  
    1212      <title>SENSOR_2</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SENSOR_2"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4949               <li><b>Date:</b> 2007/10/15 
    5050               </li> 
    51                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     51               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5252               </li> 
    5353            </ul> 
     
    7878% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    7979% * *Date:* 2007/10/15 
    80 % * *Copyright:* 2007, RWTH Aachen University 
     80% * *Copyright:* 2007-2008, RWTH Aachen University 
    8181% 
    8282 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SENSOR_3.html

    r3 r254  
    1212      <title>SENSOR_3</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SENSOR_3"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4949               <li><b>Date:</b> 2007/10/15 
    5050               </li> 
    51                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     51               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5252               </li> 
    5353            </ul> 
     
    7878% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    7979% * *Date:* 2007/10/15 
    80 % * *Copyright:* 2007, RWTH Aachen University 
     80% * *Copyright:* 2007-2008, RWTH Aachen University 
    8181% 
    8282 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SENSOR_4.html

    r3 r254  
    1212      <title>SENSOR_4</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SENSOR_4"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4949               <li><b>Date:</b> 2007/10/15 
    5050               </li> 
    51                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     51               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5252               </li> 
    5353            </ul> 
     
    7878% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    7979% * *Date:* 2007/10/15 
    80 % * *Copyright:* 2007, RWTH Aachen University 
     80% * *Copyright:* 2007-2008, RWTH Aachen University 
    8181% 
    8282 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SendMotorSettings.html

    r3 r254  
    1212      <title>SendMotorSettings</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SendMotorSettings"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    6363               <li><b>Date:</b> 2007/10/15 
    6464               </li> 
    65                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     65               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6666               </li> 
    6767            </ul> 
     
    114114% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    115115% * *Date:* 2007/10/15 
    116 % * *Copyright:* 2007, RWTH Aachen University 
     116% * *Copyright:* 2007-2008, RWTH Aachen University 
    117117% 
    118118 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SetAngleLimit.html

    r3 r254  
    1212      <title>SetAngleLimit</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SetAngleLimit"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5757               <li><b>Date:</b> 2007/10/15 
    5858               </li> 
    59                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     59               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6060               </li> 
    6161            </ul> 
     
    9999% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    100100% * *Date:* 2007/10/15 
    101 % * *Copyright:* 2007, RWTH Aachen University 
     101% * *Copyright:* 2007-2008, RWTH Aachen University 
    102102% 
    103103 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SetMemoryCount.html

    r45 r254  
    55   <head> 
    66      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
    7  
     7    
    88      <!-- 
    99This HTML is auto-generated from an M-file. 
     
    1212      <title>SetMemoryCount</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SetMemoryCount"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4343         <h2>Example<a name="5"></a></h2><pre class="codeinput">   SetMemoryCount(MOTOR_B, 120); 
    4444</pre><h2>See also<a name="6"></a></h2> 
    45          <p><a href="GetMemoryCount.html">GetMemoryCount</a>, <a href="MOTOR_A.html">MOTOR_A</a>, <a href="MOTOR_B.html">MOTOR_B</a>, <a href="MOTOR_C.html">MOTOR_C</a></p> 
     45         <p><a href="SetMemoryCounter.html">SetMemoryCounter</a>, <a href="MOTOR_A.html">MOTOR_A</a>, <a href="MOTOR_B.html">MOTOR_B</a>, <a href="MOTOR_C.html">MOTOR_C</a></p> 
    4646         <h2>Signature<a name="7"></a></h2> 
    4747         <div> 
     
    5151               <li><b>Date:</b> 2007/10/15 
    5252               </li> 
    53                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     53               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5454               </li> 
    5555            </ul> 
     
    8787% * *Author:* Alexander Behrens (see AUTHORS) 
    8888% * *Date:* 2007/10/15 
    89 % * *Copyright:* 2007, RWTH Aachen University 
     89% * *Copyright:* 2007-2008, RWTH Aachen University 
    9090% 
    9191 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SetMotor.html

    r3 r254  
    1212      <title>SetMotor</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SetMotor"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5353               <li><b>Date:</b> 2007/10/15 
    5454               </li> 
    55                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     55               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5656               </li> 
    5757            </ul> 
     
    8989% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    9090% * *Date:* 2007/10/15 
    91 % * *Copyright:* 2007, RWTH Aachen University 
     91% * *Copyright:* 2007-2008, RWTH Aachen University 
    9292% 
    9393 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SetPower.html

    r3 r254  
    1212      <title>SetPower</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SetPower"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5252               <li><b>Date:</b> 2007/10/15 
    5353               </li> 
    54                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     54               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5555               </li> 
    5656            </ul> 
     
    8787% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    8888% * *Date:* 2007/10/15 
    89 % * *Copyright:* 2007, RWTH Aachen University 
     89% * *Copyright:* 2007-2008, RWTH Aachen University 
    9090% 
    9191 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SetRampMode.html

    r3 r254  
    1212      <title>SetRampMode</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SetRampMode"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5252               <li><b>Date:</b> 2007/10/15 
    5353               </li> 
    54                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     54               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5555               </li> 
    5656            </ul> 
     
    8989% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    9090% * *Date:* 2007/10/15 
    91 % * *Copyright:* 2007, RWTH Aachen University 
     91% * *Copyright:* 2007-2008, RWTH Aachen University 
    9292% 
    9393 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SetTurnRatio.html

    r3 r254  
    1212      <title>SetTurnRatio</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SetTurnRatio"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    6262               <li><b>Date:</b> 2007/10/15 
    6363               </li> 
    64                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     64               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6565               </li> 
    6666            </ul> 
     
    115115% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    116116% * *Date:* 2007/10/15 
    117 % * *Copyright:* 2007, RWTH Aachen University 
     117% * *Copyright:* 2007-2008, RWTH Aachen University 
    118118% 
    119119 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SpeedRegulation.html

    r3 r254  
    1212      <title>SpeedRegulation</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SpeedRegulation"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5757               <li><b>Date:</b> 2007/10/15 
    5858               </li> 
    59                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     59               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6060               </li> 
    6161            </ul> 
     
    101101% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    102102% * *Date:* 2007/10/15 
    103 % * *Copyright:* 2007, RWTH Aachen University 
     103% * *Copyright:* 2007-2008, RWTH Aachen University 
    104104% 
    105105 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/StopMotor.html

    r3 r254  
    1212      <title>StopMotor</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_StopMotor"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    6262               <li><b>Date:</b> 2007/10/15 
    6363               </li> 
    64                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     64               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6565               </li> 
    6666            </ul> 
     
    114114% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    115115% * *Date:* 2007/10/15 
    116 % * *Copyright:* 2007, RWTH Aachen University 
     116% * *Copyright:* 2007-2008, RWTH Aachen University 
    117117% 
    118118 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SwitchLamp.html

    r3 r254  
    1212      <title>SwitchLamp</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SwitchLamp"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5454               <li><b>Date:</b> 2007/10/15 
    5555               </li> 
    56                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     56               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5757               </li> 
    5858            </ul> 
     
    9696% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    9797% * *Date:* 2007/10/15 
    98 % * *Copyright:* 2007, RWTH Aachen University 
     98% * *Copyright:* 2007-2008, RWTH Aachen University 
    9999% 
    100100 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/SyncToMotor.html

    r3 r254  
    1212      <title>SyncToMotor</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_SyncToMotor"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    6666               <li><b>Date:</b> 2007/10/15 
    6767               </li> 
    68                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     68               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6969               </li> 
    7070            </ul> 
     
    123123% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    124124% * *Date:* 2007/10/15 
    125 % * *Copyright:* 2007, RWTH Aachen University 
     125% * *Copyright:* 2007-2008, RWTH Aachen University 
    126126% 
    127127 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/WaitForMotor.html

    r3 r254  
    1212      <title>WaitForMotor</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_WaitForMotor"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    6666               <li><b>Date:</b> 2007/10/15 
    6767               </li> 
    68                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     68               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    6969               </li> 
    7070            </ul> 
     
    121121% * *Author:* Linus Atorf, Alexander Behrens (see AUTHORS) 
    122122% * *Date:* 2007/10/15 
    123 % * *Copyright:* 2007, RWTH Aachen University 
     123% * *Copyright:* 2007-2008, RWTH Aachen University 
    124124% 
    125125 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/checkStatusByte.html

    r3 r254  
    1212      <title>checkStatusByte</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_checkStatusByte"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    4141   [err errmsg] = checkStatusByte(status); 
    4242</pre><h2>See also<a name="4"></a></h2> 
    43          <p><a href="BT_CollectPacket.html">BT_CollectPacket</a>, <a href="NXT_LSGetStatus.html">NXT_LSGetStatus</a></p> 
     43         <p><a href="COM_CollectPacket.html">COM_CollectPacket</a>, <a href="NXT_LSGetStatus.html">NXT_LSGetStatus</a></p> 
    4444         <h2>Signature<a name="5"></a></h2> 
    4545         <div> 
     
    4949               <li><b>Date:</b> 2007/10/15 
    5050               </li> 
    51                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     51               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5252               </li> 
    5353            </ul> 
     
    7575%% 
    7676%% See also 
    77 % BT_CollectPacket, NXT_LSGetStatus 
     77% COM_CollectPacket, NXT_LSGetStatus 
    7878%% 
    7979%% Signature 
     
    8181% * *Author:* Linus Atorf (see AUTHORS) 
    8282% * *Date:* 2007/10/15 
    83 % * *Copyright:* 2007, RWTH Aachen University 
     83% * *Copyright:* 2007-2008, RWTH Aachen University 
    8484% 
    8585 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/readFromIniFile.html

    r3 r254  
    1212      <title>readFromIniFile</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_readFromIniFile"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    6767               <li><b>Date:</b> 2008/01/08 
    6868               </li> 
    69                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     69               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    7070               </li> 
    7171            </ul> 
     
    123123% * *Author:* Linus Atorf (see AUTHORS) 
    124124% * *Date:* 2008/01/08 
    125 % * *Copyright:* 2007, RWTH Aachen University 
     125% * *Copyright:* 2007-2008, RWTH Aachen University 
    126126% 
    127127 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/textOut.html

    r3 r254  
    1212      <title>textOut</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_textOut"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    7272               <li><b>Date:</b> 2007/10/15 
    7373               </li> 
    74                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     74               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    7575               </li> 
    7676            </ul> 
     
    141141% * *Author:* Linus Atorf (see AUTHORS) 
    142142% * *Date:* 2007/10/15 
    143 % * *Copyright:* 2007, RWTH Aachen University 
     143% * *Copyright:* 2007-2008, RWTH Aachen University 
    144144% 
    145145 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/tictic.html

    r3 r254  
    1212      <title>tictic</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_tictic"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5555               <li><b>Date:</b> 2007/10/15 
    5656               </li> 
    57                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     57               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5858               </li> 
    5959            </ul> 
     
    9494% * *Author:* Linus Atorf (see AUTHORS) 
    9595% * *Date:* 2007/10/15 
    96 % * *Copyright:* 2007, RWTH Aachen University 
     96% * *Copyright:* 2007-2008, RWTH Aachen University 
    9797% 
    9898 
  • branches/atorf/RWTHMindstormsNXT/doc/functions/help/toctoc.html

    r3 r254  
    1212      <title>toctoc</title> 
    1313      <meta name="generator" content="MATLAB 7.5"> 
    14       <meta name="date" content="2008-01-28"> 
     14      <meta name="date" content="2008-07-19"> 
    1515      <meta name="m-file" content="script_toctoc"> 
    1616<link type="text/css" rel="stylesheet" href="../../style.css"> 
     
    5555               <li><b>Date:</b> 2007/10/15 
    5656               </li> 
    57                <li><b>Copyright:</b> 2007, RWTH Aachen University 
     57               <li><b>Copyright:</b> 2007-2008, RWTH Aachen University 
    5858               </li> 
    5959            </ul> 
     
    9595% * *Author:* Linus Atorf (see AUTHORS) 
    9696% * *Date:* 2007/10/15 
    97 % * *Copyright:* 2007, RWTH Aachen University 
     97% * *Copyright:* 2007-2008, RWTH Aachen University 
    9898% 
    9999 
  • branches/atorf/RWTHMindstormsNXT/doc/helpindex.xml

    r3 r254  
    33 
    44<index version="1.0"> 
    5   <indexitem target="./functions/help/BT_CloseAllHandles.html">BT_CloseAllHandles</indexitem> 
    6   <indexitem target="./functions/help/BT_CloseHandle.html">BT_CloseHandle</indexitem> 
    7   <indexitem target="./functions/help/BT_CollectPacket.html">BT_CollectPacket</indexitem> 
    8   <indexitem target="./functions/help/BT_CreatePacket.html">BT_CreatePacket</indexitem> 
    9   <indexitem target="./functions/help/BT_GetDefaultHandle.html">BT_GetDefaultHandle</indexitem> 
    10   <indexitem target="./functions/help/BT_MakeConfigFile.html">BT_MakeConfigFile</indexitem> 
    11   <indexitem target="./functions/help/BT_OpenHandle.html">BT_OpenHandle</indexitem> 
    12   <indexitem target="./functions/help/BT_SendPacket.html">BT_SendPacket</indexitem> 
    13   <indexitem target="./functions/help/BT_SetDefaultHandle.html">BT_SetDefaultHandle</indexitem> 
    14   <indexitem target="./functions/help/checkStatusByte.html">checkStatusByte</indexitem> 
    15   <indexitem target="./functions/help/CloseSensor.html">CloseSensor</indexitem> 
    16   <indexitem target="./functions/help/GetLight.html">GetLight</indexitem> 
    17   <indexitem target="./functions/help/GetMemoryCount.html">GetMemoryCount</indexitem> 
    18   <indexitem target="./functions/help/GetMotor.html">GetMotor</indexitem> 
    19   <indexitem target="./functions/help/GetMotorSettings.html">GetMotorSettings</indexitem> 
    20   <indexitem target="./functions/help/GetSound.html">GetSound</indexitem> 
    21   <indexitem target="./functions/help/GetSwitch.html">GetSwitch</indexitem> 
    22   <indexitem target="./functions/help/GetUltrasonic.html">GetUltrasonic</indexitem> 
    23   <indexitem target="./functions/help/MOTOR_A.html">MOTOR_A</indexitem> 
    24   <indexitem target="./functions/help/MOTOR_B.html">MOTOR_B</indexitem> 
    25   <indexitem target="./functions/help/MOTOR_C.html">MOTOR_C</indexitem> 
    26   <indexitem target="./functions/help/MotorRotateAbs.html">MotorRotateAbs</indexitem> 
    27   <indexitem target="./functions/help/NXT_GetBatteryLevel.html">NXT_GetBatteryLevel</indexitem> 
    28   <indexitem target="./functions/help/NXT_GetInputValues.html">NXT_GetInputValues</indexitem> 
    29   <indexitem target="./functions/help/NXT_GetOutputState.html">NXT_GetOutputState</indexitem> 
    30   <indexitem target="./functions/help/NXT_LSGetStatus.html">NXT_LSGetStatus</indexitem> 
    31   <indexitem target="./functions/help/NXT_LSRead.html">NXT_LSRead</indexitem> 
    32   <indexitem target="./functions/help/NXT_LSWrite.html">NXT_LSWrite</indexitem> 
    33   <indexitem target="./functions/help/NXT_PlayTone.html">NXT_PlayTone</indexitem> 
    34   <indexitem target="./functions/help/NXT_ResetInputScaledValue.html">NXT_ResetInputScaledValue</indexitem> 
    35   <indexitem target="./functions/help/NXT_ResetMotorPosition.html">NXT_ResetMotorPosition</indexitem> 
    36   <indexitem target="./functions/help/NXT_SendKeepAlive.html">NXT_SendKeepAlive</indexitem> 
    37   <indexitem target="./functions/help/NXT_SetBrickName.html">NXT_SetBrickName</indexitem> 
    38   <indexitem target="./functions/help/NXT_SetInputMode.html">NXT_SetInputMode</indexitem> 
    39   <indexitem target="./functions/help/NXT_SetOutputState.html">NXT_SetOutputState</indexitem> 
    40   <indexitem target="./functions/help/NXT_StartProgra.html">NXT_StartProgra</indexitem> 
    41   <indexitem target="./functions/help/NXT_StopProgra.html">NXT_StopProgra</indexitem> 
    42   <indexitem target="./functions/help/OpenLight.html">OpenLight</indexitem> 
    43   <indexitem target="./functions/help/OpenSound.html">OpenSound</indexitem> 
    44   <indexitem target="./functions/help/OpenSwitch.html">OpenSwitch</indexitem> 
    45   <indexitem target="./functions/help/OpenUltrasonic.html">OpenUltrasonic</indexitem> 
    46   <indexitem target="./functions/help/readFromIniFile.html">readFromIniFile</indexitem> 
    47   <indexitem target="./functions/help/ResetMotorAngle.html">ResetMotorAngle</indexitem> 
    48   <indexitem target="./functions/help/SendMotorSettings.html">SendMotorSettings</indexitem> 
    49   <indexitem target="./functions/help/SENSOR_1.html">SENSOR_1</indexitem> 
    50   <indexitem target="./functions/help/SENSOR_2.html">SENSOR_2</indexitem> 
    51   <indexitem target="./functions/help/SENSOR_3.html">SENSOR_3</indexitem> 
    52   <indexitem target="./functions/help/SENSOR_4.html">SENSOR_4</indexitem> 
    53   <indexitem target="./functions/help/SetAngleLimit.html">SetAngleLimit</indexitem> 
    54   <indexitem target="./functions/help/SetMemoryCount.html">SetMemoryCount</indexitem> 
    55   <indexitem target="./functions/help/SetMotor.html">SetMotor</indexitem> 
    56   <indexitem target="./functions/help/SetPower.html">SetPower</indexitem> 
    57   <indexitem target="./functions/help/SetRampMode.html">SetRampMode</indexitem> 
    58   <indexitem target="./functions/help/SetTurnRatio.html">SetTurnRatio</indexitem> 
    59   <indexitem target="./functions/help/SpeedRegulation.html">SpeedRegulation</indexitem> 
    60   <indexitem target="./functions/help/StopMotor.html">StopMotor</indexitem> 
    61   <indexitem target="./functions/help/SwitchLamp.html">SwitchLamp</indexitem> 
    62   <indexitem target="./functions/help/SyncToMotor.html">SyncToMotor</indexitem> 
    63   <indexitem target="./functions/help/textOut.html">textOut</indexitem> 
    64   <indexitem target="./functions/help/tictic.html">tictic</indexitem> 
    65   <indexitem target="./functions/help/toctoc.html">toctoc</indexitem> 
    66   <indexitem target="./functions/help/WaitForMotor.html">WaitForMotor</indexitem> 
     5<indexitem target="./functions/help/COM_CloseNXT.html">COM_CloseNXT</indexitem> 
     6<indexitem target="./functions/help/COM_CollectPacket.html">COM_CollectPacket</indexitem> 
     7<indexitem target="./functions/help/COM_CreatePacket.html">COM_CreatePacket</indexitem> 
     8<indexitem target="./functions/help/COM_GetDefaultNXT.html">COM_GetDefaultNXT</indexitem> 
     9<indexitem target="./functions/help/COM_MakeBTConfigFile.html">COM_MakeBTConfigFile</indexitem> 
     10<indexitem target="./functions/help/COM_OpenNXT.html">COM_OpenNXT</indexitem> 
     11<indexitem target="./functions/help/COM_OpenNXTEx.html">COM_OpenNXTEx</indexitem> 
     12<indexitem target="./functions/help/COM_SendPacket.html">COM_SendPacket</indexitem> 
     13<indexitem target="./functions/help/COM_SetDefaultNXT.html">COM_SetDefaultNXT</indexitem> 
     14<indexitem target="./functions/help/CloseSensor.html">CloseSensor</indexitem> 
     15<indexitem target="./functions/help/Contents.html">Contents</indexitem> 
     16<indexitem target="./functions/help/DebugMode.html">DebugMode</indexitem> 
     17<indexitem target="./functions/help/GetLight.html">GetLight</indexitem> 
     18<indexitem target="./functions/help/GetMemoryCount.html">GetMemoryCount</indexitem> 
     19<indexitem target="./functions/help/GetMotor.html">GetMotor</indexitem> 
     20<indexitem target="./functions/help/GetMotorSettings.html">GetMotorSettings</indexitem> 
     21<indexitem target="./functions/help/GetSound.html">GetSound</indexitem> 
     22<indexitem target="./functions/help/GetSwitch.html">GetSwitch</indexitem> 
     23<indexitem target="./functions/help/GetUltrasonic.html">GetUltrasonic</indexitem> 
     24<indexitem target="./functions/help/MAP_GetCommModule.html">MAP_GetCommModule</indexitem> 
     25<indexitem target="./functions/help/MAP_GetInputModule.html">MAP_GetInputModule</indexitem> 
     26<indexitem target="./functions/help/MAP_GetOutputModule.html">MAP_GetOutputModule</indexitem> 
     27<indexitem target="./functions/help/MAP_GetSoundModule.html">MAP_GetSoundModule</indexitem> 
     28<indexitem target="./functions/help/MAP_GetUIModule.html">MAP_GetUIModule</indexitem> 
     29<indexitem target="./functions/help/MAP_SetOutputModule.html">MAP_SetOutputModule</indexitem> 
     30<indexitem target="./functions/help/MOTOR_A.html">MOTOR_A</indexitem> 
     31<indexitem target="./functions/help/MOTOR_B.html">MOTOR_B</indexitem> 
     32<indexitem target="./functions/help/MOTOR_C.html">MOTOR_C</indexitem> 
     33<indexitem target="./functions/help/MotorRotateAbs.html">MotorRotateAbs</indexitem> 
     34<indexitem target="./functions/help/NXT_GetBatteryLevel.html">NXT_GetBatteryLevel</indexitem> 
     35<indexitem target="./functions/help/NXT_GetFirmwareVersion.html">NXT_GetFirmwareVersion</indexitem> 
     36<indexitem target="./functions/help/NXT_GetInputValues.html">NXT_GetInputValues</indexitem> 
     37<indexitem target="./functions/help/NXT_GetOutputState.html">NXT_GetOutputState</indexitem> 
     38<indexitem target="./functions/help/NXT_LSGetStatus.html">NXT_LSGetStatus</indexitem> 
     39<indexitem target="./functions/help/NXT_LSRead.html">NXT_LSRead</indexitem> 
     40<indexitem target="./functions/help/NXT_LSWrite.html">NXT_LSWrite</indexitem> 
     41<indexitem target="./functions/help/NXT_PlaySoundFile.html">NXT_PlaySoundFile</indexitem> 
     42<indexitem target="./functions/help/NXT_PlayTone.html">NXT_PlayTone</indexitem> 
     43<indexitem target="./functions/help/NXT_ReadIOMap.html">NXT_ReadIOMap</indexitem> 
     44<indexitem target="./functions/help/NXT_ResetInputScaledValue.html">NXT_ResetInputScaledValue</indexitem> 
     45<indexitem target="./functions/help/NXT_ResetMotorPosition.html">NXT_ResetMotorPosition</indexitem> 
     46<indexitem target="./functions/help/NXT_SendKeepAlive.html">NXT_SendKeepAlive</indexitem> 
     47<indexitem target="./functions/help/NXT_SetBrickName.html">NXT_SetBrickName</indexitem> 
     48<indexitem target="./functions/help/NXT_SetInputMode.html">NXT_SetInputMode</indexitem> 
     49<indexitem target="./functions/help/NXT_SetOutputState.html">NXT_SetOutputState</indexitem> 
     50<indexitem target="./functions/help/NXT_StartProgram.html">NXT_StartProgram</indexitem> 
     51<indexitem target="./functions/help/NXT_StopProgram.html">NXT_StopProgram</indexitem> 
     52<indexitem target="./functions/help/NXT_StopSoundPlayback.html">NXT_StopSoundPlayback</indexitem> 
     53<indexitem target="./functions/help/NXT_WriteIOMap.html">NXT_WriteIOMap</indexitem> 
     54<indexitem target="./functions/help/OpenLight.html">OpenLight</indexitem> 
     55<indexitem target="./functions/help/OpenSound.html">OpenSound</indexitem> 
     56<indexitem target="./functions/help/OpenSwitch.html">OpenSwitch</indexitem> 
     57<indexitem target="./functions/help/OpenUltrasonic.html">OpenUltrasonic</indexitem> 
     58<indexitem target="./functions/help/ResetMotorAngle.html">ResetMotorAngle</indexitem> 
     59<indexitem target="./functions/help/SENSOR_1.html">SENSOR_1</indexitem> 
     60<indexitem target="./functions/help/SENSOR_2.html">SENSOR_2</indexitem> 
     61<indexitem target="./functions/help/SENSOR_3.html">SENSOR_3</indexitem> 
     62<indexitem target="./functions/help/SENSOR_4.html">SENSOR_4</indexitem> 
     63<indexitem target="./functions/help/SendMotorSettings.html">SendMotorSettings</indexitem> 
     64<indexitem target="./functions/help/SetAngleLimit.html">SetAngleLimit</indexitem> 
     65<indexitem target="./functions/help/SetMemoryCount.html">SetMemoryCount</indexitem> 
     66<indexitem target="./functions/help/SetMotor.html">SetMotor</indexitem> 
     67<indexitem target="./functions/help/SetPower.html">SetPower</indexitem> 
     68<indexitem target="./functions/help/SetRampMode.html">SetRampMode</indexitem> 
     69<indexitem target="./functions/help/SetTurnRatio.html">SetTurnRatio</indexitem> 
     70<indexitem target="./functions/help/SpeedRegulation.html">SpeedRegulation</indexitem> 
     71<indexitem target="./functions/help/StopMotor.html">StopMotor</indexitem> 
     72<indexitem target="./functions/help/SwitchLamp.html">SwitchLamp</indexitem> 
     73<indexitem target="./functions/help/SyncToMotor.html">SyncToMotor</indexitem> 
     74<indexitem target="./functions/help/USGetSnapshotResults.html">USGetSnapshotResults</indexitem> 
     75<indexitem target="./functions/help/USMakeSnapshot.html">USMakeSnapshot</indexitem> 
     76<indexitem target="./functions/help/WaitForMotor.html">WaitForMotor</indexitem> 
     77<indexitem target="./functions/help/checkStatusByte.html">checkStatusByte</indexitem> 
     78<indexitem target="./functions/help/readFromIniFile.html">readFromIniFile</indexitem> 
     79<indexitem target="./functions/help/textOut.html">textOut</indexitem> 
     80<indexitem target="./functions/help/tictic.html">tictic</indexitem> 
     81<indexitem target="./functions/help/toctoc.html">toctoc</indexitem> 
    6782</index> 
  • branches/atorf/RWTHMindstormsNXT/doc/helptoc.xml

    r3 r254  
    5353  <tocitem target="./functions/categories.html" image="$toolbox/matlab/icons/reficon.gif">Functions - By Category</tocitem> 
    5454  <tocitem target="./functions/abc.html" image="$toolbox/matlab/icons/reficon.gif">Functions - Alphabetical List</tocitem> 
    55   <tocitem target="./functions/FunctionsOverview.html" image="$toolbox/matlab/icons/reficon.gif">Functions - Overview</tocitem>   
     55  <tocitem target="./functions/ToolboxVer2Guidelines.html" image="$toolbox/matlab/icons/reficon.gif">Functions - Guideline for new v2.00 features</tocitem>   
    5656  <tocitem target="./functions/CommandLayers.html" image="$toolbox/matlab/icons/reficon.gif">Functions - Command Layers</tocitem> 
    5757   
     
    6565   
    6666  <!-- Demos --> 
     67  <!-- 
    6768  <tocitem target="./demos/watchAnalogSensor_gui.html" image="$toolbox/matlab/icons/figureicon.gif">Watch Analog Sensor GUI</tocitem> 
    6869  <tocitem target="./demos/watchMotorState_gui.html" image="$toolbox/matlab/icons/figureicon.gif">Watch Motor State GUI</tocitem> 
     70  --> 
    6971   
    7072  <!-- Web Pages --> 
    7173  <tocitem target="./webpages.html" image="$toolbox/matlab/icons/webicon.gif">Web Pages 
    7274    <tocitem target="http://www.mindstorms.rwth-aachen.de" image="$toolbox/matlab/icons/webicon.gif">RWTH - Mindstorms NXT Toolbox - Official Web Page</tocitem> 
    73     <tocitem target="http://www.lfb.rwth-aachen.de/de/lehre/ws07/mindstorms.html" image="$toolbox/matlab/icons/webicon.gif">RWTH Project - MATLAB meets LEGO Mindstorms -</tocitem> 
     75    <tocitem target="http://www.lfb.rwth-aachen.de/mindstorms.html" image="$toolbox/matlab/icons/webicon.gif">RWTH Project - MATLAB meets LEGO Mindstorms -</tocitem> 
    7476    <tocitem target="http://www.lfb.rwth-aachen.de/en" image="$toolbox/matlab/icons/webicon.gif">RWTH - Institute of Imaging and Computer Vision</tocitem> 
    7577    <tocitem target="http://www.rwth-aachen.de" image="$toolbox/matlab/icons/webicon.gif">RWTH Aachen University</tocitem> 
  • branches/atorf/RWTHMindstormsNXT/doc/programming/programming_robots.html

    r3 r254  
    1010<h1>Programming Robots</h1> 
    1111<hr> 
     12<h4>Warning - Information in this section might still be from version 1.00 and hence be outdated!</h4> 
    1213 
    1314After a Mindstorms NXT robot is constructed and built, its behavior should be programmed. Therefore the following sections describe the RWTH - Mindstorms NXT Toolbox commands and give program design tips. 
  • branches/atorf/RWTHMindstormsNXT/doc/release.html

    r3 r254  
    1010<h1>Release Notes &amp; Version History</h1> 
    1111<hr> 
    12 <h2>RWTH - Mindstorms NXT Toolbox v1.00</h2> 
    13 <ul> 
    14   <li><b>New Features:</b></li> 
    15   <ul> 
    16     <li>Extended and updated toolbox documentation.</li> 
    17     <li>Functions features based on modules release-1.00  (January 22nd, 2008)</li> 
    18     <ul> 
    19       <li><b>Features added:</b></li> 
    20       <ul> 
    21         <li>Warning- and Error-identifiers for all warnings and errors</li> 
    22                 <li>Contents.m (Toolbox and version identification)</li> 
    23                 <li>Performance improvements in various private lowlevel functions</li> 
    24       </ul> 
    25           <li><b>Features changed:</b></li> 
    26           <ul> 
    27         <li>readFromIniFile.m (completely new rewritten code, more reliable, better understandable, GPL license)</li> 
    28                 <li>Changed, improved and added lots of comments</li> 
    29                 <li>Changed default Bluetooth parameters to lower (i.e. faster) values</li> 
    30                 <li>New version naming scheme: x.yy, where x = major version (ensuring backwards compatibility) and yy = release number, e.g. 1.01 
    31       </ul> 
    32       <li><b>Bugs fixed:</b></li> 
    33     </ul> 
    34   </ul> 
    35   <li>January 24th, 2008</li> 
    36 </ul> 
     12<h2>RWTH - Mindstorms NXT Toolbox version 2.00beta</h2> 
     13<ul> 
     14  <li><b>New Features:</b></li> 
     15  <ul> 
     16    <li>Added support for USB communication to the NXT brick (for both Windows and Linux systems):<br> 
     17                Performance about 10 times faster than with Bluetooth communication.</li> 
     18        <li>Restructured communication layer: New functions for Bluetooth and USB communication.</li> 
     19        <li>Full support for multiple NXTs from one program, mixed connections via Bluetooth and USB are supported.</li> 
     20        <li>New NXT-handle holds useful information about the currently connected device.</li> 
     21        <li>Added "snapshot mode" for ultrasonic sensor: Send single pings and record multiple echos.<br> 
     22            (See functions OpenUltrasonic, USMakeSnapshot, and USGetSnapshotResults)</li> 
     23        <li>Added support for I/O Map Module access of NXT internal registers: See MAP-functions.</li> 
     24        <li>New function DebugMode for easier access to debug messages generated by textOut.</li> 
     25  </ul> 
     26  <li><b>Bug fixes and improvements:</b></li> 
     27  <ul> 
     28        <li>Performance improvement (roughly factor 10) of lowlevel functions wordbytes2dec and dec2wordbytes.</li> 
     29        <li>Fixed a minor bug in SpeedRegulation that occured when working with value 255 for all motors.</li> 
     30        <li>Added and rewrote some internal helper / lowlevel functions.</li> 
     31        <li>Added and rewrote some error / warning messages.</li> 
     32  </ul> 
     33  <li><b>Files removed:</b></li> 
     34  <ul> 
     35        <li>Old BT-functions (Bluetooth) have now been replaced by COM-Functions that also support USB-connections.</li> 
     36        <li>Removed some private lowlevel functions that were not needed anymore.</li> 
     37  </ul> 
     38  <li><b>Known bugs and limitations:</b></li> 
     39  <ul> 
     40        <li>Current documentation might be outdated (still from version 1.00 at various places).</li> 
     41        <li>Programs working with toolbox version 1.00 are not working out of the box with version 2.00beta. The code for opening 
     42            and closing connections to the NXT brick has to be updated.</li> 
     43        <li>System functions, especially the new I/O Map Module functions, do not work with USB-connections in Windows.</li> 
     44        <li>Under heavy load / small intervals between successive sensor polls (when using USB connections), the NXT might send 
     45        an error message back to the host computer, leading to a warning. This was not reproducable realiably.</li> 
     46        <li>Old limitations from version 1.00 regarding hardware compatibility and problems with various Bluetooth adapters still apply.</li> 
     47  </ul> 
     48   
     49  <li>July 17th, 2008</li> 
     50</ul> 
     51 
    3752 
    3853<br> 
     
    4560    info =  
    4661       Name: 'RWTH - Mindstorms NXT Toolbox' 
    47     Version: '1.00' 
     62    Version: '2.00beta' 
    4863    Release: '' 
    49        Date: '24-Jan-2008' 
     64       Date: '17-Jul-2008' 
    5065</pre> 
    5166If your application requires a certain toolbox release, you can use this command to ensure the requested version is present: 
     
    5873<br> 
    5974 
    60  
    6175<hr> 
    6276<h2>Version History</h2> 
     77 
     78 
     79<h3>RWTH - Mindstorms NXT Toolbox v1.00</h3> 
     80<ul> 
     81  <li><b>New Features:</b></li> 
     82  <ul> 
     83    <li>Extended and updated toolbox documentation.</li> 
     84    <li>Functions features based on modules release-1.00  (January 22nd, 2008)</li> 
     85    <ul> 
     86      <li><b>Features added:</b></li> 
     87      <ul> 
     88        <li>Warning- and Error-identifiers for all warnings and errors</li> 
     89                <li>Contents.m (Toolbox and version identification)</li> 
     90                <li>Performance improvements in various private lowlevel functions</li> 
     91      </ul> 
     92          <li><b>Features changed:</b></li> 
     93          <ul> 
     94        <li>readFromIniFile.m (completely new rewritten code, more reliable, better understandable, GPL license)</li> 
     95                <li>Changed, improved and added lots of comments</li> 
     96                <li>Changed default Bluetooth parameters to lower (i.e. faster) values</li> 
     97                <li>New version naming scheme: x.yy, where x = major version (ensuring backwards compatibility) and yy = release number, e.g. 1.01 
     98      </ul> 
     99      <li><b>Bugs fixed:</b></li> 
     100    </ul> 
     101  </ul> 
     102  <li>January 24th, 2008</li> 
     103</ul> 
    63104 
    64105<h3>RWTH - Mindstorms NXT Toolbox v0.3</h3> 
  • branches/atorf/RWTHMindstormsNXT/doc/start/requirements.html

    r3 r254  
    1818  <li>LEGO<SUP>&reg;</SUP> Mindstorms NXT firmware v1.05 (recommended)</li> 
    1919  <li>Bluetooth 2.0 adapter recommended model by LEGO<SUP>&reg;</SUP> (e.g. AVM BlueFRITZ! USB) supporting the serial port profile (SPP)</li> 
     20  <li>USB cable and LEGO Mindstorms NXT Fantom USB Driver for Windows (http://mindstorms.lego.com/support/updates/) or libusb library for Linux</li> 
    2021</ul> 
    2122 
  • branches/atorf/RWTHMindstormsNXT/doc/webpages.html

    r3 r254  
    1313<ul> 
    1414  <li><a href="http://www.mindstorms.rwth-aachen.de">RWTH - Mindstorms NXT Toolbox - Official Web Page</a></li> 
    15   <li><a href="http://www.lfb.rwth-aachen.de/de/lehre/ws07/mindstorms.html">RWTH Aachen University Student Project - MATLAB meets LEGO Mindstorms -</a></li> 
    16   <li><a href="http://www.rwth-aachen.de">RWTH - Institute of Imaging and Computer Vision</a></li> 
     15  <li><a href="http://www.lfb.rwth-aachen.de/mindstorms">RWTH Aachen University First Semester Student Project - MATLAB meets LEGO Mindstorms -</a></li> 
     16  <li><a href="http://www.lfb.rwth-aachen.de">RWTH - Institute of Imaging and Computer Vision</a></li> 
    1717  <li><a href="http://www.rwth-aachen.de">RWTH Aachen University</a></li> 
    1818  <li><a href="http://www.mindstorms.com">LEGO Mindstorms NXT- Official Webpage</a></li> 
  • branches/atorf/RWTHMindstormsNXT/info.xml

    r3 r254  
    1313 
    1414 
     15<!--  
    1516<listitem> 
    16 <label>Watch Analog Sensor GUI</label> 
    17 <callback>GUI_WatchAnalogSensor</callback> 
     17<label>Watch Sensor GUI</label> 
     18<callback>GUI_WatchSensor</callback> 
    1819<icon>$toolbox/matlab/icons/figureicon.gif</icon> 
    1920</listitem> 
     
    2425<icon>$toolbox/matlab/icons/figureicon.gif</icon> 
    2526</listitem> 
     27--> 
    2628 
    2729<listitem> 
     
    3941<listitem> 
    4042  <label>RWTH Project - MATLAB meets LEGO Mindstorms -</label> 
    41   <callback>web http://www.lfb.rwth-aachen.de/de/lehre/ws07/mindstorms.html -browser;</callback> 
     43  <callback>web http://www.lfb.rwth-aachen.de/mindstorms -browser;</callback> 
    4244  <icon>$toolbox/matlab/icons/webicon.gif</icon> 
    4345</listitem>