 | | 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)
|