Changeset 994
- Timestamp:
- 10/19/11 10:26:40 (19 months ago)
- Location:
- trunk/demos
- Files:
-
- 6 modified
-
Example_1_PlayTone.m (modified) (1 diff)
-
Example_2_ReadSoundSensor.m (modified) (1 diff)
-
Example_3_DriveAroundTable_MotorClass.m (modified) (1 diff)
-
Example_4_NextGenerationUltrasound.m (modified) (1 diff)
-
Example_5_MoveUpAndDown.m (modified) (1 diff)
-
Example_6_MultiNxt.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/Example_1_PlayTone.m
r971 r994 11 11 % verify that the RWTH - Mindstorms NXT toolbox is installed. 12 12 if verLessThan('RWTHMindstormsNXT', '2.00'); 13 error('This program requires the RWTH - Mindstorms NXT Toolbox version 2.00 or greater. Go to http://www.mindstorms.rwth-aachen.de and follow the installation instructions!'); 13 error(strcat('This program requires the RWTH - Mindstorms NXT Toolbox ' ... 14 ,'version 2.00 or greater. Go to http://www.mindstorms.rwth-aachen.de ' ... 15 ,'and follow the installation instructions!')); 14 16 end%if 15 17 -
trunk/demos/Example_2_ReadSoundSensor.m
r971 r994 11 11 % verify that the RWTH - Mindstorms NXT toolbox is installed. 12 12 if verLessThan('RWTHMindstormsNXT', '2.00'); 13 error('This program requires the RWTH - Mindstorms NXT Toolbox version 2.00 or greater. Go to http://www.mindstorms.rwth-aachen.de and follow the installation instructions!'); 13 error(strcat('This program requires the RWTH - Mindstorms NXT Toolbox ' ... 14 ,'version 2.00 or greater. Go to http://www.mindstorms.rwth-aachen.de' ... 15 ,' and follow the installation instructions!')); 14 16 end%if 15 17 -
trunk/demos/Example_3_DriveAroundTable_MotorClass.m
r971 r994 13 13 % verify that the RWTH - Mindstorms NXT toolbox is installed. 14 14 if verLessThan('RWTHMindstormsNXT', '3.00'); 15 error('This program requires the RWTH - Mindstorms NXT Toolbox version 3.00 or greater. Go to http://www.mindstorms.rwth-aachen.de and follow the installation instructions!'); 15 error(strcat('This program requires the RWTH - Mindstorms NXT Toolbox ' ... 16 ,'version 3.00 or greater. Go to http://www.mindstorms.rwth-aachen.de ' ... 17 ,'and follow the installation instructions!')); 16 18 end%if 17 19 -
trunk/demos/Example_4_NextGenerationUltrasound.m
r971 r994 18 18 % verify that the RWTH - Mindstorms NXT toolbox is installed. 19 19 if verLessThan('RWTHMindstormsNXT', '2.00'); 20 error('This program requires the RWTH - Mindstorms NXT Toolbox version 3.00 or greater. Go to http://www.mindstorms.rwth-aachen.de and follow the installation instructions!'); 20 error(strcat('This program requires the RWTH - Mindstorms NXT Toolbox ' ... 21 ,'version 3.00 or greater. Go to http://www.mindstorms.rwth-aachen.de ' ... 22 ,'and follow the installation instructions!')); 21 23 end%if 22 24 -
trunk/demos/Example_5_MoveUpAndDown.m
r824 r994 35 35 % verify that the RWTH - Mindstorms NXT toolbox is installed. 36 36 if verLessThan('RWTHMindstormsNXT', '4.01'); 37 error('This program requires the RWTH - Mindstorms NXT Toolbox version 4.01 or greater. Go to http://www.mindstorms.rwth-aachen.de and follow the installation instructions!'); 37 error(strcat('This program requires the RWTH - Mindstorms NXT Toolbox ' ... 38 ,'version 4.01 or greater. Go to http://www.mindstorms.rwth-aachen.de ' ... 39 ,'and follow the installation instructions!')); 38 40 end%if 39 41 -
trunk/demos/Example_6_MultiNxt.m
r991 r994 15 15 %% verify that the RWTH - Mindstorms NXT toolbox is installed. 16 16 if verLessThan('RWTHMindstormsNXT', '4.05'); 17 error('This program requires the RWTH - Mindstorms NXT Toolbox version 4.05 or greater. Go to http://www.mindstorms.rwth-aachen.de and follow the installation instructions!'); 17 error(strcat('This program requires the RWTH - Mindstorms NXT Toolbox ' ... 18 ,'version 4.05 or greater. Go to http://www.mindstorms.rwth-aachen.de '... 19 ,'and follow the installation instructions!')); 18 20 end%if 19 21 … … 37 39 NXT2.MAC = ''; 38 40 NXT2.connectionMode = 'Bluetooth'; 39 NXT2.bluetoothIni = 'bluetooth1.ini'; % use information from ini file (serial port information, Name or/and MAC of NXT (using Bluetooth object from Intstrument Control Toolbox >= v3.0)) 41 NXT2.bluetoothIni = 'bluetooth1.ini'; 42 % use information from ini file (serial port information, Name or/and MAC 43 % of NXT(using Bluetooth object from Intstrument Control Toolbox >= v3.0)) 40 44 41 45 % NXT 3 (Bluetooth) 42 46 % Open NXT with given information from "bluetooth2.ini" and the given MAC 43 47 % via Bluetooth 44 NXT3.MAC = '0016530E7EDE'; %this information will only be used if you have a Windows 64Bit system and the "Intstrument Control Toolbox" >= v3.0. 48 NXT3.MAC = '0016530E7EDE'; 49 %this information will only be used if you have a Windows 64Bit system 50 %and the "Intstrument Control Toolbox" >= v3.0. 45 51 NXT3.connectionMode = 'Bluetooth'; 46 NXT3.bluetoothIni = 'bluetooth2.ini'; % use information from ini file (serial port information, Name or/and MAC of NXT (using Bluetooth object from Intstrument Control Toolbox >= v3.0)) 52 NXT3.bluetoothIni = 'bluetooth2.ini'; 53 % use information from ini file (serial port information, Name or/and MAC 54 %of NXT (using Bluetooth object from Intstrument Control Toolbox >= v3.0)) 47 55 48 56 % NXT 4 ... add as many as you want!
