| | Communication between RCX's with BrickOS
|
|
Hello Everyone, I have been working on a dual RCX robot for quite some time now, and have just recently upgraded to BrickOS. At first I attempted to used the LNP communication functions, such as lnp_adressing_write. I am not an expert, and I got (...) (22 years ago, 2-Jan-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: USB IR tower support in Lunix
|
|
(...) Good! (...) I posted via the web-interface, I guess one needs a javascript browser for that. I like the navigation of the webinterface within threads. (...) Ah, very good! Does it also support the high-speed mode ? (...) Sounds like a good (...) (22 years ago, 2-Jan-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: USB IR tower support in Lunix
|
|
(...) I just got the USB tower to work. At least, for downloading the BrickOS.srec kernel. I think I have to hack some more today to find a way to let 'dll' work with the /dev/tower0 device. I used the devicedriver at (URL) (22 years ago, 2-Jan-03, to lugnet.robotics.rcx.legos)
|
|
| | 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)
|
|
| | 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)
|