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 / *2564 (-40)
  Re: Hmm... install not going so smooth
 
Samuel, From Paolo install instructions (under "2. Build the Hitachi-H8 cross-compiler" last bullet) "Ignore the warnings in compile process. It should work." Essentially you should get some warnings. I suggest you go ahead an try compiling the (...) (22 years ago, 14-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Hmm... install not going so smooth
 
Thanks for everyone's help. I just decided to install all the packages.... but now I have a different problem. I start to compile the cross compiler, and everything seems to be going fine.... except at the very very end. I get the following message: (...) (22 years ago, 14-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Hmm... install not going so smooth
 
setup.exe Package Listing on cygwin.com will tell you that you need the libintl1 package. Probably dependencies for grep are incorrect, otherwise it would have been installed automatically. ----- Original Message ----- From: "Samuel Winchenbach" (...) (22 years ago, 14-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Hmm... install not going so smooth
 
Samuel, Yes I have seen this error. I am guessing your install a couple of weeks ago was actually using B20 version of cygwin? or that you have reinstalled cygwin? I was moving things around and got this error along with some error dialog boxes (...) (22 years ago, 14-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Camera and legOS
 
1. the Vision Command Camera and writing software for the camera 2. interfacing your software with a legOS powered robot. 1. The Lego Vision Command is actually a Logitech USB camera repackaged inside some lego pieces. There is a [mostly inactive] (...) (22 years ago, 14-May-02, to lugnet.robotics.rcx.legos)
 
  Hmm... install not going so smooth
 
Hello, I decided to scrape my machine today and when I tried to reinstall legos I ran into a problem compling the cross compiler under cygwin. Here is a list of the packages I have installed: Cygwin Package Information Package Version ash 20020131-1 (...) (22 years ago, 14-May-02, to lugnet.robotics.rcx.legos)
 
  Freebsd 4.4 and legos
 
Ok i just started using freebsd and i was wondering if anyone could tell me what tools i need to install to make legos compile and run correctly. Thankx, Jason Hensler (22 years ago, 14-May-02, to lugnet.robotics.rcx.legos)
 
  Re: More problems with floats
 
(...) It turns out to be the egcs 1.1.2 I compiled; the RPMs from sourceforge work fine. I'll try to find why my compiler was buggy... Thanks for your reply. Eric (22 years ago, 13-May-02, to lugnet.robotics.rcx.legos)
 
  Camera and legOS
 
I wonder if anyone knows about the compability between legOS and the camera set named Vision command that are available for the Legorobot? Has anyone made any progress in trying to get it to work wíthin legOS? We are to guys at the University in (...) (22 years ago, 13-May-02, to lugnet.robotics.rcx.legos)
 
  Re: More problems with floats
 
(...) Eric, did you ever resolve this? If not, I could try to reproduce this... but I'd need two things: 1) the type of the return value of getVarVal 2) the type of the bool typedef Also, if you could run your cross compiler with the -v flag, that (...) (22 years ago, 13-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Converting a float to an integer
 
It looks like xdist and ydist are integers. You divide an integer by an integer, the answer is an integer. For example, if xdist=5 and ydist=10, you have 5/10, the answer is 0 (with a remainder of 5). So, if you do the multiply first, you will be (...) (22 years ago, 13-May-02, to lugnet.robotics.rcx.legos)
 
  RE: Converting a float to an integer
 
I have built a plotter and want to draw a diagonal line of varying angles. It requires one motor to run slower then the other at a ratio based on the distance it has to travel compared to the other one. So I do something like this xspeed = (int) (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: egcs compiler - float problems?
 
(...) I have not tried to compile this, but one thing that looks suspicious is that you are using doubles. Doubles are not supported. The compiler I have (some old version of GCC) treats doubles and floats as the same type. The compiler you're using (...) (22 years ago, 10-May-02, to lugnet.robotics.rcx.legos)
 
  egcs compiler - float problems?
 
Can someone using the egcs compiler suite test the following code? It seems it doesn't compile under egcs. int main(int argc, char *argv[]) { double foo = 1.0; return foo > 0.1 ? 0 : 1; } Compiles fine under gcc 3.0.3. Regards, Michael (22 years ago, 10-May-02, to lugnet.robotics.rcx.legos)
 
  More problems with floats
 
When I try to compile a program containing the following function: bool tr_guard_foo_loc2_t0() { return getVarVal(&var_foo_cl) >= 0.1; } I get this error: /tmp/ccyEbqnS.s: Assembler messages: /tmp/ccyEbqnS.s:237: Error: cannot create floating-point (...) (22 years ago, 10-May-02, to lugnet.robotics.rcx.legos)
 
  Re: semaphores
 
Would it be possible for you to send the entire source? I would like to see how it interacts with the rest of the program. Thanks for your help. "kenneth johansen" <kennethj@stud.cs.uit.no> wrote in message news:3CDAC372.34D72C....uit.no... (...) (...) (22 years ago, 10-May-02, to lugnet.robotics.rcx.legos)
 
  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: ___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: ___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: 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)
 
  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: ___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: ___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)
 
  Converting a float to an integer
 
Hopefully this isnt a silly question. Does anyone know how to covert a float to an integer? It doesn't appear that the function atoi exists. Michael. (22 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Powered Sensors
 
----- Original Message ----- From: "John Barnes" <barnes@sensors.com> Newsgroups: lugnet.robotics.rcx.legos Sent: Tuesday, May 07, 2002 2:23 PM Subject: Re: Powered Sensors (...) the (...) across (...) Ok... lets see if I understand this.... For (...) (22 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Powered Sensors
 
No, the RCX knows nothing about the diodes. That is why devices like the light sensor only send a current signal in the range 0 - 0.32mA back to the RCX. This current then creates a voltage drop across the 10k reference resistor with respect to the (...) (22 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
 
  Powered Sensors
 
Hello all, I recently purchased "Extreme Mindstorms - An Advanced Guide to LEGO Mindstorms" and I must say it is one of the best books out there for the power user. I have a number of questions regarding powered sensors. First of all, when the RCX (...) (22 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Next test version avail. 0.2.6.05 - have time?
 
(...) I'm not sure if that's a good idea. Of course, they can always be a compiler switch to turn them off if you don't want them. The thing is, though, that there are lots of tradeoffs between speed, memory use, and accuracy in this kind of (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Next test version avail. 0.2.6.05 - have time?
 
Ok, this brings up an interesting question... What is the best way to use LNP with windows? the version of WinLNP that I see is _ancient_ and requires VC++ to work.... so I see that there is a linux version, I was wondering it would be possible to (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  Re: cygwin messed up?
 
Jason, There is a problem within the Makefile logic atleast with some windows OS. What OS are you trying it on? I submitted a bug to the legOS project on sourceforge ((URL) and submitted a suggestion for a fix here ((URL) is happening (atleast on my (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  Next test version avail. 0.2.6.05 - have time?
 
We are looking for help testing our next very-early integration. We have revised the LNP support and have reworked the support for the LEGO Infrared Remote Control to create this 2nd test version. This version mimicks the stock firmware behavior. (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  Re: cygwin messed up?
 
You can try a few things with the makefile.common in the util directory and change the tool prefix from cc to gcc. Later u might have another error related to ld at that point u'll have to put the extension .exe in front of ld in one of the (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  cygwin messed up?
 
i'm running the lates version of cygwin and i'm trying to follow the instructions at (URL) but, when i try to make depend i get some errors: $ make depend for i in util lib boot demo ; do c:/djgpp/bin/make.exe NODEPS=yes -C $i depend || exit 2 ; (...) (22 years ago, 5-May-02, to lugnet.robotics.rcx.legos)
 
  Re: tty problem
 
(...) try this: ../util/firmdl3 --tty=usb legOS.srec (22 years ago, 5-May-02, to lugnet.robotics.rcx.legos)
 
  tty problem
 
Hello, I have recently downloaded the legos-0.2.6 version and have built it under windows Cygwin. when I give the command being in the boot directory where legOS.srec is export RCXTTY=USB ../util/firmdl3 legOS.srec it says USB: No such file or (...) (22 years ago, 5-May-02, to lugnet.robotics.rcx.legos)
 
  Re: makefile?
 
Fredrik, You can check to see what Cygwin packages have been installed on your system by using the cygcheck command. Try cygcheck -c If the output is too large for your dos window you can export it to a file by using the following command cygcheck (...) (22 years ago, 4-May-02, 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