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 / *2539 (-40)
  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)
 
  RE: makefile?
 
You need "make" installed on your system. Run the cygwin setup.exe and install it. Good luck. -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Fredrik Helin Sent: Saturday, May 04, 2002 6:48 AM (...) (22 years ago, 4-May-02, to lugnet.robotics.rcx.legos)
 
  makefile?
 
Hi! The "make" command in Cygwin returns a: "command not found" after installing legOS 0.2.6 on a Windows 98 machine. I'm currently in the legos-0.2.6 catalogue and the Makefile, Makefile.common, Makefile.user, Makefile.kernel files are all there. (...) (22 years ago, 4-May-02, to lugnet.robotics.rcx.legos)
 
  Re: linux USB driver.
 
(...) Are you sure you got the usbcore module? I'm also not quite sure it will work with 2.4.9 . Jürgen (22 years ago, 4-May-02, to lugnet.robotics.rcx.legos)
 
  Re: linux USB driver.
 
I've just upgraded to the kernel 2.4.9-31 and tried to compile this driver. I get the following errors: [root@kelcsts38b usb_lego]# make install /sbin/modprobe -r usb_lego cp usb_lego.o /lib/modules/2.4.9-3...rivers/usb /sbin/modprobe usb_lego (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Re: sys_timer
 
(...) Yes. It is updated from an interrupt routine that fires every 1 ms (IIRC). However.... (...) wait_event is only accurate to 20ms or so, depending on what your other tasks do. So your timing is very accurate, but you're not timing what you (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Current Makefile logic fails for nonNT Windows OS
 
Taking a second look at this and noticing some past post about this issue with WinXP ((URL) a much cleaner code might look like the following # # WindowsNT/Cygnwin, test against several values: # ifneq (,$(findstring $(OSTYPE),cygwin32 cygwin (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Current Makefile logic fails for nonNT Windows OS
 
I am compiling under windows 98 using cygwin version 1.3.10. In Makefile.common (/legOS-0.2.6,/legOS....2.6/util) the logic to determine whether the OS is a windows system fails due to the fact that uname returns CYGWIN_98-4.10. I submitted a bug (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Accurate msleep and timeslicing - was Re: sys_timer
 
"Michael Obenland" <obenland@t-online.de> wrote in message news:GvJ5vD.7MC@lugnet.com... <snip> (...) switch. (...) I made some modifications to the tm_sleep_wakeup that allows high priority tasks to wake up at exactly the time specified for msleep (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Re: sys_timer
 
(...) Yes. (...) That is right. (...) It does, actually. The timer itself counts the millisec. But if you do a wait_event() call, your running program gives up its time slice, the OS waits for the event and then continues your task with the next (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  sys_timer
 
I recently adopted legOS as my development environment and I have to say I tremendously impressed. Thanks to everyone who has worked so hard on it. It is really a first class, grade A product. Is sys_timer accurate to within 1 ms? unsigned long (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Re: installing legOS 0.2.6?
 
(...) I noticed this the other day. The link to 0.2.6 is broken (as is one other link in the document). Please accept my apologies as I missed it during my testing. I'll fix the document source and post the new version to the web. Meanwhile please (...) (22 years ago, 1-May-02, to lugnet.robotics.rcx.legos)
 
  installing legOS 0.2.6?
 
Hello! I have been following the instructions for installing legOS 0.2.6 according to: (URL) but failing to dowlnload the actual legOS file (legos-0.2.6.tar.gz .). Why is this so? (22 years ago, 1-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Want to help? Use LNP or LEGO IR Remote Control?
 
(...) Pretty cool / innovative idea! I also like the codesize reduction this would be. I'm also looking at the post by Ted Hess. His blend of the two patch solutions seems intrigueing. I'll look at that solution too. Either way, the final form we (...) (22 years ago, 30-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Lego IR Remote - What is max send rate?
 
Stephen - I've recently taken a couple of patch postings to legos.sourceforge.net by Ross Crawford and Zhengrong Zang and have come up with a hybrd solution (on 0.2.6) to implement the remote control. I am quite happy with the results. The original (...) (22 years ago, 29-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Want to help? Use LNP or LEGO IR Remote Control?
 
(...) Pressing a motor key continously gives a short run of the motor and then it stops. To let the motor run, one has to press the remote control motor key very fast. Why not run the motor with the appropriate key and if one wants to stop the (...) (22 years ago, 29-Apr-02, to lugnet.robotics.rcx.legos)
 
  Want to help? Use LNP or LEGO IR Remote Control?
 
We are looking for help testing a very-early integration! We have added all existing LNP patches and we have added (NEW) support for the LEGO Infrared Remote Control to the released 0.2.6 to create this new test version. If you are an avid LNP user (...) (22 years ago, 28-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Multiple source files
 
(this comes up because I'm finally trying to incorporate these changes into the next release of legOS... -Stephen) (...) This part didn't work for me! The dependency only rule didn't work. I'm running on Debian (GNU make 3.79.1, as shown by 'make (...) (22 years ago, 28-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Multi Source Programs
 
(...) Frank, This question has come up a number of times. I spent some time on this answer so I'd understand the current state of this problem. Part of the answer is found in an earlier post from Pat Welch: (URL) Some changes in our makefiles have (...) (22 years ago, 28-Apr-02, to lugnet.robotics.rcx.legos)
 
  Multi Source Programs
 
I am developing some code and would like to compile multiple sources in one program. I cannot figure out how to do this. All the make targets seem to only allow one source file. What are my options? Can I compile my source as a library? If so how? (...) (22 years ago, 27-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Lego IR Remote - What is max send rate?
 
(...) I am not exactly sure, but you might consider using a vector in the robot so if a key is missed it continue on the same vector. In order to accomplish this you would need to have messages for keypresses and keyreleases. So if the robot does (...) (22 years ago, 27-Apr-02, to lugnet.robotics.rcx.legos)
 
  Lego IR Remote - What is max send rate?
 
I'm working on the motor key handler for legOS support of the IR remote. I'm looking at service rates of keypresses at the remote. In studying how The Mindstorms OS responds to the remote I noticed that holding the key down (for motor keys) kept the (...) (22 years ago, 27-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: How to orientate a robot?
 
Fredrik, I notice you are planning on using MATLAB/Simulink for simulating transition diagrams and testing your design. Did you know that if you have Real-Time Workshop you can generate auto-code for the MindStorm it self without having to recode or (...) (22 years ago, 26-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: Help request : LegOS 2.5, demo/c++.cpp make failure
 
(...) Thanks for that info - I was thinking *I* must have done something stupid ! (...) Good point ! I hadn't yet considered the overhead aspect. Thanks for the help ! jl (22 years ago, 24-Apr-02, to lugnet.robotics.rcx.legos)
 
  How to orientate a robot?
 
Hello! I just wanted to to tell about a project that we are working at. We are two students and our instructor at the university in Gavle, Sweden. You can find more information about the project at: (URL) expected result for this work is to show how (...) (22 years ago, 25-Apr-02, to lugnet.robotics.rcx.legos)
 
  Re: constructing a new network protocol for LegOS
 
I'm a teaching assistant for a course at brown university that uses legOS and the RCX extensively. I've added quite a bit to legOS (0.2.5) to suit our course needs, but the rest is all still there. I've written up some documentation and an API for (...) (22 years ago, 25-Apr-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