| | Re: RIS 1.0 vs 1.5: which more "desirable"?
|
|
(...) Sorry, should have said the command console, which does use the VB stuff, and also (of course), sending anything yourself from VB... (25 years ago, 12-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: RIS 1.0 vs 1.5: which more "desirable"?
|
|
(...) That's not true. Neither NQC nor LegOS require any vbx files. (25 years ago, 12-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Implementing Finite State Machines
|
|
Dave, I like the idea of teaching how to solve certain problems both with multiple threads and with a Finite State Machine. Adding "switch" would be great! Personally I think that a plain 'C' FSM using switch can be made to look very clear if (...) (25 years ago, 12-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: RIS 1.0 vs 1.5: which more "desirable"?
|
|
(...) The problem is that 1.5, does not have the vbx file to allow these to work. You have to get this from a version 1 system. (...) 1.5, adds quite a few useful pieces, but loses a few others. Having '1' upgraded, gives you the best of both (...) (25 years ago, 11-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Implementing Finite State Machines
|
|
(...) [snip] (...) FSMs are a boon in our behavioural robotics projects. If you have read the Rod Brooks papers, he uses them to implement subsumptive architectures in his "radical" robots. I have used them a LOT in my Stamp II robots as the only (...) (25 years ago, 11-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Implementing Finite State Machines
|
|
(...) Adding a switch statement to NQC would certainly help make implementation easier...I'll see if I can work it into the next release. Actually, I've been somewhat surprised by the general lack of needing FSMs in my own Mindstorms programming. I (...) (25 years ago, 11-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | firmdl3 doesn't work
|
|
firmdl3 doesn't work for me. Normally the rcx shows numbers up to 24 or 48, then counts back up very quickly, then after a while the program quits.There was only once where it might've worked. I also tried slow, but that stops right after mode=slow. (...) (25 years ago, 11-Dec-99, to lugnet.robotics.rcx.legos)
|
|
| | Re: Implementing Finite State Machines
|
|
Vlad, The Finite State Machine is a good subject for people to consider in robotics, especially in coding the typical 'looping forever' Rcx applications. Lots of regular 'C' FSM's are implemented with a State variable and "switch" statements, or (...) (25 years ago, 11-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: LegOS 0.2.2 on Win95 (almost)
|
|
That's exactly what i did: egcs 1.1.2 with Mumit Khan's patches for windows and Markus' patch for enhanced RCX interrupt support. I'll get instructions on getting LegOS 0.2.2 to work on Win95, along with a binary of the compiler and the diffs for (...) (25 years ago, 10-Dec-99, to lugnet.robotics.rcx.legos)
|
|
| | Re: LegOS 0.2.2 on Win95 (almost)
|
|
No! No! I mean, yes, do try it again (someone), just not with 2.9.5- there have been reported problems with 2.9.5's treatment of assembler. Rebuild it with 1.1.2 + patch- that is known to work. Then let me know- I'll host it for you. -Luis (...) (...) (25 years ago, 10-Dec-99, to lugnet.robotics.rcx.legos)
|
|
| | Re: LegOS 0.2.2 on Win95
|
|
Well, in the meantime, i built one on WinNT. The build always failed on Win95. Tried Canadian cross on Linux and i too gave up in frustration. But now that i have one built, i'll put it up on a webpage tomorrow. First, i'm gonna check the files it (...) (25 years ago, 10-Dec-99, to lugnet.robotics.rcx.legos)
|
|
| | chaning the host address in LNP
|
|
OK. The initial stuff I have done with the Java interface to LNP just addresses different "ports" to the host address 0. Each of the RCX's on the Lego Network Protocol network had host addredss 0 and port 1,2,3,4 depending on which brick they were (...) (25 years ago, 10-Dec-99, to lugnet.robotics.rcx.legos)
|
|
| | Re: LegOS 0.2.2 on Win95 (almost)
|
|
Peter Van der Beken wrote in message ... [snip] (...) from (...) . Yes, the compiler I built doesn't have the patch - it's also egcs 1.1.2 rather than gcc-2.95.2. This isn't going to change quickly because unfortunately I don't have access to a (...) (25 years ago, 10-Dec-99, to lugnet.robotics.rcx.legos)
|
|
| | Re: LNP collision detection Bug found and fixed
|
|
(...) it is already defined this way... indeed it looks like egcs for h8300 treats char as unsigned by default. look at the following test proggy... char ch; void showbug(void) { if (ch < 1) ch=-2; } ... and the disassembled code (...) (...) (25 years ago, 10-Dec-99, to lugnet.robotics.rcx.legos)
|
|
| | Re: "No reply from RCX" with nqc...
|
|
(...) thank you (and bob fay) for your two responses. i have a sneaking suspicion that bob was right on with the curious battery problem. i opened my tower battery case and "re-seated" the battery. (and i confirmed it *was* in the proper (...) (25 years ago, 9-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: rotation sensors in legOS 0.2.2
|
|
(...) I'm pretty sure that the battery-power thing is not legOS specific- over the summer, I noticed that at low battery the raw values themselves increase (weird- I'd expect a decrease) and that throws off the sensor detection. Presumably (...) (25 years ago, 9-Dec-99, to lugnet.robotics.rcx.legos)
|
|
| | Re: "No reply from RCX" with nqc...
|
|
(...) Try this: nqc -v -raw 10 and then also this (substituting the right filename) nqc -v -firmware <filename> and post the results. The "-v" option turns on some logging that may help us figure out what is wrong. (...) The firmware file is (...) (25 years ago, 9-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: "No reply from RCX" with nqc...
|
|
I had a similar problem and it was caused by the 9 Volt battery in the tower. You don't mention the green light in the tower. Is it changing brightness while you are downloading? It should be a steady light. I cannot find the name of the firmware (...) (25 years ago, 9-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | "No reply from RCX" with nqc...
|
|
i just purchased the mindstorm RIS set... now i am trying to get the firmware on it. i dont have windows (thank god), so i am trying to get the firmware onto the rcx with ncq. upon trying to do anything with rcx (rcx -near, rcx -firmware..) i am (...) (25 years ago, 9-Dec-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: LNP collision detection Bug found and fixed
|
|
(...) It shouldn't matter if it does. More likely, it seems to me, is that TX_COLL is defined like this: #define TX_COLL -1 in which case, the offending statement becomes: tx_state=-1; which is old-style for: tx_state-=1; (should generate a (...) (25 years ago, 9-Dec-99, to lugnet.robotics.rcx.legos)
|