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 / 3772
3771  |  3773
Subject: 
Re: Communication Speed, PC -> RCX, LEJOS!
Newsgroups: 
lugnet.robotics.rcx.java, lugnet.lego.dacta, lugnet.robotics.edu, lugnet.robotics.rcx.legos
Date: 
Wed, 14 Jul 2004 01:28:52 GMT
Viewed: 
131 times
  
Hi Anders In lugnet.robotics.rcx.java, Anders Gaasedal wrote:
  
My problem is the communication speed from the PC to RCX, it takes about 0.5 sec before the IR tower sends the message (1 byte) to the RCX. I use the lejos software and the pcrcxcomm.jar and I use the RCXF7PORT for communication.

I could not repeat your experiment exactly because I don’t have a joy stick. So instead I wrote a pair of programs that send single byte messages between the PC and the RCX. The RCX adds 1 to the incoming byte and immediately send it back. The PC then echoes it back to the RCX. I am using the LeJos RCXF7Port, InputStream and OutputStream. I count about 4.2 round trip messages per second. The PC side code sends the first byte in response to a mouse click. The delay between the mouse click and the tower light coming on is too short to observe. The light then appears to stay on continuously. Perhaps the delay you are seeing is not in the communications, but somewhere else in your code? Good luck, Roger



Message has 1 Reply:
  Re: Communication Speed, PC -> RCX, LEJOS!
 
(...) Hi Roger, Thank you for your help, it is a bit strange that you dont see any problems, since it is the same protocols we are using. I dont think the joystick is the problem since I have the same problem with inputs from keyboard or mouse, but (...) (20 years ago, 19-Jul-04, to lugnet.robotics.rcx.java, lugnet.lego.dacta, lugnet.robotics.edu, lugnet.robotics.rcx.legos, FTX)

Message is in Reply To:
  Communication Speed, PC -> RCX, LEJOS!
 
Hi everyone, Im working on a project with controlling a large Container Crane by 4 RCXs. I have implementet some controlling and a lot of functions in the model, including a userinterface made in Java for a laptop. The crane is controlled by a (...) (20 years ago, 7-Jul-04, to lugnet.robotics.rcx.java, lugnet.lego.dacta, lugnet.robotics.edu, lugnet.robotics.rcx.legos, FTX)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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