To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *1899 (-40)
  Re: problem with floating point numbers (legOS 0.2.5)
 
(...) You are the second person to report something like this, so there must be something wrong somewhere. I will take a closer look at this when I get a chance. I am busy until Tuesday though. I know I will forget, so keep e-mailing me until I fix (...) (23 years ago, 26-May-01, to lugnet.robotics.rcx.legos)
 
  Custom Firmware, IR Problems, and Dead RCXs (long)
 
The following information is my own opinion and not endorsed or verified in any way by LEGO. That being said, I think that now is the time to relate some experiences I've had over the past couple of months with my RCX and IR tower - and it boils (...) (23 years ago, 26-May-01, to lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth, lugnet.robotics.rcx.legos)
 
  problem with floating point numbers (legOS 0.2.5)
 
Hi Here are two programs I've compiled and downloaded into my RCX. The first one works fine whereas the second doesn't (no music). Since the only difference between them is the type of the variable "number", I'm worrying about the ability of the (...) (23 years ago, 25-May-01, to lugnet.robotics.rcx.legos)
 
  Re: modulo in legOS 2.4 ?
 
-----Original Message----- From: Ciaran Jessup <ciaranjessup@myrealbox.com> To: lugnet.robotics.rcx....lugnet.com <lugnet.robotics.rcx...ugnet.com> Date: 24. mai 2001 22:39 Subject: Re: modulo in legOS 2.4 ? (...) an (...) you (...) ah, i mean the (...) (23 years ago, 24-May-01, to lugnet.robotics.rcx.legos)
 
  Re: modulo in legOS 2.4 ?
 
do you mean 3mod3 = 0 or mod(-3)=mod(3)= 3 ? If you mean the first then you want the %age operator, otherwise you want an 'abs' function not sure if legOS supports this as doesn't support floats(entirely), but you can always write a quick (...) (23 years ago, 24-May-01, to lugnet.robotics.rcx.legos)
 
  RE: modulo in legOS 2.4 ?
 
Ummm, that would be the % operator in C, right? (...) (23 years ago, 24-May-01, to lugnet.robotics.rcx.legos)
 
  modulo in legOS 2.4 ?
 
hi all, just wonderin if there is such a thing as a modulo opperator in legOS 2.4 ? i checked the stdlib.h (which seems to be the place where the math functions are), but no luck. regards kenneth johansen kennethj@stud.cs.uit.no (23 years ago, 24-May-01, to lugnet.robotics.rcx.legos)
 
  C++ and linux HELP!!!
 
HI! I have the same problems as Vittorio's - we actually are working together :) - : the makefile.common in the legOS 0.2.5 version recall a g++ cross compiler instead of the cross version of gcc directly but among the tools provided there's only (...) (23 years ago, 24-May-01, to lugnet.robotics.rcx.legos)
 
  Re: Lego Camera and legOS
 
(...) IIRC, the identifier chip is different, so it returns a different ID, otheriwse it is a regular QuickCam. Change the driver so it recognizes the different chip, and it should work (at least this is what it seemed to be on the robotics mailing (...) (23 years ago, 22-May-01, to lugnet.robotics.rcx.legos)
 
  Re: Lego Camera and legOS
 
Hi, There are two versions of the Logitech QuickCam Express which use two different sensors and as far as I know, only one of them is supported by the alpha driver for Linux. I think that the Lego Cam (and your camera, maybe)uses the other sensor... (...) (23 years ago, 22-May-01, to lugnet.robotics.rcx.legos)
 
  Re: Lego Camera and legOS
 
Last I checked, the chip which the lego camera uses is unsupported under linux. I wrote up a short discussion of what I knew at the time here: (URL) is even less than I seem to remember knowing but hopefully the link there can be helpful. Luis (...) (...) (23 years ago, 22-May-01, to lugnet.robotics.rcx.legos)
 
  Re: Lego Camera and legOS
 
In lugnet.robotics.rcx.legos, Kenneth Johansen writes: . (...) AFAIK it is not possible yet. ISTR that the legocam is closely related to the Logitech QuickCam express and the project to develop drivers for the latter (look at (URL) ) will eventually (...) (23 years ago, 22-May-01, to lugnet.robotics.rcx.legos)
 
  Re: Lego Camera and legOS
 
(...) argg....forgot to start a new thread, hopefully you guys will read it anyways :) kenneth johansen kennethj@stud.cs.uit.no (23 years ago, 22-May-01, to lugnet.robotics.rcx.legos)
 
  Lego Camera and legOS
 
