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 / *2614 (-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: 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)
 
  Re: help with setting up legOS 0.2.6 on Windows XP
 
Scott, I suggest you start by following the instructions by Paolo Masetti found at (URL) He has written a pretty thorough set of instructions that should get you started. I do suggest that you read it over once BEFORE starting so you don't miss (...) (22 years ago, 2-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