|
| | Yet another Q: IR messages
|
| I can't figure out how to use the IR commands. I've tried, read a bit in the documentation, but still have no clue. I'd like to know how to: a) Send a message (and decide what message it should be) and b) learn how to recieve messages Thanks in (...) (24 years ago, 29-Mar-01, to lugnet.robotics.rcx.nqc)
| |
| ir (score: 1.515) |
|
| | Re: Running IR in the background
|
| Hannes, Did you ever get any help with your question (below)? I'm trying to use the IR port on RCX along with light sensor (passive) as collision detection device. Having the same problems you're having. Clayton (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
| |
| ir (score: 1.515) |
|
| | NQC 2.4 r2 released
|
| The only major change is the inclusion of USB support for the Macintosh/MPW version of NQC (which requires the driver and libraries from the Mac SDK available at www.legomindstorms.com) (URL) Baum (23 years ago, 23-Jan-02, to lugnet.robotics.rcx.nqc)
| |
| usb (score: 1.514) |
|
| | Robot navigation - barcode stations?
|
| Hi, Some time ago, on this or another robotics list, someone was talking about navigation and location sensing techniques for RCX based robots. After some thinking, reading through the literature and messing with some homebrew sensors I have one (...) (24 years ago, 10-Mar-01, to lugnet.robotics.rcx)
| |
| ir (score: 1.514) |
|
| | Re: Robot navigation - barcode stations?
|
| (...) Actually, if you are trying this, be aware that LEDs are typically mounted on a panel that faces the user (more or less) and as such the rounded housing of most LEDs acts as a lens which projects most of the light out toward the user rather (...) (24 years ago, 11-Mar-01, to lugnet.robotics.rcx)
| |
| ir (score: 1.514) |
|
| | cannot download RCX Code
|
| I just got my RIS last week and I've had a problem getting the IR unit to download RCX code to the RCX unit. I can download Firmware all I want and I downloaded RCX Command Center and tried downloading code from it and had no problems there either. (...) (24 years ago, 14-Mar-01, to lugnet.robotics.rcx)
| |
| ir (score: 1.514) |
|
| | Re: No CD with my new RIS 1.5
|
| The tower is just a serial device! No driver (other than that supplied by Win2K) needed! You can also use NQC to program your brick, or order RoboLab ($25) from Pitsco (www.pldstore.com). Here are my biases: RCX code teaches you *nothing* about real (...) (24 years ago, 18-Dec-00, to lugnet.robotics.rcx)
| |
| tower (score: 1.514) |
|
| | Re: Running IR in the background
|
| (...) Huge coincidence that your message should be the first I see after not having read the newsgroup for almost a year. No, as far as I can remember I never got an answer. I am using mindstorms for my final project after not having a chance to (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
| |
| ir (score: 1.514) |
|
| | Re: Running IR in the background
|
| (...) Congratulations! Could you post your source code here, to compare with the solution that we previously submitted to an almost identical question? We use an active light sensor reading in one taks, with a different task bangin zeroes using (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
| |
| ir (score: 1.514) |
|
| | Re: Running IR in the background
|
| (...) Commentary below. (...) I must have missed this one the first time around. lnp_logical_write() will block, but it should only block the thread it's called from. Put your send-zero loop in a separate thread and I think you should be set. (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
| |
| ir (score: 1.513) |
|
| | Re: Yet another Q: IR messages
|
| Hi Tobias, this could look something like this for example : int global_message; // place to store and read messages for every task task main() { start Read_Messages; // start Receive_Message Task while(true) { switch (global_message) { case 1 : (...) (24 years ago, 29-Mar-01, to lugnet.robotics.rcx.nqc)
| |
| ir (score: 1.513) |
|
| | Re: ROM Firmware size limit? Firmdl bug?
|
| (...) Hmm. Quad speed downloading in Version 3.1 doesn't seem to work under Cygwin on W2K (though single speed does). It always returns either a 'write: permission denied' of 'bad ir link' error (which one it is seems to be random!) , even if the (...) (24 years ago, 17-Mar-01, to lugnet.robotics.rcx.legos)
| |
| ir (score: 1.513) |
|
| | Re: Yet another Q: IR messages
|
| To send a message use the following: SendMessage(<variable> or <number>); The variable must be of integer type between 1 - 255 The number must be between 1 - 255 To read a message from the IR port do <variable> = Message(); This will put whatever (...) (24 years ago, 29-Mar-01, to lugnet.robotics.rcx.nqc)
| |
| ir (score: 1.513) |
|
|
| usb (score: 1.513) |
|
| | Re: Yet another Q: IR messages
|
| (...) Hi Tobias I'm not very familiar with NQC events, but if you want to use a blocking function for receiving your message, use parts of the code i posted before. int local_message = 0; int global_message = 0; task main() { //do what you like (...) (24 years ago, 31-Mar-01, to lugnet.robotics.rcx.nqc)
| |
| ir (score: 1.513) |
|
| | Re: pBricks & W2K?
|
| No, it won't, here's what I did: Install the software, it will probably crap out on parts of the QuickTime 2 & 3 installation, continue thru everything to the end. Don't bother trying to run the installed software, it won't, but the key components (...) (24 years ago, 18-Dec-00, to lugnet.robotics.rcx)
| |
| tower (score: 1.512) |
|
|
| ir (score: 1.512) |
|
| | Re: Control the RCX from AppleScript
|
| (...) Ahah! Check out the following SourceForge projects - still sadly in the VERY early stages! - for some potentially good news: (URL) too have USB devices that have been rendered useless by OS X and companies not wanting to bother upgrading (...) (23 years ago, 31-Jan-02, to lugnet.robotics.rcx.nqc)
| |
| usb (score: 1.512) |
|
| | Re: Yet another Q: IR messages
|
| If I am understanding what you want correclty (I have never used the RCX-code) only NQC then try this. Assume: RCX2 is sending message # 15 to RCX1. RCX1 is in a waiting state until it gets the message RCX code: . . . While (Message() != 15){ ++i; } (...) (24 years ago, 31-Mar-01, to lugnet.robotics.rcx.nqc)
| |
| ir (score: 1.512) |
|
| | Re: Control the RCX from AppleScript
|
| Hi Matt VideoScript is a seperate program (not written by me!), available from: (URL) uses any QuickTime compatible video device, and allows you to run AppleScript commands depending on what is seen on the video. It includes all kinds of video (...) (23 years ago, 29-Jan-02, to lugnet.robotics.rcx.nqc)
| |
| usb (score: 1.512) |