| | Re: Communication with PC using NQC
|
|
(...) /Vlad (25 years ago, 9-Nov-99, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
|
|
| | Re: Communication with PC using NQC
|
|
(...) You might find the following helpful... (URL) again, you might not. jack j-perdue@tamu.edu (25 years ago, 9-Nov-99, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
|
|
| | RE: Long range IR mode.
|
|
<Range mode intro snipped> (...) I'd redefine it something like this....use upper case BASE @ HEX \ To keep from evaluating HEX every time... : RANGE_SET ( f -- ) \ non-zero is long, 0 is short >R FFB7 DUP C@ R> IF FFFE AND ELSE 0001 OR THEN SWAP C! (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx.pbforth)
|
|
| | "A cunning plan"
|
|
I am hoping someone has done some/all of this already... Aims: 1 To develop downloadable RCX code on the PC. 2 To develop immediate RCX code on the PC. 3 To run immediate code on the PC and the PalmPilot. 4 Spirit.ocx functionality. 5 IR comms to (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx.java)
|
|
| | JVM and spirit.ocx
|
|
Todd. Has anyone done much on this subject? I am looking at writing a class library to communicate/program the RCX from Java and I don't want to reinvent the wheel. I have seen some work on the net, but nothing definitive... Geoff (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx.java)
|
|
| | Re: Communication with PC using NQC
|
|
(...) Taking the example of the maze-walker, the PC software should be able to keep track of the position of the robot and direct it through the maze. (...) Yes, I looked at the code and it only needs a higher-level wrapper. (...) Yes, it does, (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
|
|
| | Re: Long range IR mode.
|
|
(...) Just scanned through Kekoka's excellent dissection of the ROM routines. Seems like system variable/register at address $ff7b contains the relevant Long range/Short range bit flag, ie. bit 0 toggles the IR range 0 = Long, 1 = Short. Could I (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx.pbforth)
|
|
| | Re: RCX motor voltage
|
|
(...) I am using the motors that came with the RCX. (...) Hmmm - do you propose to ensure the delay in the relay circuit or programmatically? If in the circuit, how? (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx)
|
|
| | Re: RCX motor voltage
|
|
Wes, relays would work pretty well. (Still, how much current do your motors draw???) The LEGO motors draw about .35 Amps (350 Milliamperes) You could connect two 5V coil relays , each with a diode in series with the coil, connected oppositely to (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx)
|
|
| | Re: Communication with PC using NQC
|
|
(...) Could you be more specific on "querying its state" and "high-level commands"? If you're willing to write custom C++ code, you can pretty much do whatever you want on top of the rcxlib stuff from the NQC source base. Its pretty easy to send (...) (25 years ago, 9-Nov-99, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
|