| | Ball Passing between RCX Robots
|
|
Hello everyone, I'm currently fooling around with my Mindstorms to get two RCX robots to ball pass between them. As there are only 3 inputs on RCX, I've used 1 for ball sensing, 1 for a touch sensor(to feel for the ball) and 1 which I'm planning to (...) (21 years ago, 7-Aug-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
(...) My favorite means of grabbing the commands I type and their output is to set the buffer size of my DOS window to something very large and just select the text with my mouse via click and drag. Then I right click in the DOS window to copy the (...) (21 years ago, 6-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
(...) Tom, You can always use the classic pipe to command, >. For example $ make strip > output.txt But I don't think this dumps any error messages to the file; only to the screen. So I would try something similar to the commands in buildgcc.sh, (...) (21 years ago, 6-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
Thanks, Max, John, and Ed for your help. I will try some of the suggestions this afternoon after work. I will also post some more helpful output if someone will remind me how to port Cygwin output to a text file (and DOS output?) I read the command (...) (21 years ago, 6-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: sys_time not working
|
|
It works! My mistake was that i only checked the "Command Reference" link that obviously refers to a previous version of legOS. So thank you very much. See you at the Olympic Games in our city Athens . "John Hansen" <JohnBinder@aol.com> wrote in (...) (21 years ago, 6-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: sys_time not working
|
|
(...) Use get_system_up_time() instead (as modified below). #include <conio.h> #include <unistd.h> #include <time.h> #include <tm.h> #include <dsensor.h> #include <dmotor.h> long int t1,t2,t; int main(int argc, char *argv[]) { ......... ........ (...) (21 years ago, 5-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | sys_time not working
|
|
Hi i install successfully brickOS-0.2.6.10 under Win2000 without any problems and ran successfully "helloworld.lx" I created one first elementary small program using the sys_time function. The problem is that it doesn't compile correctly. The (...) (21 years ago, 5-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
[SNIP] (...) [SNIP] Tom, I would follow Max's advice about posting your commands and output here. But one thing that might cause issues with your setup is your path. It looks like the windows dos commands (C:\WINDOWS\COMMAND) come before your cygwin (...) (21 years ago, 5-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
(...) I would not try to follow both of these instructions. Pick one and do just exactly what that set of instructions says to do. My favorite, naturally, is the second set (since getting the right set of GCC source code and compiling it without (...) (21 years ago, 5-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
(...) PATH=C:\WINDOWS;C:\W...IN\H8300-0 00821\H-I686-CYGWIN32\BIN; (...) OK, the best way to get help is: * Start with the *first* problem which occurs. Problem #3 is very likely the cause of #1 and #2. * Show *exactly* the commands you typed and (...) (21 years ago, 5-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | BrickOS installation with WinME and Cygnus problems
|
|
Hello, I have spent several hours trying to install BrickOS on my Windows ME system. I am a novice with C/Cygwin/linux, so have been diligently searching the Lugnet posts for clues. That has gotten me a little farther each day, but now I am _really_ (...) (21 years ago, 5-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Problems with BrickOS installation
|
|
(...) I would recommend using the pre-built Hitachi tools which are still available from my BricxCC website. (URL) simpler than trying to download all the right versions of the GCC source code. John Hansen (21 years ago, 4-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Problems with BrickOS installation
|
|
Hi, I'm following these directions explicitly: (URL) installed just fine. When I run buildgcc.sh it dies trying to assemble libgcc1.S. The comments at the top of the file cause syntax errors. The comments are dilineated with ";;". How can the (...) (21 years ago, 3-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote controller problem
|
|
(...) Then this is the first time ;) It was indeed the compiler. Using those versions you named in your message, my compiled brickOS.srec file works as well. The lr_startup and lr_shutdown calls don't make any difference, whether they are in or out. (...) (21 years ago, 29-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote controller problem
|
|
(...) Great. (...) I use h8300-hms-gcc-3.1-1.i386.rpm h8300-hms-binutils-2...1.i386.rpm but I never heard from anyone that some gcc version produces a bad brickOS system. Strange, indeed. Regards, Michael (21 years ago, 28-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote controller problem
|
|
Hi Michael, Thank you for sending me your brickOS.srec and .lds files. When I use these ones, the remote control works just fine, with or without the lr_startup and lr_shutdown calls, and with or without a running program. (...) Yes, exactly. I have (...) (21 years ago, 28-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote controller problem
|
|
"Michael Obenland" <obenland@t-online.de> wrote in message news:HIqqFv.1Iwz@lugnet.com... (...) starting (...) I think the call to lr_shutdown() in Christian's program clobbered things such that the remote may no longer be useable unless the power (...) (21 years ago, 28-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote controller problem
|
|
(...) Strange. To get it clear: If you download a fresh made brickOS.srec, you can't use the remote control to start a motor or start a program and if you press the beep-key, the rcx does not beep?? Does your remote work with the original Lego (...) (21 years ago, 28-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote controller problem
|
|
Try removing the calls to lr_startup() & lr_shutdown(). I think these already get called outside of your program. (Sorry, don't have time to test right now). Mark "Christian Hornung" <c-hornung@gmx.de> wrote in message news:HIq2o2.Ht4@lugnet.com... (...) (21 years ago, 28-Jul-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote controller problem
|
|
(...) No, it doesn't. The IR indicator flickers, but running motors or starting the program doesn't work. In fact, I didn't know that there is a "default handler" until reading your message. Might the problem be caused by wrong versions of gcc or (...) (21 years ago, 28-Jul-03, to lugnet.robotics.rcx.legos)
|