| | (canceled)
|
|
|
|
| | Re: Help with RCX.pm
|
|
(...) Aha! OK, sounds like the docs are out of sync with the code. IIRC, John renamed the module from RCX to LEGO::RCX a while back, which means that the new() constructor is actually now in the LEGO::RCX package and no longer in the RCX package. (...) (24 years ago, 14-Apr-00, to lugnet.robotics.rcx)
|
|
| | Re: Help with RCX.pm
|
|
"Todd Lehman" <lehman@javanet.com> schrieb im Newsbeitrag news:FsyM2E.KoA@lugnet.com... (...) i used the following: use RCX; $rcx = new RCX(); as described in the doc-file that comes with RCX.pm. thanks, Clemens (24 years ago, 14-Apr-00, to lugnet.robotics.rcx)
|
|
| | Re: Q: Determining state of outputs
|
|
(...) Yes, there is a 'data source' for motor status. I never bothered figuring it all out, so there isn't a defined API for it, but you can add it yourself: #define MotorStatus(motor) @(0x30000 + (motor)) use motor 0 for output A, 1 for B, 2 for C. (...) (24 years ago, 14-Apr-00, to lugnet.robotics.rcx.nqc) !
|
|
| | Re: Q: Determining state of outputs
|
|
(...) I'm not the expert on this but... I've been playing with firmware 2.0 and I think you can read the state of your sensors directly. (The same way you read the Battery level? Dave?) Hopefully Dave will answer you for sure. Dean -- Coin-Op's For (...) (24 years ago, 13-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | Q: Determining state of outputs
|
|
Hello everybody! For the building of my next robot an answer to the following question could be very helpful: Is there any possibility in NQC to get the state of an output (on, off, direction). While running a program I would like to control one (...) (24 years ago, 13-Apr-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Help with RCX.pm
|
|
(...) Clemens, What are you using to invoke the new() constructor? Are you using LEGO::RCX->new(...) or LEGO::RCX->new("LEGO::RCX", ...) or new LEGO::RCX(...) or something else? --Todd (24 years ago, 13-Apr-00, to lugnet.robotics.rcx)
|
|
| | (canceled)
|
|
|
|
| | Help with RCX.pm
|
|
when using the rcx.pm i only recieved the following error: "can't find method new in module rcx" it seems to me that perl finds the LEGO::RCX module but not its method "new". what am i missing? thanks for any suggestions! (24 years ago, 12-Apr-00, to lugnet.robotics.rcx)
|
|
| | Re: USB->Serial Converts and IR Tower
|
|
(...) downloaded the latest drivers (Intel based). Also obtained a good troubleshooting doc to determine whether the S9 is configured correctly. Will gladly email to any interested. Problem: Having trouble getting the IR tower to talk to the RCX. I (...) (24 years ago, 12-Apr-00, to lugnet.robotics, lugnet.robotics.rcx)
|