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 / *6255 (-20)
  Re: ___cmpsi2
 
(...) OK, I planned to test 0.2.6; this is the right moment to do it. (...) Do you know why? (I'm just curious) (...) Thank you very much. This was really important to me. Eric (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  RE: Apparent 'time-out'
 
(...) Rob, Thanks for this. I think I'll be able to get to this tonight. I'll have a good look at what is going on. Cheers, Ralph (22 years ago, 9-May-02, to lugnet.robotics.rcx.pbforth)
 
  FW: Apparent 'time-out'
 
(...) Have you seen the articles I recently wrote here... (URL) Cheers, Ralph (22 years ago, 9-May-02, to lugnet.robotics.rcx.pbforth)
 
  Re: ___cmpsi2
 
(...) Don't know. Just made a quick download from sourceforge. Didn't install, just looked through with mc. Seems that in the mint-lib, both cmp2-files are missing. And no printf in the c library path. Regards, Michael (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Apparent 'time-out'
 
(...) Yes, the flashlight consistently makes the RCX go "dead". (...) No rush. PATIENT: "Doctor, it really hurts when I move my arm like this." DOCTOR: "Then don't move your arm like that." (...) I look forward to the article. I am currently working (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.pbforth)
 
  Re: ___cmpsi2
 
(...) How did *that* happen?!!?!? Just curious. Somebody should point a finger, just for yuks. -Kekoa (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  RE: Apparent 'time-out'
 
(...) OK, so if the RCX is in the "dead" state, shutting down the GUI and restarting the GUI makes no difference. And you can always clobber the RCX running pbForth by shining a light at it? I'll see what I can do on this end to reproduce the (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.pbforth)
 
  Re: Apparent 'time-out'
 
Shutting down the GUI and starting it back up has no effect, pbForth continues to respond correctly. Adding words to the dictionary doesn't seem to make any difference either. Whether having just uploaded the firmware or having the RCX active for (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.pbforth)
 
  Re: semaphores
 
a short example: #include <semaphore.h> // for semaphore opperations // global buffer, used to store incoming messages. // the buffer is checked by the application waiting for the message. struct inn_msg{ char *msg; sem_t lock; }; //create a (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  RE: Apparent 'time-out'
 
(...) Thanks... (...) When the RCX is sitting idle, the pbForth interpreter is spinning and looking for characters from the IR. I doubt that sunlight (or flashlight) would be interpreted as valid chars, and the error handling should just discard the (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.pbforth)
 
  semaphores
 
Does anyone have any code that implements semaphores and shows where they might be useful? That is one place that the documentation seems a little weak. Thanks, Sam (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Apparent 'time-out'
 
The GUI version is 2.1.0. The pbForth version (COLD) is 2.1.2. I am using the USB tower with RIS 2.0. Once the RCX stops responding, if I pull out a battery and re-upload the firmware, the RCX will respond again to the same GUI session. In other (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.pbforth)
 
  Re: ___cmpsi2
 
(...) Had to look myself to belive it. But you are right, cmpsi2 is in the 0.2.6 system, but not in the 0.2.5 system. (...) No, that are the wrong ones. You need the lib functions for the cross compiled code. libgcc.a is code that gcc needs on your (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  RE: Apparent 'time-out'
 
(...) One more bit of useful information would be the version of pbForth (which you get by typing COLD) and which version of the GUI (top left of window) Also, are you using the serial or USB tower? What messages were you sending to the RCX before (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.pbforth)
 
  Apparent 'time-out'
 
I am using the TCL GUI provided by Ralph Hempel on a Windows 2000 machine to program the RCX 2.0 in pbForth. The upload of the firmware appears to be working just fine. I get responses back from the RCX and am able to create new functions without (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.pbforth)
 
  Re: ___cmpsi2
 
(...) I don't find cmpsi2 in the sources of LegOS 0.2.5 (in lib/mint)! I found a _cmpsi2.o in libgcc.a (from egcs 1.1.2), but I really don't know how gcc (and ld) uses that library. The makefiles come from the LegOS tarball. According to the output, (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: ___cmpsi2
 
(...) cmpsi2 is part of the libmint.a library. Would you please post (or send me) your source code and your Makefile? Regards, Mike (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  ___cmpsi2
 
Using a multiplication between an int (in my case time_t) and a double number results in the following error: main.o(.text+0x72):main.c: undefined reference to `___cmpsi2' Can someone help me? I'm running egcs 1.1.2 and binutils 2.12. Eric (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Powered Sensors
 
Ok, I have gotten myself confused again. 0-0.32mA represents a voltage dropbetween 0 - 3.2 volts. Therefore the voltage that the RCX "reads" on theA2D is between 5 - 1.8 volts (1023 - 368 RAW)? To get a reading of 0 (RAW)it seems as though you would (...) (22 years ago, 8-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Converting a float to an integer
 
(...) float f = 1.4; int i = (int)((i >= 0) ? i + 0.5 : i - 0.5); OR if (f >= 0) i = (int)(i + 0.5); else i = (int)(i - 0.5); This is assuming you want to round to the nearest integer. Just curious, where are you getting the ascii strings that you (...) (22 years ago, 8-May-02, 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