To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *9380 (-20)
  lejos program terminating immediately
 
Hi, I'm trying to use leJOS to display the current value of the rotation sensor I have hooked up to Sensor Port 1, but when I run the program, the RCX just beeps and ends the program immediately. Here's my code: import josx.platform.rcx.*; public (...) (19 years ago, 10-Aug-05, to lugnet.robotics.rcx.java)
 
  RE: good way to detect the proximity of the RCX?
 
Yes, that requires the RCX to receive. What I am looking for is a function which is much like the "is RCX in view" in the direct mode. This function allows the IR tower to detect any RCX in range, even the RCX is in in idle state, but just on, .... (...) (19 years ago, 10-Aug-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
 
  Re: good way to detect the proximity of the RCX?
 
(...) Not sure what you mean here. You could certainly program some RCX's to "ping" each other to determine if they are in mutual IR range. RCX-A sends out a message & listens for a reply, while any other RCX that "sees" such a message immediately (...) (19 years ago, 10-Aug-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
 
  good way to detect the proximity of the RCX?
 
Hi I understand that Robolab has a feature to detect if the RCX is in view thru the direct mode. However, this only means it has to face toward the IR tower which connected to the PC. Then, how about the way a RCX's capability to detect the whether (...) (19 years ago, 9-Aug-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
 
  Re: ScriptEd - Question
 
(...) The MindScript compiler is very buggy when it comes to reporting the actual location of a compiler error, unfortunately. The wrapper I wrote that is used within BricxCC tries to account for the problems it has and adjust the error information (...) (19 years ago, 8-Aug-05, to lugnet.robotics.rcx)
 
  Re: Extending IR communications
 
Hello all. The mirror trick works for sending the signals from the IR tower to the RCX (I'm only using a single RCX). However, the return signal the RCX wants to send to the tower isn't transmitted across the mirror. Since you mentioned leJOS and (...) (19 years ago, 8-Aug-05, to lugnet.robotics.rcx)
 
  Re: Question - VB programming of RCX
 
(...) Sure. And VC++ and VC#. And now .NET (...) It was here (URL) (19 years ago, 8-Aug-05, to lugnet.robotics.rcx)
 
  Re: Question - VB programming of RCX
 
(...) I don't know of many people who use VB to actually program the RCX. It is very possible to do, however, it's not like you may think. You can write a PC program in VB that will send the commands (a program) to the brick, but you still have to (...) (19 years ago, 8-Aug-05, to lugnet.robotics.rcx)
 
  Re: Extending IR communications
 
In terms of power requirements and battery life, has anyone here actually quantified how much of a difference that makes? Its a damn good idea - as long as you have white, and relatively flat ceilings. If you dont want/are not able to reposition (...) (19 years ago, 6-Aug-05, to lugnet.robotics.rcx)
 
  Question - VB programming of RCX
 
Hi, Are there people who program there RCX with Visual Basic (VB)? If so, where can i find info about that? I do have VB5. Regards, Ludo (19 years ago, 7-Aug-05, to lugnet.robotics.rcx)
 
  RE: Extending IR communications
 
Orient both RCXs so that they are pointing towards the ceiling. Set the RCX transmit power level to high (default is probably low power); there's probably some Lejos function to do this -- all it requires is setting one bit in an I/O register to 1. (...) (19 years ago, 5-Aug-05, to lugnet.robotics.rcx)
 
  Re: Extending IR communications
 
(...) Have you tried a mirror? Infrared light IS light ! (19 years ago, 5-Aug-05, to lugnet.robotics.rcx)
 
  Re: Errors compiling threads
 
(...) Hi Steve, Thanks, you were right about the compiler being ok. I changed "pid_t" to "tid_t" and got the thread statements working correctly. Finally, by consulting BrickOS documentation I found out the new syntax for the old "sys_time" command (...) (19 years ago, 4-Aug-05, to lugnet.robotics.rcx.legos)
 
  Re: ScriptEd - Question
 
(...) Check the line before that. Your code says: // direction_ // direction of monorail const delay1=1500 // minimum stop time in station (10 seconds) const delay2=3000 // maximum stop time in station (30 seconds) // I'm not sure exactly what (...) (19 years ago, 4-Aug-05, to lugnet.robotics.rcx)
 
  Re: ScriptEd - Question
 
(...) Hi Steve, I see the message apearing in the status bar, but it's an error! Error is : Error (0xe0050801) from VPBrick compiler The error apears in following line: const delay1 = 1000 // minimum stop time in station (10 seconds) The word (...) (19 years ago, 4-Aug-05, to lugnet.robotics.rcx)
 
  Extending IR communications
 
Greetings helpful companions. Now that I've buttered you up, let's move on... I've built a robotic arm using my RCX 1.0 brick. I'm controlling it via my computer with LeJOS (not important, I think). What my issue arises is if my arm rotates, the IR (...) (19 years ago, 4-Aug-05, to lugnet.robotics.rcx)
 
  Re: Errors compiling threads
 
(...) I don't think it's a problem with the compiler. There have been changes to the BrickOS code over the years. I know the value sys_time has been replaced with the function Get_sys_up_time(). You should be able to add this line at the beginning (...) (19 years ago, 4-Aug-05, to lugnet.robotics.rcx.legos)
 
  Errors compiling threads
 
Hi all, I am new to C programming but I was able to build the C programming/compiler enviroment with cygwin and brickos 2.6.10 following the instructions at (URL) Later I upgraded to brickOS 0.9.0 and the compiler seems to be working fine most of (...) (19 years ago, 4-Aug-05, to lugnet.robotics.rcx.legos)
 
  Button events with NQC
 
Hallo, I am new to developing software for the RCX using NQC. I have some experience using Java programming with Lejos. My Question: Is there a way to react to button events, and how? What I mean is, that I would linke to ask, wheater the e.g. (...) (19 years ago, 3-Aug-05, to lugnet.robotics.rcx.nqc)
 
  Re: ScriptEd - Question
 
(...) When you click the download button (or press Ctrl+D) it should give you a message in the status bar, at the bottom of the screen. Steve (19 years ago, 3-Aug-05, to lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR