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 / *1179 (-40)
  Re: memory leak in string handling
 
Jamie Obrien <jamien@interworx.com.au> wrote: You can't do this: (...) You probably meant char *d2 = dest; like the original author wrote. Here also: (...) You probably meant return dest; like the original author wrote. -Kekoa (24 years ago, 20-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: memory leak in string handling
 
(...) I don't know of any leaks, but this line includes the terminating \0 in the output string: (...) Try the following instead: while (*d2) d2++; Presumably if you allocated a buffer of exactly the right size for a correct strcat, you code would (...) (24 years ago, 20-Jun-00, to lugnet.robotics.rcx.legos)
 
  (canceled)
 
 
  Re: memory leak in string handling
 
(...) But strcat isn't implemented in legOS is it? At least I had trouble finding it when I needed it to use in a random number generator. But this was in 0.2.3, so I don't know about 0.2.4. Tobias (24 years ago, 20-Jun-00, to lugnet.robotics.rcx.legos)
 
  (canceled)
 
 
  memory leak in string handling
 
This is not, as far as I know, something that is the matter with legos, but rather with my C programming skills. I'm trying to write the function strcat, but apparantly I'm losing memory somewhere. If anyone can see any apparant leak, please let me (...) (24 years ago, 20-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.4 working under WinNT 4(SP5) and Win2K
 
"Luis Villa" <liv@duke.edu> wrote in message news:Pine.SOL.3.91.1...uke.edu... (...) This (...) It's a must, Luis... ;-) (...) file (...) Step (...) Strange (famous programming quotation)... ;-) Can I have your modification to test them on my (...) (24 years ago, 17-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: battery life indicator
 
(...) All you can figure out is an estimate of the power supply voltage, which I'd guess doesn't correlate all that robustly to battery life. -Kekoa (24 years ago, 17-Jun-00, to lugnet.robotics.rcx.legos)
 
  battery life indicator
 
Hello, Is there a way to find out the battery life on the RCX in legOS? I checked this group and the documentation, and I can't find this info. Thanks, Nils (24 years ago, 16-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.4 working under WinNT 4(SP5) and Win2K
 
(...) Right, I understood that part, but I geuss that I understood that you meant uploading via some other method besides firmdl3/dll. Sorry, yesterday was not a good day for my brain ... Nils (24 years ago, 16-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.4 working under WinNT 4(SP5) and Win2K
 
(...) I've noted that in bash under cygnwin, you need to type: ./firmdl3 ../boot/legos.srec and ./dll ../demo/helloworld.lx Bye, Paolo. --- Those of you who think you know everything are annoying those of us who do. (24 years ago, 16-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.4 working under WinNT 4(SP5) and Win2K
 
When I said "Command Prompt", I meant the Windows MS DOS (formerly) command prompt. When I said "Cygwin", I meant the bash command prompt gotten by executing the Cygwin B20 program. So, when I say "upload using the Command Prompt", I meant I had to (...) (24 years ago, 16-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.4 working under WinNT 4(SP5) and Win2K
 
(...) What do you mean by 'upload using the Cmd Prompt'? Nils (24 years ago, 15-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.4 working under WinNT 4(SP5) and Win2K
 
(...) My fault. (...) Personal choice, here. I keep several versions on my machine, and since I created the tarballs, it says 0.2.4. If that breaks the cygwin installs, well, then, I guess I'll change it :( (...) Paolo? This is your area of (...) (24 years ago, 15-Jun-00, to lugnet.robotics.rcx.legos)
 
  legOS 0.2.4 working under WinNT 4(SP5) and Win2K
 
First, many thanks to those who have worked so hard to make this happen. And to those who kept trying to answer all of my questions while trying to install the previous versions. As the subject suggests, I've got legOS working under both my Win NT (...) (24 years ago, 15-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor problem, again...
 
(...) On second thought, this need not be the case. Maybe the initial sensor state starts out at whatever value it normally starts out at after bootup (probably zero), and simply never gets set (or reset) to the state indicated by looking at the (...) (24 years ago, 15-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor problem, again...
 
(...) That you see values -1, 2, and 1 sounds like the current state of the rotation sensor is not considered when when the sensor is reset, like it is reset to a state of 0 when it should be reset to the current state of the sensor, like 0, 1, 2, (...) (24 years ago, 15-Jun-00, to lugnet.robotics.rcx.legos)
 
  rotation sensor problem, again...
 
Just when you thought it was all fixed. I use the following code: ds_active(&SENSOR_2); ds_rotation_on(&SENSOR_2); ds_rotation_set(&SENSOR_2, 0); to setup a rotation sensor. Immediately after calling ds_rotation_set(), and /without moving the (...) (24 years ago, 14-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.4 on Win NT 4.0 WS
 
(...) I wish I could join you... Guinness is a wonderful habit to have. I s'pose it's even better in .ie. And it's probably a little to early to have one here ;) -Luis (...) ---...--- "Going to California with an aching in my heart. Someone told me (...) (24 years ago, 14-Jun-00, to lugnet.robotics.rcx.legos)
 
  cat out of bag, sort of :)
 
I prematurely posted an 0.2.4 version of legOS (mainly just right out of CVS) on sourceforge. I've asked Paolo and others to review it for me before we make an "official" announcement, so there isn't one yet (I'd like to post it to freshmeat and (...) (24 years ago, 14-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS 0.2.4 on Win NT 4.0 WS
 
Ooops, fixed - sorry - if only all bug-resolutions were as fast .... Now where was that pint .... (...) (24 years ago, 14-Jun-00, to lugnet.robotics.rcx.legos)
 
  legOS 0.2.4 on Win NT 4.0 WS
 
Hi All, I've just successfully installed legOS 0.2.4 on Win NT and run the demo programs, all thanks to Lius' instructions. I did have one small difficulty though, with both the gzip file and CVS versions at sourceforge - it's tiny ... It was a (...) (24 years ago, 14-Jun-00, to lugnet.robotics.rcx.legos)
 
  CVS screwup- sorry
 
I checked in a patch to config.h last night that had too many whitespaces and it broke the build. Sorry. I've fixed it now. Luis ---...--- "Going to California with an aching in my heart. Someone told me there's a girl out there with love in her (...) (24 years ago, 14-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP Question
 
Hello Colin, (...) (24 years ago, 14-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP Question
 
"Colin Ryan" <colin.ryan@cs.tcd.ie> ha scritto nel messaggio news:394758BE.3DEA88....tcd.ie... (...) I'm working to a porting of lnpd for Win32, but it's not finished yet... Bye, Paolo. --- Indecision is the key to flexibility. (24 years ago, 14-Jun-00, to lugnet.robotics.rcx.legos)
 
  LNP Question
 
Hi All, Apologies if this should be obvious., but I'm curious as to how I can build a windows based LNP application, can it be done? I see that most LNP discussions to date are Linux and LNPd oriented, which would lead me to believe that my only (...) (24 years ago, 14-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: Help with make in Windows
 
Ah...progress. I have finally started tracing the function calls. Did I mention my head hurts? :-p Seriously, what I found was in the 0.2.2 on Windows Instructions, number 8 says "Change the CINC variable definition in legOS\Makefile.common to (...) (24 years ago, 14-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS built on NT - what now
 
Colin, what version of legOS did you install? -- Gary (...) (24 years ago, 14-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP ActiveX for windows users
 
Hi ! I've added the compiled version of winlnp to (URL) (24 years ago, 13-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: Convert Integer to String
 
K&R has a very simple itoa implementation that you can copy if LegOS's libc doesn't already have itoa. alex "Michael Marklew" <mike@idl.net.au> wrote in message news:Fw13p2.5yq@lugnet.com... (...) other (...) string in (...) (24 years ago, 12-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: legOS built on NT - what now
 
(...) My pleasure. You should really thank Professor Michael Littman, who gave me the time to do it in the first place :) (...) This is what occurred in the 0.1.x series of legOS. (...) In the 0.2.x series, you are expected to load the legOS.srec (...) (24 years ago, 12-Jun-00, to lugnet.robotics.rcx.legos)
 
  legOS built on NT - what now
 
Hi All, I've just built and successfully compiled legOS on NT 4.0, it is thanks Luis Villa and his online instructions, that this was possible - much appreciated Luis. Hence, when I type" make --unix", the compilation process completes with a few (...) (24 years ago, 12-Jun-00, to lugnet.robotics.rcx.legos)
 
  Convert Integer to String
 
I am having an anoying problem. I want to format a string made up of other strings and integers. Normally I would do something like this sprintf(txt,"Num=%d String=%s",number,text) At the very least does any one know how to do covert an integer to a (...) (24 years ago, 12-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: Help with make in Windows
 
(...) In Unix-ish systems, that style of error message means that it is being generated by the program yada/yada/ld. So, what is happening is that ld.exe is unable to find crt0.o, whatever that is. (...) This is rather odd. /legOS/include/config.h (...) (24 years ago, 12-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: Help with make in Windows
 
Luis, Thanks for the info. I do have Win 95 and tried installing there ... same errors. Then, I tried the Windows install using cygwin. I've gotten to the end part where you type "make --unix" While it did compile, there were errors along the way. (...) (24 years ago, 12-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: Help with make in Windows
 
Gary- Unfortunately, I believe that Rossz's tools are known not to work with NT/w2k. The problem is with the DJGPP toolset itself, not with Rossz's work. If installing on win95/98 is not an option, you may want to take a look at (URL) are (...) (24 years ago, 11-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP ActiveX for windows users
 
(...) can (...) Oh yes, I'm using GNU tools for windows. Now (for a couple of days I was busy in a HW upgrade for my system), I'm working to make lnpd works on Win32 (client lib part already quite OK, server part need to be tuned-up). Code already (...) (24 years ago, 11-Jun-00, to lugnet.robotics.rcx.legos)
 
  Help with make in Windows
 
I have LegOS 0.2.3 installed and, thanks to instructions by Rossz Vamos-Wentworth I've gotten quite far down the path of getting the software to work. The firmware works fine and I can upload a demo .lx and have it work fine. However, I can't get (...) (24 years ago, 11-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP ActiveX for windows users
 
Thank you very much! It will be thoroughly tested this tuesday. It was exactly what was needed to get our project running smoothly again. Up until now, I was worried that we'd have to switch platforms in midproject. Torkel Yannis Jeannotat (...) (24 years ago, 11-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: LNP ActiveX for windows users
 
(...) Yannis, if space is a problem for pre-compiled tools, my task for Monday is the re-organization of the legOS archives at legOS.sourceforge.net. You are certainly welcome to get space and access there if you want. (...) Paolo, if that is in (...) (24 years ago, 11-Jun-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