hi all, my supervisor, recently supplied me with a camera that is part of the "vision command" package. unfortunately (and naturally) it only comes with software for windoze. so i was wondering if theres anyone out there that has managed to use this (...) (23 years ago, 22-May-01, to lugnet.robotics.rcx.legos)
 
  R: c++
 
Thank you Pat! I should be able to make it go. I'll tell you the results in a couple of weeks, cause I have to finish another project on lnp first. I still don't understand much the unix community: if version 2.5 is to be patched anyway, why not (...) (23 years ago, 22-May-01, to lugnet.robotics.rcx.legos)
 
  cvs changes
 
Hi, I checked into the CVS repository some changes today. They include: A) a fix to util/dll-src/Makefile to reference ../../kernel/lnp.c, so a symbolic link or copy is not required. B) small changes to various makefiles to get c++ support working (...) (23 years ago, 21-May-01, to lugnet.robotics.rcx.legos)
 
  Re: c++
 
Hi, Sorry that I've been AWOL! Attached is a set of patches you can apply to the 2.5 distribution to clean up most of the make process. You will still have to correctly specify the TOOLPREFIX in Makefile.common, or via the make command line. You can (...) (23 years ago, 21-May-01, to lugnet.robotics.rcx.legos)
 
  c++
 
Is c++ supported in legOs2.5 ? We've been unable to compile even the demos! (I already posted about that) Please give us a voice! thanks Ciao, Vittorio (23 years ago, 20-May-01, to lugnet.robotics.rcx.legos)
 
  Trouble loading programs
 
Hi all, I'm new to legos and am having some problems loading programs. I have searched the news pages for my particular error and there are some that are close but not exactly. I hope someone can help because I am currently "dead in the water". Here (...) (23 years ago, 19-May-01, to lugnet.robotics.rcx.legos)
 
  Re: Floating ponts ??
 
(...) Exceptions to the 0th law: You are manipulating and comparing floating-point values you know are integers with a magnitude less than a million or two. You are manipulating and comparing values you know are integer multiples of some power of (...) (23 years ago, 17-May-01, to lugnet.robotics.rcx.legos)
 
  Re: Floating ponts ??
 
Hi there! (...) 0th law of computer science: NEVER use == on floats; it simply doesn't work as expected. In most cases a value cannot be exactly represented as a float variable; so MOST comparisons for equality WILL fail. (this is NOT an issue of (...) (23 years ago, 17-May-01, to lugnet.robotics.rcx.legos)
 
  Re: lnpd
 
Ah. Those links. I have asked Markus to move those a couple of times but he no longer responds to my emails. I'm afraid that until he does those links will remain in place (and remain quite dead.) Sorry... Luis (...) ---...--- "Nobody ever said that (...) (23 years ago, 16-May-01, to lugnet.robotics.rcx.legos)
 
  Re: lnpd
 
(...) This is old news, but I didn't find any answer to it while there are still two such links on (URL) the Doc section, the link to the HOWTO points to (URL) in the File section, the link to the Windows 9x/NT compiler points to (URL) (23 years ago, 16-May-01, to lugnet.robotics.rcx.legos)
 
  Re: permissions
 
(...) Thanks! But rather than do things for a single user I opted for: chmod 666 ttyS0 If I'm not mistaken, this will give every user access to Serial port 0 (comm 1). Since my system only uses comm 1 for the lego tower this seems like a safe thing (...) (23 years ago, 15-May-01, to lugnet.robotics.rcx.legos)
 
  Re: permissions
 
the following error as a user. [James@Sauron demo]$ ../util/dll helloworld.lx open: Permission denied opening tty: Permission denied To what directory or files does my user need permission? I tried using a find on tty to no avail. A little help? if (...) (23 years ago, 15-May-01, to lugnet.robotics.rcx.legos)
 
  permissions
 
Hello, The first thing I have ever installed on a *nix platform was legOS on my recently (last week) converted Redhat Linux PC. I didn't really know how this sort of thing is supposed to work, so I did the whole install as root. Of course after I (...) (23 years ago, 15-May-01, to lugnet.robotics.rcx.legos)
 
  Re: API changes
 
