To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *8560 (-20)
  Re: [long] Interrupt programming, buggy code
 
(...) All I can give you is guesses. There are pleny of gurus here who will know the answer. Do you know if the display_debug() routine or any of the things it uses depends on the interrupts you are taking over? If default interrupt handler provides (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  RE: [long] Interrupt programming, buggy code
 
Having fun yet :-) There are a few things you might want to keep in mind when writing ISRs for the RCX... First, avoid calling into the ROM from an interrupt handler. You never know how long they take, and you may in fact be hitting another OCIA (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  [long] Interrupt programming, buggy code
 
Hi all, I am currently programming the Lego RCX at low-level (plain C) using the GCC cross-compiler for Hitachi H8/300 and Kekoa Proudfoot's LibRCX. In fact, I'm designing exercises for students that learn micro-controller programming. Therefore, I (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx)
 
  rcx communications
 
hello, for the needs of a robotic course, I am looking for programs for 2 rcx that will make 2 robots communicate and enable some "team play". if you have examples to send me, I will be pleased to get some help. my email: gros_chacal@hotmail.com (...) (21 years ago, 2-Mar-04, to lugnet.robotics.rcx.java)
 
  Re: Get/SetCommTimeouts
 
"Dick Swan" <dickswan@sbcglobal.net> wrote in message (...) I kind of suspected that .. but was not sure. I looked in the source of NQC and brickOS (and some programs I found on the Web) and they all seemed to use these functions regardless. But I (...) (21 years ago, 1-Mar-04, to lugnet.robotics.rcx)
 
  Where is prototype definition of packet_producer( ) ?
 
Thanks to those who have responded to my queries. Your info has been very helpful. Now I am trying to modify # of arguments to packet_producer() in program.c, but I am unable to find prototype definition in any .h files. Can someone tell me where it (...) (21 years ago, 1-Mar-04, to lugnet.robotics.rcx.legos)
 
  Re: Get/SetCommTimeouts
 
"Shashank Date" <sdate@everestkc.net> wrote in message news:Htuzyn.6qG@lugnet.com... (...) parameters. I (...) The "SetCommTimeout" function only applies to "COMx" serial ports. You are trying to use it on a USB port! (21 years ago, 29-Feb-04, to lugnet.robotics.rcx)
 
  Get/SetCommTimeouts
 
I am trying to write a C program (using VC++ 6.0) to talk to RCX 2.0 on my Win XP (Home Ed) box. Everything seems to be OK except the get/set of Communication parameters. I cannot understand why. I have attached the minimal C program which does (...) (21 years ago, 29-Feb-04, to lugnet.robotics.rcx)
 
  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, (...) (21 years ago, 27-Feb-04, to lugnet.robotics.rcx.legos)
 
  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 (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
 
  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 (...) (21 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 (...) (21 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 (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.legos)
 
  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 (21 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 (...) (21 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 (...) (21 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 (...) (21 years ago, 25-Feb-04, to lugnet.robotics.rcx.java)
 
  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, (...) (21 years ago, 24-Feb-04, to lugnet.robotics.rcx.legos)
 
  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 (...) (21 years ago, 24-Feb-04, to lugnet.robotics.rcx.java)
 
  How to send button cmd or run pgm remotely from one RCX to another ?
 
I am trying to use lnp_addressing_write() or lnp_assured_write() to send commands (e.g. CMDdelete, CMDsethost) from one RCX to another. This seems to be the way it is handled in loader.c of the DLL utility. I am not having any success. Is there an (...) (21 years ago, 19-Feb-04, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR