 | | Respondre el missatge: Use of lnp_addressing_write() in an RCX program.
|
|
You must send the packet to port 0 of the destination. The dest address is conformed by the address in the upper 4 bits and the port in the lower 4 of the char. So if you put address = 6 you are saying -> host=0 port=6 and you must send to host=6, (...) (23 years ago, 27-Feb-04, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Sense and grab robot
|
|
(...) The light sensor that comes with the main set can easily tell the difference between a white and a black ball. I'm not sure how complex of a robot you are wanting your class to build, however, a small grabber on the front of a rover would be (...) (23 years ago, 26-Feb-04, to lugnet.robotics)
|
| |
 | | Re: Spurious bad readings from sensors
|
|
(...) Could it be noise getting into the analog power supply? If you're switching between brake and full power with the motor ports, it seems possible that some spikes could get through to the A/D converter. You might be able to test this by (...) (23 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Sense and grab robot
|
|
(...) Take a look at Mario and Giulio Ferrari's home pages at (URL) and (URL) progects here may be too complex, but I hope that will help. Aus (23 years ago, 25-Feb-04, to lugnet.robotics)
|
| |
 | | Re: Spurious bad readings from sensors
|
|
Hi Mark, Thanks for the help. In Steve's legway code he reads from LIGHT_1 and LIGHT_3 (even if there is no sensor hooked to LIGHT_3). When I was running his code with instrumentation for both sensors, I had nothing hooked to SENSOR_3, and I still (...) (23 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
|
| |
 | | USB tower/Linux/Firmdl not working nicely together
|
|
Hi, Delighted I was to see that the USB lego tower driver was accepted into the Linux kernel tree, so I downloaded linux 2.6.2 and installed the lego driver with it. It checks in perfectly, no problem with the driver. But, when I try to upload (...) (23 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Spurious bad readings from sensors
|
|
(...) Because of the way BrickOS uses interrupts to handle active sensors, it's possible for sensors to be deprived of power for 300us or more, though typically the interval is only 30us or so. This is due to long interrupt latencies in BrickOS that (...) (23 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
|
| |
 | | Sense and grab robot
|
|
Hey guys, I am relatively new to the lego scene, but have been digging in with all that I have. I am teaching a class to 4th-6th graders on Saturday mornings, and have been building some basic light sensor and touch sensor bots with the RCX and (...) (23 years ago, 25-Feb-04, to lugnet.robotics)
|
| |
 | | Re: getVoltage???
|
|
(...) That's not true. The accuracy is exactly the same, as the value is calculated from the internal one and none is lost through rounding. Jürgen (23 years ago, 25-Feb-04, to lugnet.robotics.rcx.java)
|
| |
 | | Spurious bad readings from sensors
|
|
Hi, I instrumented Steve Hassenplug's legway code so that after it falls over it can dump sensor data and motor control valiables out to a PC. One of the things I noticed in this process is that aperiodically, the sensor inputs give a sensor reading (...) (23 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
|
| |
 | | cannot install brickOS
|
|
Hi, When I'm trying to install the Hitachi H8 cross compiler (on win2000), I have some errors during the installation like : sys/types.h: No such file or directory But at the end it says : GCC install end Done. :---...--- End Wed Feb 25 14:05:50 (...) (23 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: getVoltage???
|
|
Hi Sole, I've used the getVoltageMilleVolt() in projects to measure how much voltage was used to complete a task. It is the most granular, hence the best accuracy. Don't worry about the other methods. The getVoltageMilleVolt() method is all you (...) (23 years ago, 25-Feb-04, to lugnet.robotics.rcx.java)
|
| |
 | | Re: reed switch/codepilot question
|
|
yeah, it should, as both a touch switch and a reed switch ar digital switches, they can only give a 1 or a 0 to the codepilot Bob Clough (...) (23 years ago, 25-Feb-04, to lugnet.robotics.codepilot, lugnet.trains)
|
| |
 | | Use of lnp_addressing_write() in an RCX program.
|
|
Hello all. I wrote a small program using lnp_addressing_write() to remotely change the host address of one RCX from another. It doesn't work. I get an occasional flash of IR icon on receiving unit - that's it. Please take a look: int main(int argc, (...) (23 years ago, 24-Feb-04, to lugnet.robotics.rcx.legos)
|
| |
 | | reed switch/codepilot question
|
|
Greetings, I was looking at using a reed switch to control some train stuff. Unfortunately I only have a codepilot rather than an RCX. The codepilot accepts touch sensors. I've read ( (URL) ) that you tell the RCX to treat the reed as a touch (...) (23 years ago, 24-Feb-04, to lugnet.robotics.codepilot, lugnet.trains)
|
| |
 | | getVoltage???
|
|
Hi!!! I'm trying to test my robot executing certain programms. I take the voltage value in mV with the method getVoltageMilliVolt() before and after the execution. Then i subtract these values in order to get the voltage wasted. But i don't really (...) (23 years ago, 24-Feb-04, to lugnet.robotics.rcx.java)
|
| |
 | | w00t! Fund Drive for LUGNET Servers
|
|
We appreciated your patience during the downtime today Thank you for bearing an unusually long downtime today. We certainly weren't expecting a 9-hour outage simply for the replacement of a disk. You may have noticed on the LUGNET homepage during (...) (23 years ago, 24-Feb-04, to lugnet.admin.finance, lugnet.admin.general, lugnet.general, lugnet.robotics, lugnet.trains, lugnet.technic, lugnet.castle, lugnet.space, lugnet.org, lugnet.announce, FTX) !!
|
| |
 | | Re: Lego Dacta Control Interface Board Equivalent
|
|
(...) Something like this? (URL) uses the old moters and it came in a lego dacta box. Not sure what it is exactally. (23 years ago, 23-Feb-04, to lugnet.robotics)
|
| |
 | | Re: DACTA Robot Interface for Apple II - Help
|
|
(...) I have this (URL) I don't know if it's what you are looking for but it came with a cable to hook it up to something. If you want more pictures let me know. (23 years ago, 23-Feb-04, to lugnet.robotics)
|
| |
 | | Spybots communication
|
|
Hello, how can I establish communication between Spybots. Ive found SendSpybotMessage function in extended John Hansens spybot api, but I dont know how to use it. I want to use two spybots to build one robot, so I need two way communication (...) (23 years ago, 22-Feb-04, to lugnet.robotics.spybotics)
|