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 / *2204 (-40)
  Re: Dave Chen's Function List
 
(...) Message 1001, in case anyone was wondering. Better yet: (URL) been looking for something like this as well, so thanks for pointing me in that direction. Is there a more recent version? -- David Schilling (23 years ago, 13-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Configuring LegOS with USB tower under Win2K.
 
Hi Aaron, Thanks for your quick reply. Thank you for the USB fix. I have also done as you suggested and altered the path under #NT - I forgot the drive letter should have been specified //x where x is the drive, C:, D: etc. I have now eliminated (...) (23 years ago, 10-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Configuring LegOS with USB tower under Win2K.
 
Thanks for your interest Dave. The source for the USB tower Win2k patch is located at anonymous ftp://134.29.51.4 I can also give you one hint to get you going on configuring legos for cygwin. The most problems I have had are with the (...) (23 years ago, 10-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Measuring robot turn angle
 
(...) Another option would be to connect a single rotation sensor directly to the motor that turns your robot. (you may wish to gear it down) You could not detect the distance forward or backward (from the other motor), but you could calculate the (...) (23 years ago, 10-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Measuring robot turn angle
 
(...) I have done this, although not with a differential. My solution used a rotation sensor on each axel, and good navigation can be done with that. Since you can guarantee that both axels turn the same amount, a single rotation sensor should be (...) (23 years ago, 10-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Measuring robot turn angle
 
(...) Robert, I have been playing with this problem a bit. Another approach is to power each tread with a separate motor, use a differential assembly to add the shaft rotation from both sides and use a rotation sensor to 'control' to a zero (...) (23 years ago, 10-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: USB, Windows, legOS
 
Hi Don and Aaron, Any chance of sending me the patches for the USB Tower to work under Cygwin. I may be able to help get the patches working. I have some experience with Win95/98/2K. Dave W. (...) (23 years ago, 9-Jan-02, to lugnet.robotics.rcx.legos)
 
  Measuring robot turn angle
 
The drive system in my robot is an adder-subtractor (see (URL) which uses two differentials in order to get equalized forward/reverse drive while allowing turning and pivoting (turning in place). For navigational purposes, the robot should be able (...) (23 years ago, 9-Jan-02, to lugnet.robotics.rcx.legos)
 
  Configuring LegOS with USB tower under Win2K.
 
Hi Everyone, Does anyone have any info. on setting up and using the new USB tower with Cygwin and the H8 cross-compiler for LegOS under Win2K. These are the instructions I am currently following :- (URL) would also be very grateful for any more (...) (23 years ago, 9-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Linux driver for USB Tower
 
Have a look at: (URL) I'm not involved! (...) (23 years ago, 9-Jan-02, to lugnet.robotics.rcx.legos)
 
  Linux driver for USB Tower
 
Hi all, is anybody developing a Linux driver for the USB Tower shipped with Mindstorms 2.0. Stewart (23 years ago, 8-Jan-02, to lugnet.robotics.rcx.legos)
 
  Driving R/C servos and interrupt latencies
 
Hi, I finally succeeded in driving up to 7 R/C servos from the RCX using a shift register and a re-triggerable monostable (for synchronization) all driven from the FTOA output line (senor B, AC coupled into a transistor) . This involved switching (...) (23 years ago, 6-Jan-02, to lugnet.robotics.rcx.legos)
 
  Dave Chen's Function List
 
Dave Chen's Function List (Published on lugnet.robotics.rcx.legos on April 16 2000) Very useful!! Thks. Regards -- CarlosLuis Rendón M. Network Manager (23 years ago, 4-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: VC++6 and LegOS
 
Definitely it works. Thanks steve. Regards. -- CarlosLuis Rendón M. Network Manager "Steve Hassenplug" <steveh@mailcode.com> escribió en el mensaje news:GpBrn5.6nL@lugnet.com... (...) arguments' (...) (23 years ago, 2-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: VC++6 and LegOS
 
I have my Visual Studio set up so I can make programs, download programs, and download firmware all from the 'tools' menu in VS (VC++). So far, the only thing I'm not set up for is editing the 'makefile' file. Under 'Tools>Customize...' select the (...) (23 years ago, 2-Jan-02, to lugnet.robotics.rcx.legos)
 
  remote control using PIC16F877
 
Hello everyone. I've just developed a remote control for the RCX using the PIC16F877. It's very useful due to the fact that it does not need a computer, but still needs the ir tower (the serial one, sorry I'll try to adapt the project tu use the new (...) (23 years ago, 2-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Unable to compile helloworld.c
 
I've got 2 be honest: I'm new in LegOS, but I've had a similar problem. I decided to create a new project (inside de /demo dir) and I couldn't compile at the beginning, but I edited the file .depend and I copied the last section (the one for rover) (...) (23 years ago, 2-Jan-02, to lugnet.robotics.rcx.legos)
 
  VC++6 and LegOS
 
Hi, I'd like 2 know if there's a way to integrate VC++ 6 and LegOS, not 4 debugging, but for use VC as editor (very good as editor) and then just compile inside the IDE??? -- CarlosLuis Rendón M. Network Manager (23 years ago, 2-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: LNPD: communication between clients
 
(...) Great, thank you very much. Btw, didn't you diff in reverse order (I grabbed version 1.2.4.2)? The lines to add begin with "-"... Eric (23 years ago, 31-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: LNPD: communication between clients
 
In adding LNP support to EmuLegOS I needed this feature in the lnpd. If you grab EmuLegos there is a patch for lnpd that will add the feature you are looking for. The patch has nothing to do with EmuLegOS so you can apply it without setting up the (...) (23 years ago, 30-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: host address
 
(...) Do you have a patch? (...) I'm writing a compiler (automaton model of the robot to C). With dynamic addresses, it could manage an "addresses pool", and simply add a call to change the address when the program starts... On the other hand, if (...) (23 years ago, 30-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: host address
 
Eric, see the thread started by Zhengrong Zhang on 11/5/01 about this. short: we can't find any compelling reason to hardcode the address. I'm not sure about Zhengrong, but I've modified my copy of LegOS to support "dynamic" addresses (i.e. can (...) (23 years ago, 30-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: How to make shared memory....not
 
Hi Steve, (...) Yes. Actually, I am working on a robot that finds a path trough a maze. After solving the maze, a second program can run through the maze with the informations from the first program. (I will do this with shared mem). Both programs (...) (23 years ago, 28-Dec-01, to lugnet.robotics.rcx.legos)
 
  LNPD: communication between clients
 
It seems that when a client of lnpd sends data to the IR tower, these are not sent to the other clients connected to the daemon. Unfortunately, I really need this feature... So I tried to call "deliver_packet(tx_buffer, tx_end-tx_buffer);" in (...) (23 years ago, 28-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: How to make shared memory....not
 
(...) Yes, I'm sure I can. And I think it would be 'safer' that way. But Mike's idea about functions sounds interesting. I don't really have any idea about how I would use that in a real program, but it sure sounds interesting. Steve (23 years ago, 27-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: How to make shared memory....not
 
I think this is what you want, but I am still learning. :) int inc (int&); int dec (int&); int (*pFunc) (int); //pointer to a function that accepts/returns an int if (add) { pFunc = inc; } else { pFunc = dec; } int a = pFunc(10); So, if add is true, (...) (23 years ago, 27-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: How to make shared memory....not
 
(...) ooohh. I like that idea. So I can write one program with all my functions and my other programs can just include a couple function calls. Again, in my VB world, I don't mess with pointers. When you have a minute, can you type up a sample (...) (23 years ago, 27-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: How to make shared memory....not
 
(...) Yes. That is the only thing you have to do. You can store whatever you want. (...) Exactly. If you know you what you do, nothing bad can happen. BTW., this scheme can be extended to something like a shared library. If you store pointers to (...) (23 years ago, 27-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: How to make shared memory....not
 
(...) Thanks, Michael. This appears to be exactly what I'm looking for. I assume if I want to store more values, I can just change the 'shared' struct, right? (add l, m, n...) When you say 'multitasking problems', you're talking about storing & (...) (23 years ago, 27-Dec-01, to lugnet.robotics.rcx.legos)
 
  How to make shared memory....not
 
(...) You ask for it, you get it. BUT: It works, sort of. It will not survive any multitasking problems. Shared memory has to be handled by the OS, not by a user program. I split your problem to 3 programs. Program 1 allocates the memory and prints (...) (23 years ago, 22-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: USB, Windows, legOS
 
I tried the patch and still get the error "Error 6 GetCommState". Anyone know what this error means and what I can do to correct it? I would really like to get legOS running. (...) (23 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: Storing Data
 
(...) It was suggested by some of my 'c++' co-workers that this was the case (shared memory was available). However, I don't deal with that in my Visual Basic world. They also suggested there were 'unused' memory blocks in LegOS where data could be (...) (23 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: Storing Data
 
(...) As there is no memory management, any memory not on the stack is by definition shared between any threads. Concurrency control is up to you however. John A. Tamplin jat@jaet.org 770/436-5387 HOME 4116 Manson Ave 770/431-9459 FAX Smyrna, GA (...) (23 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: Storing Data
 
(...) What you request is shared memory and shared memory is not a part of legOS. My way to simulate shared mem is to put the two (or more) tasks into one legOS program. Each task is started as a thread by an execi() call, triggered by the user via (...) (23 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
 
  LNP: host address
 
Is there a reason to "hardcode" the host address using a define (LNP_HOSTADDR)? Things would be easier for me if I could change the address at run time (when calling lnp_init). Is it safe to replace the defines by a variable? Eric (23 years ago, 21-Dec-01, to lugnet.robotics.rcx.legos)
 
  Proximity
 
Next question: Does any one have a proximity routne (code) I can review (steal) using LegOS, a light sensor, and the IR port? I've used the NQC stuff, but now I've moved up to LegOS. I haven't been able to find the right commands for the IR port. (...) (23 years ago, 20-Dec-01, to lugnet.robotics.rcx.legos)
 
  Storing Data
 
When using LegOS (a most excellent creation, btw) is it possible to store a value and use it in different programs? Actually, I'm sure it is, but how would someone do it? I want to have one program to configure my light sensor, and use those values (...) (23 years ago, 20-Dec-01, to lugnet.robotics.rcx.legos)
 
  Re: Serial Port (IR Tower) communication procedures with LegOs
 
If you mean standard firmware message, I think you should use my remote control patch for legOS025, you can find them at (URL) luck! Zhengrong (...) (23 years ago, 19-Dec-01, to lugnet.robotics, lugnet.robotics.rcx.legos)
 
  Re: How to get interval of time
 
(...) correct? Yep, that's how I do it & it seems to work. ROSCO (23 years ago, 18-Dec-01, to lugnet.robotics.rcx.legos)
 
  How to get interval of time
 
In NQC, I can use ClearTimer(0) and Timer(0) to get interval of time, how can I do it in legOS? I used t1 = sys_time, then t2 = sys_time, so interval = t2 - t1, is it correct? Zhengrong (23 years ago, 18-Dec-01, 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