To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *1404 (-40)
  IRPD sensors and LegOS (long)
 
Well, after much frustration and a great deal of help from the very wise Rossz, I was finally able to get up and running w/ DJGPP and LegOS 0.2.4 The first thing I did was write a program to use with Pete Sevcik's IRPD proximity detectors that he (...) (24 years ago, 30-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Linking failure when 'making' an lx file
 
(...) Sorry about the extra stuff, the linking problem was due to the compiler trying to find the above link "___ucmpsi2". When I used h8300-hitachi-hms-nm I could see all the methods and links in my code, and this was the only strange looking one. (...) (24 years ago, 28-Aug-00, to lugnet.robotics.rcx.legos)
 
  Linking failure when 'making' an lx file
 
Hi Can anyone tell me why I'm getting a linking failure when trying to compile my C code, in the standard way. The linker is failing to find a fucntion I have defined in my source: /usr/local/crossgcc/...chi-hms-ld -T ../boot/legOS.lds -relax (...) (24 years ago, 28-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Blockin LNP calls
 
(...) I guess I'm using lnp_logical_write then? That is, I include the standard lib_lnp.h file into my code and then link my app with liblnp.so.....does this answer your question? Is there a way in which I can call lnp_logical_write directly to test (...) (24 years ago, 28-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Blockin LNP calls
 
