| | RE: Extending IR communications
|
|
Orient both RCXs so that they are pointing towards the ceiling. Set the RCX transmit power level to high (default is probably low power); there's probably some Lejos function to do this -- all it requires is setting one bit in an I/O register to 1. (...) (19 years ago, 5-Aug-05, to lugnet.robotics.rcx)
|
|
| | Re: Extending IR communications
|
|
(...) Have you tried a mirror? Infrared light IS light ! (19 years ago, 5-Aug-05, to lugnet.robotics.rcx)
|
|
| | Re: Errors compiling threads
|
|
(...) Hi Steve, Thanks, you were right about the compiler being ok. I changed "pid_t" to "tid_t" and got the thread statements working correctly. Finally, by consulting BrickOS documentation I found out the new syntax for the old "sys_time" command (...) (19 years ago, 4-Aug-05, to lugnet.robotics.rcx.legos)
|
|
| | Re: ScriptEd - Question
|
|
(...) Check the line before that. Your code says: // direction_ // direction of monorail const delay1=1500 // minimum stop time in station (10 seconds) const delay2=3000 // maximum stop time in station (30 seconds) // I'm not sure exactly what (...) (19 years ago, 4-Aug-05, to lugnet.robotics.rcx)
|
|
| | Re: ScriptEd - Question
|
|
(...) Hi Steve, I see the message apearing in the status bar, but it's an error! Error is : Error (0xe0050801) from VPBrick compiler The error apears in following line: const delay1 = 1000 // minimum stop time in station (10 seconds) The word (...) (19 years ago, 4-Aug-05, to lugnet.robotics.rcx)
|
|
| | Extending IR communications
|
|
Greetings helpful companions. Now that I've buttered you up, let's move on... I've built a robotic arm using my RCX 1.0 brick. I'm controlling it via my computer with LeJOS (not important, I think). What my issue arises is if my arm rotates, the IR (...) (19 years ago, 4-Aug-05, to lugnet.robotics.rcx)
|
|
| | Re: Errors compiling threads
|
|
(...) I don't think it's a problem with the compiler. There have been changes to the BrickOS code over the years. I know the value sys_time has been replaced with the function Get_sys_up_time(). You should be able to add this line at the beginning (...) (19 years ago, 4-Aug-05, to lugnet.robotics.rcx.legos)
|
|
| | Errors compiling threads
|
|
Hi all, I am new to C programming but I was able to build the C programming/compiler enviroment with cygwin and brickos 2.6.10 following the instructions at (URL) Later I upgraded to brickOS 0.9.0 and the compiler seems to be working fine most of (...) (19 years ago, 4-Aug-05, to lugnet.robotics.rcx.legos)
|
|
| | Button events with NQC
|
|
Hallo, I am new to developing software for the RCX using NQC. I have some experience using Java programming with Lejos. My Question: Is there a way to react to button events, and how? What I mean is, that I would linke to ask, wheater the e.g. (...) (19 years ago, 3-Aug-05, to lugnet.robotics.rcx.nqc)
|
|
| | Re: ScriptEd - Question
|
|
(...) When you click the download button (or press Ctrl+D) it should give you a message in the status bar, at the bottom of the screen. Steve (19 years ago, 3-Aug-05, to lugnet.robotics.rcx)
|