Changeset 700

Show
Ignore:
Timestamp:
07/17/09 16:05:15 (4 years ago)
Author:
atorf
Message:
Location:
branches/version-3.00/mfiles/@NXTMotor
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/version-3.00/mfiles/@NXTMotor/NXTMotor.m

    r699 r700  
    4848% Limitations  
    4949%   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'|, 
    5151%   stopping the bot (either via the motor object's function |Stop| or via 
    5252%   the command |StopMotor|) will always result in a "hard stop" (as if you had 
    5353%   called |Stop('brake')|), even if the parameter of the stop-command was 
    54 %   "off" (indicating a soft stop into coast mode). There is no workaround 
    55 %   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'|, 
    5656%   in this case the stop-parameters "brake" or "off" will be interpreted 
    5757%   as expected). 
     
    244244            else 
    245245                error('MATLAB:RWTHMindstormsNXT:InvalidActionAtTachoLimit',... 
    246                     'ActionAtTachoLimit must be a boolean.'); 
     246                    'ActionAtTachoLimit must be either ''Coast'' or ''Brake''.'); 
    247247            end 
    248248        end 
  • branches/version-3.00/mfiles/@NXTMotor/SendToNXT.m

    r699 r700  
    1818% 
    1919% Limitations 
    20 % 
    21 %   This function has a built-in waiting-period. A pause of 75ms will be 
    22 %   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. 
    2420% 
    2521%   If you send a command to the NXT without waiting for the previous motor