|
| | Re: Interesting BrickOS Timing Results
|
| (...) I forgot to mention... This is *almost* the same as moving some of the subsystem code into a seperate high priority task. For example, LCD refresh code is executed in the 1ms timer ISR. It really doesn't need to be in the ISR. It can do it's (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | Re: Opening COM port error
|
| (...) Tyler, Happy to be of help! Regarding Garbage Collection, I'm not usually one to criticise without being able to suggest a better alternative. In this case, I think most GC systems could be improved by mimicking the concept of "smart pointers" (...) (21 years ago, 30-Nov-03, to lugnet.robotics.rcx.java, lugnet.off-topic.geek)
| |
| long (score: 1.401) |
|
|
| long (score: 1.401) |
|
| | Re: legOS Network Protocol
|
| (...) From what little I remember about the Lego protocol, here are some thoughts. *) On reception, some Lego packets may contain data which look like the beginning of a legOS native protocol frame. Most likely, the checksum would fail (once enough (...) (25 years ago, 20-Apr-99, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | Re: converting Mac to PC and the Lego remote
|
| Yes I am just converting programs and no the language is not the same regardless of the enviornment. On a PC wait = until on a Mac, void does not compile, and several others. I recently received The Unofficial Guide to LEGO® MINDSTORMS™ Robots By (...) (25 years ago, 2-Dec-99, to lugnet.robotics.rcx.nqc)
| |
| long (score: 1.401) |
|
| | Re: rotation sensor mystery solved?
|
| (...) which (...) I added code to assume that 2 step transitions were 2 steps in the last known direction of travel. The results were MUCH worse than just ignoring those steps, as the current code does. This seems to suggest that the 2-step (...) (25 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | sys_time not working
|
| Hi i install successfully brickOS-0.2.6.10 under Win2000 without any problems and ran successfully "helloworld.lx" I created one first elementary small program using the sys_time function. The problem is that it doesn't compile correctly. The (...) (21 years ago, 5-Aug-03, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
|
| long (score: 1.401) |
|
| | Re: Memory question
|
| (...) Most functions in NQC are in-line functions, so in a sense they probably *are* in main(). One thing I do is place all my initalization code (as much as possible) into inline functions. That way, when the compilier runs through, it can allocate (...) (19 years ago, 13-Dec-05, to lugnet.robotics.rcx.nqc)
| |
| long (score: 1.401) |
|
|
| long (score: 1.401) |
|
|
| long (score: 1.401) |
|
| | Re: NQC listing mnemonics
|
| In article (...) IMHO, there are some cases where extra features are actually cost justified, but in many cases they are added because the short term cost is deceptively low. Even something as simple as an extra command line switch carries with it a (...) (25 years ago, 4-Dec-99, to lugnet.robotics.rcx.nqc)
| |
| long (score: 1.401) |
|
| | Re: Second source for DCP sensors
|
| (...) were (...) Cory Smith sent the following email in response to the above posting: I saw your posting on the rcx newsgroup. What are DCP sensors? Where can I find out about the ones Lego offers? Thanks. Cory Smith I think this question is best (...) (25 years ago, 25-Feb-00, to lugnet.robotics.rcx.robolab)
| |
| long (score: 1.401) |
|
| | Re: TIME STAMP for a LNP distributed robot
|
| Hi, The sys_time variable is the basic timekeeper for BrickOS. It is a 32-bit integer that is incremented every millisecond by the kernel. In older versions of the kernel you could access the variable directly, however, in 0.2.6.10 and later you (...) (21 years ago, 7-May-03, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | Rotary electrical coupling
|
| I have been working (when I should have been Working) on two things which may be of general interest. The first is a rotary electrical coupling, which allows you to pass 4 wires through a rotary joint. I built the prototype tonight, and I think it (...) (25 years ago, 2-Oct-99, to lugnet.robotics, lugnet.robotics.rcx)
| |
| long (score: 1.401) |
|
| | useful battery program
|
| Here's a short program to display the battery voltage. The get_battery_mv() interface might be useful in the kernel itself. Would it be appropriate for the kernel to turn on the low battery indicator as well? The A/D converter that the RCX uses to (...) (25 years ago, 12-Jan-00, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | Re: PRGM button - am I missing something?
|
| (...) From getopt(3) on BSD and other systems: When all options have been processed (i.e., up to the first non-option argument), getopt() returns -1. However, from the Linux manpage: By default, getopt() permutes the contents of argv as it scans, so (...) (25 years ago, 12-Jan-00, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
| | We need a FULL install of everything!
|
| In response to your e-mail message: I realize it's *technically* better from a logistics standpoint to require people to download everything seperately, so they'll get the "absolute" latest version. However, I think that you have to give a little (...) (24 years ago, 18-May-00, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |
|
|
| long (score: 1.401) |
|
| | Very strange problems
|
| Hi! I am experiencing some very strange problems when programming my RCX. Sometimes (too often) the RCX just locks up when I run my program and I have to remove the batteries and reload the firmware. I have now found that very small changes in my (...) (24 years ago, 21-May-00, to lugnet.robotics.rcx.legos)
| |
| long (score: 1.401) |