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 / *1039 (-5)
  Re: lnp communication question
 
You just pass an array and give the length, to send it. In theory you can send packets with a size up to 255 bytes (look in this group, the info is in here somewhere), but sending 1 byte has a packet loss of aprox. 1% and 4 bytes aprox. 10%, over (...) (24 years ago, 17-May-00, to lugnet.robotics.rcx.legos)
 
  Re: local variables
 
(...) I think you're confusing the issue a little bit. LegOS only initializes GLOBAL variables when the program is loaded. So, for example, a global variable declared like: int foo = 4; Will only be initialized to 4 when the program is loaded. If (...) (24 years ago, 17-May-00, to lugnet.robotics.rcx.legos)
 
  local variables
 
Hi! I read that legOS only declared varibles the first time the program is run. Does this mean I cannot use local variables. I have loops in different functions using 'i' as looping variable, which is locally declared. Should I avoid this? Tobias (24 years ago, 16-May-00, to lugnet.robotics.rcx.legos)
 
  Re: lnp communication question
 
(...) So the length-argument tells lnp_integrity_write how many bytes to send? Doesn't that mean that it would be possible to send an array consisting of many integers, for example? How would this be done? (...) We plan to build a six-legged lego (...) (24 years ago, 16-May-00, to lugnet.robotics.rcx.legos)
 
  winlegos compiler problem
 
I am trying out the lnp functionality with addressing and such, and of course I had to recompile the legos kernel. That, in itself, seemed to go without a hitch, but when I later tried to compile one of the demo programs, this is what I got. djecho (...) (24 years ago, 16-May-00, 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