(...) No, I meant lnp_logical_write, which is called from lnp_addressing_write. lnp_logical_write is not within the file lnp.c, which I guess you link into your app. This function is supposed to actually write to the serial device communicating with (...) (24 years ago, 28-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Blockin LNP calls
 
(...) Sorry, I was using an unsigned char variable, this was just a remnant of some testing I did..... I tried a lot of variations ;-) (...) (24 years ago, 28-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Blockin LNP calls
 
(...) Yes, the problem is on the host PC (running Red Hat 6.2). What I cant figure out is how identical code works fine if I instantiate the wrapper class in a simple demo app, but once I try calling it form within my CORBA server, it blocks on (...) (24 years ago, 28-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Blockin LNP calls
 
(...) From the statement "data is received by the RCX" I assume you have this problem on the host system. What OS are you using? Also, how does your lnp_logical_write() routine look like? Eddie C. Dost ecd@skynet.be (24 years ago, 27-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Blockin LNP calls
 
(...) ,testaddress, 8); It shouldn't be the real problem, but are you sure about the port paramenter? How about: result = lnp_addressing_write...estbuffer, testlen ,testaddress, testport); Bye, Paolo. --- Maier's Law: If the facts do not conform to (...) (24 years ago, 27-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Blockin LNP calls
 
HELP! I'll ellaborate a little on the details of my previous posting: My code (removing some CORBA detail) looks like this: I have a class "nanOrbDemo_i" which has the following constructor: inline nanOrbDemo_i(){ if ( lnp_init(0,0,0,0,0) ){ cout << (...) (24 years ago, 27-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Statically and Dynamically linking lnp ....
 
(...) Colin, The "standard" for doing this is to wrap the extern "C" { and } in #ifdef __cplusplus clauses. You can see how to do this in most .h files in the include directory. Especially if it's a .h that may be used in mixed (C/C++) projects. (...) (24 years ago, 27-Aug-00, to lugnet.robotics.rcx.legos)
 
  Blockin LNP calls
 
Hi Can anyone tell me why a call to lnp_addressing_write(...) might block? My environment seems okay. I have some simple clients written that have no difficulty in communicating wth the RCX, but I have one client ( a lot more complex) which seems to (...) (24 years ago, 26-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Statically and Dynamically linking lnp ....
 
Regarding the previous posting: Please disregard ... I figured it out, but thought it may be useful to post a reply to myself, in case it's ever of use to anyone else using the same tools: I forgot to wrap my include in an ' extern "C" ' block. As I (...) (24 years ago, 26-Aug-00, to lugnet.robotics.rcx.legos)
 
  Statically and Dynamically linking lnp ....
 
Hi All, I was wondering if someone could give me a quick guide as to the compilation/linking options when using liblnp.h etc. I'm having a few difficulties. I wanted to know how exactly to link in the shared library. I tried installing it in the (...) (24 years ago, 26-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: GCC - Cross-compiler
 
(...) I want to make a script for doing all the dirty job and rivise HOWTO to include the whole proccess. :-) Now I'm in trouble with a very simple diff file that when applied with patch.exe generates a CR-LF file that is not "compatible" with gcc (...) (24 years ago, 25-Aug-00, to lugnet.robotics.rcx.legos)
 
  new HOWTO release
 
Hey, everybody. There is a new HOWTO version available. It doesn't contain anything groundshaking, except that it does (finally) incorporate an updated version of demo.c. And it fixes the error in spelling Paolo's name :) Since this is now public, (...) (24 years ago, 22-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP and Lego Remote
 
(...) Nope. I've been moving :( and my mindstorm is still taped up and packed. To worsen the situation, my motherboard broke, so I don't even have a functional PC at the moment. Hopefully, that should be remedied later this week. Luis ---...--- (...) (24 years ago, 22-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Where is the daily tarball?
 
(...) ---...--- "Summertime... and the living is easy... fish are jumping and the cotton is high... So hush, little baby, baby don't you cry." -Ella ---...--- (24 years ago, 22-Aug-00, to lugnet.robotics.rcx.legos)
 
  Where is the daily tarball?
 
I've looked around sourceforge but have not been able to locate the daily tarball. Anyone know the URL? Rossz (24 years ago, 22-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP and Lego Remote
 
(...) it's (...) Lego (...) FYI, we are working to a new, better, implementation of LNP (a sort of LNP2), backward compatible that is compatible with Lego remote too... :-) Bye, Paolo. --- This tagline is made from recycled letters. (24 years ago, 21-Aug-00, to lugnet.robotics.rcx.legos)
 
  LNP and Lego Remote
 
Hi, Can we set the parity of LNP to SMR_ODD? Right now, LNP is acting as if it were set to even parity even though it's supposed to be at no parity; it's discarding all odd bytes sent by the Lego remote. Luis? Tried the patch and the demo for the (...) (24 years ago, 21-Aug-00, to lugnet.robotics.rcx.legos)
 
  RCX in Intro Computing Class
 
Hello, My college computer science department is thinking of using Lego Mindstorms as part of the introduction to computer programming class. The book we would use to teach is written by a few of my prof's. I have taken an outline of the book, (...) (24 years ago, 18-Aug-00, to lugnet.robotics.rcx.java, lugnet.robotics.rcx.legos)
 
  Re: GCC - Cross-compiler
 
(...) Yes, there are some warnings during the compile. I'm at work, so I can't interrogate my make log, but the only big one is the one about libc, which is documented in the HOWTO. Regards, ROSCO (24 years ago, 17-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: GCC - Cross-compiler
 
(...) Awesome. (...) Right. Though it would be good to write them down (like in the HOWTO) so that people don't freak out when they get them :) (...) Dangit. Sorry, still... Luis (...) ---...--- "Summertime... and the living is easy... fish are (...) (24 years ago, 17-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: GCC - Cross-compiler
 
(...) CygnWin 1.1 (latest). :-) (...) Not really important if it works, just curiosity... ;-) (...) :-) Cool... ;-))) (...) First, I would like my name corrected in /HOWTO... ;-))) Massetti --> Masetti... ;-))) Bye, Paolo. --- Press to test. Release (...) (24 years ago, 16-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: GCC - Cross-compiler
 
Sorry I've been out of the loop for so long, guys... I'm moving tomorrow, so I've been packing and such. (...) cool. Which Cygwin, though? It'd be really nice if we could "move up" to Cygwin 1.0, which is a lot easier to install than the beta (...) (24 years ago, 16-Aug-00, to lugnet.robotics.rcx.legos)
 
  GCC - Cross-compiler
 
(...) Some (good!) news: 1) I've compiled gcc-2.95.2 for h8300-hitachi-hms using cygnwin and it works. :-) 2) I'm working to a script to automate the process 3) I'm still gettind some warnings (but it works well, does some warnings appear on Linux (...) (24 years ago, 16-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Idle Powerdown
 
