Changes between Version 49 and Version 50 of Development
- Timestamp:
- 12/07/09 15:56:24 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Development
v49 v50 1 [[BR]] 2 [[BR]] 3 <!> '''Totally outdated page''' <!> 4 [[BR]] 5 [[BR]] 6 ---- 7 1 8 = Brainstorming & Further Concepts = 2 9 3 10 == Firmware == 4 * Try using a different firmware than official standard NXT, like LeJOS / NXC / RobotC? There are hints to more precise motor control (!TachoLimit problem potentially fixed in LeJOS) or better performance of direct commands / bluetooth transmission!11 * ./ Try using a different firmware than official standard NXT, like LeJOS / NXC / RobotC? There are hints to more precise motor control (!TachoLimit problem potentially fixed in LeJOS) or better performance of direct commands / bluetooth transmission! 5 12 6 13 7 14 == Communication == 8 * Check the MATLAB-Help for the command `readasync`. Can it help to reduce timeouts and lags? Can it be used for the above mentioned non-blocking functions?15 * (!) Check the MATLAB-Help for the command `readasync`. Can it help to reduce timeouts and lags? Can it be used for the above mentioned non-blocking functions? 9 16 10 17 11 18 === USB === 12 * /!\Add USB-Support, try to use as many existing BT-functions as possible (by using wrappers if necessary). Some code snippets, hints etc are collected on this temporary page: [wiki:USBStuff]19 * ./ Add USB-Support, try to use as many existing BT-functions as possible (by using wrappers if necessary). Some code snippets, hints etc are collected on this temporary page: [wiki:USBStuff] 13 20 14 21 15 22 === Bluetooth === 16 * Consider Bluetooth / serial port code from !MathWorks' NXT toolbox to reduce Bluetooth timeouts (try using option ''!NumRetries''?)23 * {*} (!) {*} Consider Bluetooth / serial port code from !MathWorks' NXT toolbox to reduce Bluetooth timeouts (try using option ''!NumRetries''?) 17 24 18 * The (sometimes optionally) passed Bluetooth-Handle (to functions) gets checked/validated far too often inside these functions. Checking/validating is only necessary at the lowest level, the other checks are a waste of performance...25 * ./ The (sometimes optionally) passed Bluetooth-Handle (to functions) gets checked/validated far too often inside these functions. Checking/validating is only necessary at the lowest level, the other checks are a waste of performance... 19 26 20 * Compatibility for multiple bluetooth handles / NXT connections at one time is not perfectly implemented: The settings !SendSendPause etc. are unique and global, and should be defined PER connection, not only once. Workaround: Disable those pauses by setting to 0.27 * ./ Compatibility for multiple bluetooth handles / NXT connections at one time is not perfectly implemented: The settings !SendSendPause etc. are unique and global, and should be defined PER connection, not only once. Workaround: Disable those pauses by setting to 0. 21 28 22 29 23 30 == Motor Control == 24 * Note: Apparently we CAN access the PID regulation directly, as this post suggests (http://forums.nxtasy.org/index.php?showtopic=2054&view=findpost&p=16463). Code-Sample:31 * ./ Note: Apparently we CAN access the PID regulation directly, as this post suggests (http://forums.nxtasy.org/index.php?showtopic=2054&view=findpost&p=16463). Code-Sample: 25 32 {{{ 26 33 def set_PID(motor,P,I,D): … … 33 40 }}} 34 41 35 * Note: John Hansen supported the module ids at http://news.lugnet.com/robotics/nxt/nxthacking/?n=14 to access the module directly, without request sequentially the modules[[BR]]42 * ./ Note: John Hansen supported the module ids at http://news.lugnet.com/robotics/nxt/nxthacking/?n=14 to access the module directly, without request sequentially the modules[[BR]] 36 43 The interpretation should be ''MSB'' '''PP TT CC FF''' ''LSB'' --> 0xPPTTCCFF[[BR]] 37 44 PP: identify programmer … … 54 61 /!\ As long as a new firmware update doesn't change this IDs, we are fine to use constants. 55 62 56 * Own tests and example programs "!DriveAlong" using the NXT-G software showed no different behaviour of the driving robot. The motors also switch into the coast mode after the defined rotation angle is set.63 * ./ Own tests and example programs "!DriveAlong" using the NXT-G software showed no different behaviour of the driving robot. The motors also switch into the coast mode after the defined rotation angle is set. 57 64 58 65 59 66 == Software Design == 60 * Split GET-Functions into REQUEST and COLLECT parts again, making it possible to do calculations inbetween. I.e. add possibility for non-blocking (asynchronous) functions, as known from many sockets implementations.67 * {X} Split GET-Functions into REQUEST and COLLECT parts again, making it possible to do calculations inbetween. I.e. add possibility for non-blocking (asynchronous) functions, as known from many sockets implementations. 61 68 62 * textOut anddec2hex are slow. String-handling is slow. What can be done? Consider various performance improvements, use the Profiler.69 * {x} textOut and ./ dec2hex are slow. String-handling is slow. What can be done? Consider various performance improvements, use the Profiler. 63 70 64 71 65 72 == Version Discussions == 66 * Proposal for new toolbox commands with USB support, discussion about changes for toolbox version 2.00, see here: [wiki:DiscussionRelease2.00] ''(16.5.2008)''73 * ./ Proposal for new toolbox commands with USB support, discussion about changes for toolbox version 2.00, see here: [wiki:DiscussionRelease2.00] ''(16.5.2008)'' 67 74 68 75 69 76 == Miscellaneous == 70 * Overview and comments about comparison between other solutions for MATLAB: Toolboxes from Chikamasa, The !MathWorks77 * (!) Overview and comments about comparison between other solutions for MATLAB: Toolboxes from Chikamasa, The !MathWorks 71 78 72 79 * This page provides a developer's notepad to discuss further concepts -> '''[wiki:FurtherConcepts Further Concepts (German)]'''
