Changeset 700
- Timestamp:
- 07/17/09 16:05:15 (4 years ago)
- Location:
- branches/version-3.00/mfiles/@NXTMotor
- Files:
-
- 2 modified
-
NXTMotor.m (modified) (2 diffs)
-
SendToNXT.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-3.00/mfiles/@NXTMotor/NXTMotor.m
r699 r700 48 48 % Limitations 49 49 % When driving with 2 motors (i.e. in sync-mode), a |TachoLimit = 0| 50 % (which means driving forever) and with |ActionAtTachoLimit = true|,50 % (which means driving forever) and with |ActionAtTachoLimit = 'Brake'|, 51 51 % stopping the bot (either via the motor object's function |Stop| or via 52 52 % the command |StopMotor|) will always result in a "hard stop" (as if you had 53 53 % called |Stop('brake')|), even if the parameter of the stop-command was 54 % "off"(indicating a soft stop into coast mode). There is no workaround55 % to this (apart from using the command with |ActionAtTachoLimit = false|,54 % 'off' (indicating a soft stop into coast mode). There is no workaround 55 % to this (apart from using the command with |ActionAtTachoLimit = 'Coast'|, 56 56 % in this case the stop-parameters "brake" or "off" will be interpreted 57 57 % as expected). … … 244 244 else 245 245 error('MATLAB:RWTHMindstormsNXT:InvalidActionAtTachoLimit',... 246 'ActionAtTachoLimit must be a boolean.');246 'ActionAtTachoLimit must be either ''Coast'' or ''Brake''.'); 247 247 end 248 248 end -
branches/version-3.00/mfiles/@NXTMotor/SendToNXT.m
r699 r700 18 18 % 19 19 % Limitations 20 %21 % This function has a built-in waiting-period. A pause of 75ms will be22 % made both before and after sending the actual command to the NXT,23 % resulting in a total execution time of about 150ms for this command.24 20 % 25 21 % If you send a command to the NXT without waiting for the previous motor
