To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *4760 (-20)
  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: LVI install problems
 
Had an error "C:\Program Files\JavaSoft\JRE\1...1\Classes" is not a directory, but I just created a directory there and now it's working fine. Thanks!! (23 years ago, 24-May-01, to lugnet.robotics.rcx.java)
 
  Re: LVI install problems
 
At least it runs. :-) That error means that for some reason install could not create the directory .lvi in your windows directory. Check to see if you are able to create a folder in the Windows directory by hand, as this just calls "standard" java (...) (23 years ago, 24-May-01, to lugnet.robotics.rcx.java)
 
  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)
 
  Win2000 and SP2
 
Has anybody had problem running Robolab2 on a win2000 PC with SP2 installed?? I've recently tried to install Robolab on a PC at work and found that on loading it fails with an error message, I'll take care to remember the message if this rings a (...) (23 years ago, 24-May-01, to lugnet.robotics.rcx.robolab)
 
  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)
 
  Re: LVI install problems
 
(...) Well, that seemed to do something. It finds install.class, but I get the error message "Error creating .lvi directory" Thanks for your help! -- Steve (ps my Learning Java book arrives from amazon.com today, so I've got to get this working! :O (...) (23 years ago, 24-May-01, to lugnet.robotics.rcx.java)
 
  Re: LVI install problems
 
Try setting the classpath to point to the place where the install class is. I have this problem a few times, and most of the time I can't get it to work. :-( Most of the time people just have to experiment as very few ever seem to report having this (...) (23 years ago, 24-May-01, to lugnet.robotics.rcx.java)
 
  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: LVI install problems
 
(...) Yes, this is with the compiled classes. Trying from the source didn't work either. Could it have something to do with the CLASSPATH variable? I used the command set CLASSPATH=C:\Steve\L...\tools.jar before trying "java install" from the (...) (23 years ago, 23-May-01, to lugnet.robotics.rcx.java)
 
  Re: LVI install problems
 
Which version did you download? I assume you got the compiled classes? If you downloaded the source, make sure all the classes are compiled, and that you are in the directory where the install class is. Andy (...) -- See my Visual Interface for (...) (23 years ago, 23-May-01, to lugnet.robotics.rcx.java)
 
  LVI install problems
 
Given that I'm new to Java this is probably a silly question, but when I try to install LVI I get the error: C:\Steve\Lego\lejos\lvi>java install Exception in thread "main" java.lang.NoClassDefFoundError: install Java2 and LeJOS seem to be working (...) (23 years ago, 23-May-01, to lugnet.robotics.rcx.java)
 
  Re: Wishlist leJOS
 
(...) You could use the JavaComm package, look on the Java website for it. It should not be that hard to set up the port, write to it, and then get replies back. Look at the other Java projects mentioned on (URL) to see how communication is done. I (...) (23 years ago, 23-May-01, to lugnet.robotics.rcx.java)
 
  Re: Wishlist leJOS
 
I (another newbie) also would like to upload data from the RCX to a Windows PC. It looks like adding the data to a StringBuffer would be a good way to save it, but I have not much of a clue about how to write (1) the Java that runs on the PC to (...) (23 years ago, 23-May-01, to lugnet.robotics.rcx.java)
 
  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: RcxCC Font problem
 
(...) That worked. Thanks a lot. (...) No problem for me. I only use my font in regular style. Marc Klein Marc Klein A Mindstorms fan. (23 years ago, 22-May-01, to lugnet.robotics.rcx.nqc)
 
  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)
 
  New Version: MacNQC 2.2.3
 
Hi All, I just put up version 2.2.3 of MacNQC. The changes are: * Added a menu to select which program slot the code is to be downloaded into. * Added command in the editor to shift text left or right on tab space. * Fixed a memory corruption (...) (23 years ago, 22-May-01, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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