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 / 20250
  RE: RCX & RIS, a fading glory?
 
Andy (...) That's a very good point that I hadn't considered. But it's easily solved. The whole PC knows id 23948756 as "Motor1". But within a particular program, you're allowed (but not forced) to use aliases. So within your program you say for (...) (22 years ago, 5-Feb-03, to lugnet.robotics)
 
  Re: RCX & RIS, a fading glory?
 
(...) Yes - exactly. With this approach it's inevitable that you'll need either: 1) Some mapping between a horribly unfriendly unique ID and a friendly name. ...or... 2) A way of storing a friendly name inside the device itself (eg by connecting the (...) (22 years ago, 5-Feb-03, to lugnet.robotics)
 
  RE: RCX & RIS, a fading glory?
 
I think it'll be easier to edit the source code where the mapping is done and modify it to MY_FRIENDLY_DEVICE_NAMES So, the pBrick would deal with Device_ID's, my PC would deal with Friendly_Device_Names (through a file with current Device_ID = (...) (22 years ago, 5-Feb-03, to lugnet.robotics)

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