Changeset 144
- Timestamp:
- 07/13/08 12:01:02 (5 years ago)
- Location:
- branches/atorf/RWTHMindstormsNXT
- Files:
-
- 3 modified
-
DebugMode.m (modified) (1 diff)
-
doc/functions/CommandLayers.html (modified) (6 diffs)
-
isdebug.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/atorf/RWTHMindstormsNXT/DebugMode.m
r114 r144 1 1 function varargout = DebugMode(varargin) 2 % 3 % 4 % Syntax 5 % || 6 % 7 % Description 8 % 9 % Example 10 % 11 % See also: 12 % 13 % Signature 14 % Author: Linus Atorf (see AUTHORS) 15 % Date: 2008/07/04 16 % Copyright: 2007-2008, RWTH Aachen University 17 % 18 ; 19 % 20 % *********************************************************************************************** 21 % * This file is part of the RWTH - Mindstorms NXT Toolbox. * 22 % * * 23 % * The RWTH - Mindstorms NXT Toolbox is free software: you can redistribute it and/or modify * 24 % * it under the terms of the GNU General Public License as published by the Free Software * 25 % * Foundation, either version 3 of the License, or (at your option) any later version. * 26 % * * 27 % * The RWTH - Mindstorms NXT Toolbox is distributed in the hope that it will be useful, * 28 % * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * 29 % * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * 30 % * * 31 % * You should have received a copy of the GNU General Public License along with the * 32 % * RWTH - Mindstorms NXT Toolbox. If not, see <http://www.gnu.org/licenses/>. * 33 % *********************************************************************************************** 34 2 35 global DisableScreenOut 3 36 -
branches/atorf/RWTHMindstormsNXT/doc/functions/CommandLayers.html
r3 r144 31 31 <td valign="top"><b>General</b></td> 32 32 <td valign="top"><b>Bluetooth</b></td> 33 </tr> 33 </tr> 34 34 35 35 <tr bgcolor="#B5F1B4"> … … 39 39 <td valign="top"> </td> 40 40 <td valign="top"> </td> 41 <td valign="top"><b> BT_MakeConfigFile</b></td>42 </tr> 41 <td valign="top"><b>COM_MakeBTConfigFile</b></td> 42 </tr> 43 43 44 44 <tr bgcolor="#FFFF80"> … … 47 47 <td valign="top"><b>SendMotorSettings</b><br>SetMotor<br>SetPower<br>SetAngleLimit<br>SetRampMode<br>SpeedRegulation<br>SyncToMotor<br><br><b>StopMotor</b><br><br><b>GetMotorSettings</b><br>GetMotor<br><br><b>ResetMotorAngle</b><br><br>SetMemoryCount<br>GetMemoryCount</td> 48 48 <td valign="top"><b>OpenLight<br>OpenSound<br>OpenSwitch<br>OpenUltrasonic<br><br>GetLight<br>GetSound<br>GetSwitch<br>GetUltrasonic<br><br>CloseSensor</b></td> 49 <td valign="top">readFromIniFile< /td>50 <td valign="top"><b> BT_OpenHandle</b><br><br><b>BT_CloseHandle</b><br>BT_CloseAllHandles<br><br></td>51 </tr> 49 <td valign="top">readFromIniFile<br><br>MAP_GetCommModule<br>MAP_GetInputModule<br>MAP_GetOutputModule<br>MAP_GetSoundModule<br>MAP_GetUIModule<br><br>MAP_SetOutputModule</td> 50 <td valign="top"><b>COM_OpenNXT</b><br>COM_OpenNXTEx<br><br><b>COM_CloseNXT</b><br></td> 51 </tr> 52 52 53 53 <tr bgcolor="#F5BB80"> … … 56 56 <td valign="top"><b>NXT_SetOutputState<br><br>NXT_GetOutputState<br><br>NXT_ResetMotorPosition</b></td> 57 57 <td valign="top"><b>NXT_SetInputMode<br><br>NXT_GetInputValues</b><br><br>NXT_ResetInputScaledValue<br><br>NXT_LSRead<br>NXT_LSWrite<br>NXT_LSGetStatus</td> 58 <td valign="top"><b>NXT_PlayTone</b><br>NXT_ SendKeepAlive<br>NXT_GetBatteryLevel<br><br>NXT_StartProgram<br>NXT_StopProgram<br><br>NXT_SetBrickName<br></td>59 <td valign="top"> BT_CreatePacket<br>BT_SendPacket<br>BT_CollectPacket<br><br>BT_SetDefaultHandle<br>BT_GetDefaultHandle<br></td>60 </tr> 58 <td valign="top"><b>NXT_PlayTone</b><br>NXT_PlaySoundFile<br>NXT_StopSoundPlayback<br><br>NXT_StartProgram<br>NXT_StopProgram<br><br>NXT_SendKeepAlive<br>NXT_GetBatteryLevel<br>NXT_GetFirmwareVersion<br>NXT_SetBrickName<br><br>NXT_ReadIOMap<br>NXT_WriteIOMap<br></td> 59 <td valign="top">COM_CreatePacket<br>COM_SendPacket<br>COM_CollectPacket<br><br>COM_SetDefaultNXT<br>COM_GetDefaultNXT<br></td> 60 </tr> 61 61 62 62 <tr bgcolor="#FF80FF"> … … 65 65 <td valign="top">MOTOR_A<br>MOTOR_B<br>MOTOR_C<br><br><i>byte2outputmode<br>byte2regmode<br>byte2runstate<br>outputmode2byte<br>regmode2byte<br>runstate2byte</i><br><br><i>initializeGlobalMotorStateVar<br>resetMotorRegulation</i></td> 66 66 <td valign="top">SENSOR_1<br>SENSOR_2<br>SENSOR_3<br>SENSOR_4<br><br><i>byte2sensortype<br>byte2sensormode<br>sensortype2byte<br>sensormode2byte</i></td> 67 <td valign="top"> textOut<br><br>tictic (o)<br>toctoc (o)<br><br><i>dec2wordbytes<br>name2commandbytes<br>commandbyte2name<br>wordbytes2dec</i></td>68 <td valign="top">checkStatusByte< /td>67 <td valign="top">DebugMode<br><i>isdebug</i><br><br>textOut<br><br>tictic (o)<br>toctoc (o)<br><br><i>dec2wordbytes<br>name2commandbytes<br>commandbyte2name<br>wordbytes2dec</i></td> 68 <td valign="top">checkStatusByte<br><br><i>createHandleStruct</i><br><i>checkHandleStruct</i><br><br><i>getLibusbErrorString</i><br><i>getVISAErrorString</i><br><i>getReplyLengthFromCmdByte</i></td> 69 69 </tr> 70 70 … … 72 72 <td colspan="6" >legend: NXT_* = NXT Direct commands without any limitations (mapped to the LEGO direct command documentation)<br> 73 73 74 BT_* = Functions related to the Bluetooth connection<br> 74 COM_* = Functions related to the NXT communication<br> 75 76 MAP_* = Functions related to the NXT module maps<br> 75 77 76 78 <b>bold</b> = Main funcions or main group functions<br> -
branches/atorf/RWTHMindstormsNXT/isdebug.m
r112 r144 1 1 function ret = isdebug 2 % 3 % 4 % Syntax 5 % || 6 % 7 % Description 8 % 9 % Example 10 % 11 % See also: 12 % 13 % Signature 14 % Author: Linus Atorf (see AUTHORS) 15 % Date: 2008/07/04 16 % Copyright: 2007-2008, RWTH Aachen University 17 % 18 ; 19 % 20 % *********************************************************************************************** 21 % * This file is part of the RWTH - Mindstorms NXT Toolbox. * 22 % * * 23 % * The RWTH - Mindstorms NXT Toolbox is free software: you can redistribute it and/or modify * 24 % * it under the terms of the GNU General Public License as published by the Free Software * 25 % * Foundation, either version 3 of the License, or (at your option) any later version. * 26 % * * 27 % * The RWTH - Mindstorms NXT Toolbox is distributed in the hope that it will be useful, * 28 % * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * 29 % * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * 30 % * * 31 % * You should have received a copy of the GNU General Public License along with the * 32 % * RWTH - Mindstorms NXT Toolbox. If not, see <http://www.gnu.org/licenses/>. * 33 % *********************************************************************************************** 2 34 3 35 %careful with empty var?
