| | Remote control under linux
|
|
Like (URL) devellop a program to emulate the mindstorms remote controller under linux I'm using GTK, here is a snapshot : (URL) you want to have it download it here : (URL) compile it you have to install gtk-dev 2.0 and compile with this option : (...) (22 years ago, 23-May-03, to lugnet.robotics.rcx)
|
|
| | Re: Remote control under linux
|
|
(...) Nice work! Glad to see a native Linux version of this. Quickly scanning your source code (no Linux machine to run it on today!) I notice that you send RCX opcodes in order to emulate the effect of each button on the remote. This is an (...) (22 years ago, 23-May-03, to lugnet.robotics.rcx)
|
|
| | Re: Remote control under linux
|
|
Oh chris I have a litle problem. I want to execute the program 1 and it stop when I stop to send the message Is there an other code to send to hand this progrma ? nanobapt (22 years ago, 25-May-03, to lugnet.robotics.rcx)
|
|
| | Re: Remote control under linux
|
|
(...) I'm not sure I understand the question. Are you saying that you want Program #1 to start when you press button P1 and stop running when you release the button? This isn't how the remote works, but you could just have your program send the Stop (...) (21 years ago, 28-May-03, to lugnet.robotics.rcx, FTX)
|
|
| | Re: Remote control under linux
|
|
(...) No my program stop when I stop to send the code to run the #1 program ..... So I want to keep it work :\ nanobapt (21 years ago, 2-Jun-03, to lugnet.robotics.rcx)
|
|
| | Re: Remote control under linux
|
|
(...) Looking at your program, I see that you use code like the following to "run" a program: else if(data == P1) code0=0x91+alt; code1=0x00; send(2); This will only do half of the job. This is a "Set Program Number" opcode, which is the equivalent (...) (21 years ago, 3-Jun-03, to lugnet.robotics.rcx, FTX)
|