To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 23909
23908  |  23910
Subject: 
Mindstorms SDK and IR communication
Newsgroups: 
lugnet.robotics
Date: 
Fri, 22 Apr 2005 20:56:59 GMT
Original-From: 
Richard Davis <[rdavis@sharplogic.com]NoSpam[]>
Viewed: 
905 times
  
I have a quick question to those that have used the Ghost API as part of the
Lego Mindstorms SDK.  The setup that I have is the following:  Mindstorms
SDK 2.5, IR tower, RCX 2.0.  At the moment I am using GhSetWaitMode and have
a callback method for the responses.

The question has to do with how long GhExecute takes to execute command
queues with this setup.  Assume that the queue being sent has just one get
value command in it.  It is taking GhExecute 110 to 150ms to do its job.
First of all, is that performance you would expect to see for round trip
communication with the RCX brick using IR?  When I append 3 commands into a
command queue, GhExecute takes 450ms or so to do its job, so there doesn't
seem to be much of a performance gain by batching commands in this way.
Does anybody have some insight into the operation of GhExecute or solutions
to speed up the IR communication speed?


Richard Davis



Message has 1 Reply:
  RE: Mindstorms SDK and IR communication
 
Yes. I have a suggestion. Don't use Ghost. It's a performance pig. Now for some realistic advice. Go into the "Lego USB Tower" control panel. Change the timeouts to 0 for write, and 70 and 50 for read instead of "100 and 200". See if this gives you (...) (19 years ago, 23-Apr-05, to lugnet.robotics)

2 Messages in This Thread:

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

Custom Search

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