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 / *6360 (-5)
  Thread class
 
// Thread Class for Legos // By Pongsak Suvanpong // psksvp@ccs.neu.edu // use it anyway you'd like as long as this comment is here #ifndef __THREAD_CLASS___ #define __THREAD_CLASS___ #include <unistd.h> #include <sys/dsensor.h> #include (...) (22 years ago, 5-Jun-02, to lugnet.robotics.rcx.legos)
 
  Re: bug in setting lnp host address?
 
you'll probably hate me for being a nitpicker.... (...) technically, you should not do any bitshifting at all. There is always the odd case when someone decides to be clever and have a hostmask with interleaved zeros. for example, a hostmask of (...) (22 years ago, 5-Jun-02, to lugnet.robotics.rcx.legos)
 
  Re: Robolab 2.5 upgrade
 
I know this is a little behind the times... I have Robolab 1.5. Can i purchase the Robolab 2.5 upgrade for version 1.5? On pldstore.com the Robolab upgrade is listed as "Robolab 2.0 to 2.5 upgrade" so it seems that 1.5 is ineligible for upgrade (...) (22 years ago, 4-Jun-02, to lugnet.robotics.rcx.robolab)
 
  Re: bug in setting lnp host address?
 
You are correct in stating that I shouldn't have restricted you to 16 nodes X 16 ports. I did however, want to normalize the host address in the visible API and user interfaces to be a small 0..N number instead of a random hex byte value, properly (...) (22 years ago, 4-Jun-02, to lugnet.robotics.rcx.legos)
 
  bug in setting lnp host address?
 
include/lnp/lnp.h (from the cvs repository) 114: file://! set new LNP host address 115: extern inline void lnp_set_hostaddr(unsigned char host) 116: { 117: lnp_hostaddr = ((host << 4) & CONF_LNP_HOSTMASK); 118: } Why is host bitshifted by 4? This (...) (22 years ago, 4-Jun-02, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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