| | Re: Setting LNP host address
|
|
(...) Why not allow all 4? 1. Have a build option that the variable is set to by default; 2. An option on firmdl3 over-rides this if required; 3. An option on dll over-rides this if required; 4. An API (macro or in-line sub) to set it from a user (...) (23 years ago, 24-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Setting LNP host address
|
|
At first, it seems logical that firmdl3 would be the best place to make the change. However, it was very easy to allow the Host ID to be changed at runtime. Whether changed by a user program or changed via the RCX buttons/lcd, it is easy enough to (...) (23 years ago, 24-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Code-examples, books and papers in C/C++ for legOS?
|
|
(...) The best I've seen (and I've not seen all material available) is still Luis Villa's work: his HOWTO at our site ((URL) and that which is published in the book "Extreme Mindstorms" ISBN: 1-893115-84-4 Another good source is the customized HOWTO (...) (23 years ago, 23-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Code-examples, books and papers in C/C++ for legOS?
|
|
(...) There are, of course, many mindstorms books out there. I see in them (I have purchased at least six of them) that the majority of code examples is in NQC. As you might know we are working on the next major release and in that context let me (...) (23 years ago, 23-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Setting LNP host address
|
|
(...) Joe Woolley prototyped the firmdl3 mods, I think, and has now a user program which can change the Id. This now makes 4 approaches we have to consider ;-) My thinking on firmdl3 use was that it is a direct replacement for compile time set that (...) (23 years ago, 23-May-02, to lugnet.robotics.rcx.legos)
|
|
| | RE: Code-examples, books and papers in C/C++ for legOS?
|
|
Hi, please post any programs to the group, or e-mail me as well. I am always interested in looking through example code, to see how others are doing things and to get new ideas. Thanks -----Original Message----- From: news-gateway@lugnet.com (...) (23 years ago, 22-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Code-examples, books and papers in C/C++ for legOS?
|
|
I am a swedish student that togheter with my colleague are working with legOS on a project: (URL) would welcome some suggestions about literature in C/C++ with legOS. Anything could be of interest. (23 years ago, 22-May-02, to lugnet.robotics.rcx.legos)
|
|
| | LegOS, lnpd, and networking
|
|
It seems to me that a lot of the discussion lately has been on networking multiple IR (infrared) clients using legOS. Is the IR tower using an ID? This would identify messages from the IR vs an RCX. Also could the addressing be extended to allow IP (...) (23 years ago, 21-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Setting LNP host address
|
|
I've experimented with a couple of choices which were relatively easy to implement. Let me know if we should keep any these: 1. You can choose to set the host address at build time with a command-line option to make. Example: make LNP_HOSTADDR=2 (...) (23 years ago, 20-May-02, to lugnet.robotics.rcx.legos)
|
|
| | lets drop exec
|
|
I'd like to make a suggestion and see what everyone thinks. I'd like us to drop our current thread interface (exec/kill) in favor of a pthead interface. Since theading entered legOS I've wondered why the exec style was adopted, the functionality of (...) (23 years ago, 20-May-02, to lugnet.robotics.rcx.legos)
|
|
| | lnpd and mandrake 8.2
|
|
Hi, I have install the last legOS and have install lnpd to. But i have a problem when i run an applcation lnptest for example : it don't work.... Here is the problem "lnp_init: Network is unreachable". I run lnpd with the command "lnpd --nolock (...) (23 years ago, 20-May-02, to lugnet.robotics, lugnet.robotics.rcx.legos)
|
|
| | new patch to modify LNP ID with util/dll
|
|
I've posted a patch at sourceforge which allows you to modify the RCX's LNP id using the util/dll program. This should make life easier for those of us using multiple RCXs and LNP. This patch applies to the current CVS head, post 0.2.6, though it (...) (23 years ago, 20-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: cygwin error
|
|
(...) what do i change and what PATH? (23 years ago, 18-May-02, to lugnet.robotics.rcx.legos)
|
|
| | RE: latest legOS strangeness
|
|
(...) Interesting question. I'll try this at home with my remote and RCX loaded with standard firmware. Anyway, that could only say that the remote control knows that it has to send a OFF (brake) cmd to the RCX when fwd and rev are pressed together, (...) (23 years ago, 17-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: cygwin error
|
|
(...) / (...) 1) gcc for the H8/300 can be called h8300-hms-gcc or h8300-hitachi-hms-gcc. You may need to edit legOS's Makefile.common 2) Is the h8300 gcc in the PATH? Max. (23 years ago, 17-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: latest legOS strangeness
|
|
(...) I may be wrong - 'my' RCX is actually my brother's, and is 3 hours drive away - but doesn't the remote control with the official firmware do float when buttons released, but brake if forward and reverse are pressed together? Max (23 years ago, 17-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: somewhat off topic, but...
|
|
I'm NOT biased because I DIDN'T write the thing... Forth is a wonderful language that has a proven track record. I don't use it in my job simply because management has never heard about it. I don't mean to imply that languages are chosen by (...) (23 years ago, 17-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: latest legOS strangeness
|
|
(...) is (...) Not really.. braking using the current generated by the motor (acting as a generator) once the power is removed from it. H-Bridge has what is called a break bit. The break bit simply shorts the two terminals on the motor together, (...) (23 years ago, 17-May-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: latest legOS strangeness
|
|
(...) Maybe make this selectable with a build option? The bad thing about brake is that it actually draws current (=reduces battery life) ROSCO (23 years ago, 17-May-02, to lugnet.robotics.rcx.legos)
|
|
| | cygwin error
|
|
i got this error while trying to setup legOS 0.2.6 i'm running windows XP scott@FAMILYCOMPUTER /legos-0.2.6 $ make depend for i in util lib boot demo ; do make - --unix NODEPS=yes -C $i depend || exit 2 ; done make[1]: Entering directory (...) (23 years ago, 16-May-02, to lugnet.robotics.rcx.legos)
|