Also, Paolo gets credit for the code that resets the idle counter inside IR activity. It will not reset on invalid packets or packets sent to a different RCX unit, so a unit will quietly go to sleep after 15 minutes in the midst of LNP (...) (24 years ago, 15-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Idle Powerdown
 
Paolo was kind enough to check into Sourceforge my changes to implement idle powerdown. The default is 15 minutes of idle time (no programs running, no buttons pressed, no LNP activity) before automatically turning itself off. BTW, in my previous (...) (24 years ago, 15-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Multiple RCXs
 
(...) You can control RCXs via LNP using different addresses. The problem is that no example and no working code is available in legOS distribution, but you can find something searching this newsgroup. A good possibility is using WinLNP (URL) LNP (...) (24 years ago, 15-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: CVS write problem solved
 
(...) Well, after fiddling lots, I finally got it working. Turns out :ext: is correct, dunno why the CVS page at SourceForge says :pserver:. Anyway, I successfully commited CONTRIBUTORS (had my name wrong!), and will soon be putting in some code to (...) (24 years ago, 15-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Idle Powerdown - CVS write problems
 
(...) Sorry. Linux. (...) Hmmm. Tried this (checked out the whole module to a new dir), but same problem. (...) My connection string is the same except ext->pserver. Must be a Unix thing. Is there any developers out there using cvs under Linux? I (...) (24 years ago, 15-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Idle Powerdown - CVS write problems
 
(...) login (...) But when I (...) I've checked sourceforge and you have correct permissions. What platform are you using? Windows? (...) before - (...) My problem was that if you checked-out files as "anonymous", you need to re-check-out them. CVS (...) (24 years ago, 14-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Idle Powerdown
 
(...) Paolo, Maybe you can help with mine, too. Luis gave me CVS access, and I can login using my sourceforge name & password, and checking out's no problem. But when I try to check in, I get: cvs [server aborted]: "commit" requires write access to (...) (24 years ago, 14-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Idle Powerdown
 
(...) need to (...) You can send the code/patch to me, Rossz. I can commit it for you. As anyone knows :-) I've solved my old problems with CVS (WINCVS). Please feel free to contact me if you need to solve your CVS problem too. :-) Bye, Paolo. --- (...) (24 years ago, 13-Aug-00, to lugnet.robotics.rcx.legos)
 
  Idle Powerdown
 
I've successfully implemented an idle powerdown into the legOS kernel. On more than one occasion I have left my RCX on overnight, resulting in the need to buy a new set of batteries. The tricky part was doing a successful powerdown from within the (...) (24 years ago, 13-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: Multiple RCXs
 
If the functions you wish to perform can be done in simple tasks you could probably program each RCX to recognize a specific range of message numbers. In this way, a 'function' on the RCXs can be 'invoked' by the PC by having it send a specific (...) (24 years ago, 12-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: questions, comments, and suggestions
 
(...) If you don't find it defined in gcc-2.95.2/config/h8300/*, then yes. Eddie C. Dost ecd@skynet.be (24 years ago, 12-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: questions, comments, and suggestions
 
(...) only (...) Do you know if RCX_COMPILER patch need to be used in GCC 2.95.2 cross compiler too? (...) Fixed right now. I'm ready to commit. (...) indicator (...) could (...) It will be changed in 0.2.5, but two notes: 1) The counter is in ms. (...) (24 years ago, 11-Aug-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS Addressing - Packet Handler
 
(...) Semaphores: You said you installed Linux, try "man sem_post". Also kernel/program.c is a good reference for a semaphore use. A more complicated example is the tx_sem in kernel/lnp-logical.c and kernel/lnp.c. Eddie C. Dost ecd@skynet.be (24 years ago, 11-Aug-00, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more | 40 more

Redisplay Messages:  All | Compact

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