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 / *7130 (-20)
  Re: Float and int
 
(...) For most brick projects I can think of, it is. If you want to travel your robot around, you will have to deal with sin, cos, tan and square root. First thing you can do is working with tables to avoid "on the fly" sin calculation. Second, you (...) (22 years ago, 30-Dec-02, to lugnet.robotics.rcx.legos)
 
  RE: Float and int
 
(...) I'm doing a seminar at BricksWest on fixed point notation and simple algorithms for square root, trig, etc for BrickOS and pbForth users. The focus will be on the mechanics of the algorithms, the actual code implementation will be a "exercise (...) (22 years ago, 30-Dec-02, to lugnet.robotics.rcx.legos)
 
  Re: Float and int
 
(...) Mabie Fixed Point is an answer. I dont know how it works but I have a book that suggests that a decent Fixed Point library can be faster than Floating Point if there isnt an FPU available. (22 years ago, 30-Dec-02, to lugnet.robotics.rcx.legos)
 
  Re: Float and int
 
(...) You should look in the gnu gcc compiler documentation for this. Float support is not OS but compiler specific. As I recall, gcc uses IEEE float format, the specification should be found somewhere in the net. But doing float with the brick is (...) (22 years ago, 30-Dec-02, to lugnet.robotics.rcx.legos)
 
  Re: Float and int
 
(...) int is 16 bits, big endian, signed. It goes from -32768 to 32767. unsigned int goes from 0 to 65535. char is 8, long is 32, long long is 64, with the standard limits. Floats and doubles are emulated in software, as the H8/300 processor has no (...) (22 years ago, 30-Dec-02, to lugnet.robotics.rcx.legos)
 
  Float and int
 
Does anyone know what the maximum and minimum size of integer which can be stored is? Likewise, what is the floating point accuracy of BrickOS for variables of type "float" and "double" (is there such thing in BrickOS?) ? Both of these questions (...) (22 years ago, 29-Dec-02, to lugnet.robotics.rcx.legos)
 
  NQC for BeOS
 
Hi, I've uploaded my port of NQC 2.4.r3 to the BeOS. You can find it here: (URL) looking for help with the USB driver, anyone can help? Regards Gabriele Biffi (22 years ago, 29-Dec-02, to lugnet.robotics.rcx.nqc)
 
  Transmitting time USB vs serial
 
Hello, I use lejos 2.1.0 and legousbtower 0.52 from the lejos distribution. I measured the transmitting time of an Int from PC to RCX with the attached programs and got the following result: 1. single integer (LED at the tower is off before pressing (...) (22 years ago, 28-Dec-02, to lugnet.robotics.rcx.java)
 
  Re: RCX/Spybotics/Scout communication
 
(...) Spybotics uses a new IR protocol for communication between Spybotics devices, but the IR is also has user-configurable and can send RCX-style messages. Here is a sample program that sends messages from Spybotics to an RCX (or Scout): (URL) (...) (22 years ago, 26-Dec-02, to lugnet.robotics.spybotics, lugnet.robotics.rcx, lugnet.robotics.scout)
 
  Re: RCX/Spybotics/Scout communication
 
(...) With the latest release of Brixcc, you have the ability to control the spybot. I sent commands to the spybot from Bricxx, but havent' gotten to the point of actually sending commands from the RCX to the Spybot--been a little busy lately. That (...) (22 years ago, 24-Dec-02, to lugnet.robotics.spybotics, lugnet.robotics.rcx, lugnet.robotics.scout)
 
  Re: RCX/Spybotics/Scout communication
 
(...) I'm no expert here, but I hate to see questions go unanswered. I believe you can use the same NQC commands to send messages to and from the spybot as used in the standard RCX. (22 years ago, 24-Dec-02, to lugnet.robotics.spybotics, lugnet.robotics.rcx, lugnet.robotics.scout)
 
  RCX/Spybotics/Scout communication
 
Having read the messages in the various newsgoups, I must admit I'm a little puzzled. I've seen a lot of discussion about IR communication, but I don't think I have a straight answer. I have an RCX, a Scout, and some Spybotics under the Christmas (...) (22 years ago, 23-Dec-02, to lugnet.robotics.spybotics, lugnet.robotics.rcx, lugnet.robotics.scout)
 
  USB IR tower support in Lunix
 
I have seen some past messages in this forum regarding the support for the USB IR tower in the Linux version of BrickOS. However, it seems that nothing have been added recently to the CVS tree at SourceForge. Is somebody working on this project (...) (22 years ago, 20-Dec-02, to lugnet.robotics.rcx.legos)
 
  Re: New Version of leJOS
 
(...) (URL) (22 years ago, 20-Dec-02, to lugnet.robotics.rcx)
 
  Re: linker segmentation fault
 
(...) Workaround attached. Brickos maintainers: Any comments? Maybe put something vaguely like it into CVS? Max. (22 years ago, 17-Dec-02, to lugnet.robotics.rcx.legos)
 
  linker segmentation fault
 
I'm running Red Hat Linux 8.0 (gcc 3.2 and binutils 2.13). Whe I try to compile the demos that come with brickOS 0.2.6.09, using binutils 2.12.91 for the cross-linker and gcc 3.2.1 as cross-compiler, the linker crashes. Here is the output of the (...) (22 years ago, 17-Dec-02, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS Threading...
 
(...) To tell you the truth, I'm not exactly sure how the BrickOS PWM works, but I do know the standard RCX PWM simply switches the motors between ON and FLOAT, which will not slow the motor down, when it switches from a high power, to a lower (...) (22 years ago, 16-Dec-02, to lugnet.robotics.rcx.legos)
 
  Re: sys_time (long post)
 
Only a suggestion, In any processor architecture (with or without disabling or recursive interrupts) when I need to read timers with more than 1 single instruction I do the following: Read the timer (both low and high value) until I get 2 times the (...) (22 years ago, 16-Dec-02, to lugnet.robotics.rcx.legos)
 
  Re: sys_time (long post)
 
(...) I went back and read... I was missing something apparently... Note to self... do not skim. -Kekoa (22 years ago, 13-Dec-02, to lugnet.robotics.rcx.legos)
 
  Re: sys_time (long post)
 
Does the H8 let an interrupt interrupt an interrupt? (Or at least the interrupts that matter in this case?) You two might want to check on that. It would seem the code is safe if the answer to the first question is no... ? Maybe I'm missing (...) (22 years ago, 13-Dec-02, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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