I agree with most of Luis statement. I've worked for three years in the embedded software development (for cars), and I think it's quite dangerous to have RCX functions with the same name that Unix ones, because they don't do the same thing. Using (...) (23 years ago, 14-May-01, to lugnet.robotics.rcx.legos)
 
  Re: API changes
 
I'm actually on my way to my baccalaureate ceremony right now, but I do want to say that I feel very strongly that API changes for the sake of API changes should not be checked in. The current API, while not always intuitive, is well documented and (...) (23 years ago, 12-May-01, to lugnet.robotics.rcx.legos)
 
  Re: API changes
 
(...) I don't imagine that these changes will increase memory usage much, since they are largely just re-working existing features. I will look into the memory usage before releasing, though. In fact, I think that after I redid the networking a bit (...) (23 years ago, 12-May-01, to lugnet.robotics.rcx.legos)
 
  Re: API changes
 
My only concern with these proposed changes is possible increased memory usage. Encapsulation, error reporting, thread synchronisation etc are nice; but with just 32k of RAM I would question whether these are appropriate for some applications. For (...) (23 years ago, 11-May-01, to lugnet.robotics.rcx.legos)
 
  Re: API changes
 
(...) These seems to me good ideas. Adding errno would also be useful. bye Bernardo New e-mail: dibbe@freestation.it (23 years ago, 10-May-01, to lugnet.robotics.rcx.legos)
 
  Re: new features
 
(...) I think it'll be very useful. (...) I worked on a reliable transport protocol written on top of LNP for my thesis a few months ago. It was my intention to make it available on the Internet, but I wasn't very happy with the implementation, (...) (23 years ago, 10-May-01, to lugnet.robotics.rcx.legos)
 
  API changes
 
In using legOS, I've found that many of the design decisions seem somewhat backwards, and I think that this is due to a desire to keep the interface as similar as possible to NQC. I was wondering what people would think about changing the core API (...) (23 years ago, 10-May-01, to lugnet.robotics.rcx.legos)
 
  new features
 
I just checked in a change to CVS which adds a new feature. Let me know if you have any problems with this: /* When no program is running, pressing the "view" button cycles through * a display of the amount of the amount of free memory (in decimal (...) (23 years ago, 10-May-01, to lugnet.robotics.rcx.legos)
 
  problems with legOS 0.2.5 and C++ compiling
 
due to makefile used in 0.2.5 version, when i try to make a c++ program it searches for h8300-hitachi-g++ but this executable cross compiler is not present in the file conataining gcc cross compiler and the other tools - i downloaded it from this (...) (23 years ago, 4-May-01, to lugnet.robotics.rcx.legos)
 
  Re: Floating ponts ??
 
(...) Double check the actual program you are test to make sure that you don't have: p = 0.4 /* Only one = */ This is the number one "c" typo and is easy to overlook Lester been there, done that (23 years ago, 4-May-01, to lugnet.robotics.rcx.legos)
 
  Re: Floating ponts ??
 
(...) I can't check this out now, but keep e-mailing me until I do. -Kekoa kekoa@graphics.stanford.edu (23 years ago, 4-May-01, to lugnet.robotics.rcx.legos)
 
  Floating ponts ??
 
Hello everybody I am writing a program that uses floats, but I have some problems. If I write /******/ float p; p = 0.3; if(p == 0.4) do something; /******/ The if statement evaluates to true. Is there anything special I have to do to use floats in (...) (23 years ago, 3-May-01, to lugnet.robotics.rcx.legos)
 
  RE: LegOS bug - firmware unlock string not below CC00h in some circumstances
 
(...) Argh! This is so typical of many embedded projects that I have seen go sour over the years. It's due to not using the linker to full advantage. In my firmware, I declare the string in its own .text section (you can do this in inline assembler (...) (23 years ago, 29-Apr-01, to lugnet.robotics.rcx.legos)
 
  LegOS bug - firmware unlock string not below CC00h in some circumstances
 
Just thought I'd better report this... Firmdl3 is unable to download very large statically linked programs (with a .text segment greater than 4c00h bytes). Unlike previous size related bugs, this is *not* caused by firmdl, but rather by kmain.c. (...) (23 years ago, 28-Apr-01, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more | 40 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR