Changeset 260
- Timestamp:
- 09/11/08 19:29:08 (5 years ago)
- Location:
- branches/atorf/RWTHMindstormsNXT
- Files:
-
- 5 modified
-
COM_CollectPacket.m (modified) (2 diffs)
-
README (modified) (1 diff)
-
README.txt (modified) (1 diff)
-
SetAngleLimit.m (modified) (1 diff)
-
private/checkHandleStruct.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/atorf/RWTHMindstormsNXT/COM_CollectPacket.m
r258 r260 365 365 366 366 %% Initalize Variables 367 cmd = 0; statusbyte = 1; content = []; 367 % for explanation on values, see above 368 cmd = 255; statusbyte = 1; content = []; 368 369 369 370 % hardcode reply-byte, needed later down. … … 432 433 433 434 %% Initalize Variables 434 type = 0; cmd = 0; statusbyte = 1; content = []; 435 % for explanation on values, see above 436 type = 0; cmd = 255; statusbyte = 1; content = []; 435 437 436 438 %% Retrieve data -
branches/atorf/RWTHMindstormsNXT/README
r254 r260 62 62 The the command "bluetooth-applet --singleton" can be run from the console. After this, the script 63 63 "btconnect" should work. 64 If you get the error message "Can't connect RFCOMM socket: Permission denied", try to remove the paired 65 device inside the bluetooth-applet to force a new authorization 64 66 65 67 -
branches/atorf/RWTHMindstormsNXT/README.txt
r254 r260 62 62 The the command "bluetooth-applet --singleton" can be run from the console. After this, the script 63 63 "btconnect" should work. 64 If you get the error message "Can't connect RFCOMM socket: Permission denied", try to remove the paired 65 device inside the bluetooth-applet to force a new authorization. 64 66 65 67 -
branches/atorf/RWTHMindstormsNXT/SetAngleLimit.m
r123 r260 8 8 % |SetAngleLimit(limt)| sets the angle |limit| in degrees for the current motor, which is set by 9 9 % function |SetMotor|. This setting takes only affect with the next |SendMotorSettings| command. 10 % 11 % Use |SetAngleLimit(0)| to deactivate this limit (hence the motor will run forever). 10 12 % 11 13 % Note: -
branches/atorf/RWTHMindstormsNXT/private/checkHandleStruct.m
r136 r260 49 49 valid = false; 50 50 try 51 if isstruct(h) && h.Connected() 51 %NOTE: optimized, old version waS: 52 %if isstruct(h) && h.Connected() 53 if h.Connected() 52 54 if ~isempty(h.CreationTime) && ~isempty(h.Handle) 53 55 if h.OSValue == 1 % Windows
