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 / *2259 (-20)
  Re: Incorrect result
 
(...) Yes, this is what happens when one is used to just making everything long and not considering overflows. Even worse was that I was doing the math on the computer's calculator, but not looking at the intermediate result, just typing in the (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Incorrect result
 
(...) 256 * 128 = 32768, one higher as the biggest positive integer value. The cast to long would help, but your cast is too late. I have not tested, but I think rc += ( (long)b->magnitude * (long)TA_costable[...] ) >> 7; will help. Try output in (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
 
  RE: Incorrect result
 
<snipped code> (...) Robert, this is a classic problem with ranges of singed numbers in C rx = (long)(a->magnitude * TA_costable[a->direction]) >> 7; I don't have an RCX in frot of me, but I think you need to cast a->magnitude to long before the (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
 
  Incorrect result
 
This problem, unlike the other, is definitely not a result of my eyes/brain being tired or something. I thoroughly displayed every value before and after evaluation and the result is ***WRONG***. Here is the code and the values: typedef struct { int (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
 
  RE: true tcp/ip on the RCX
 
Hi :) Just out of curiosity, check this thread from Jan/2000: (URL) mc. (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: true tcp/ip on the RCX
 
(...) <snip> (...) <snip> Yeah, I've got a server farm of 3 million RCXs. Each hosts errrrr... 1 page. ;-) Great job Olaf! Steve Martin IndyLUG (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: true tcp/ip on the RCX
 
"Olaf" <christ_o@gmx.de> schrieb im Newsbeitrag news:Gqo0BH.E9t@lugnet.com... (...) calls (...) <---snip----> Hi Olaf, i think it´s the wrong way to blow up the legOS kernel with a ip-stack, because you lost valuable RCX memory to legOS (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: true tcp/ip on the RCX
 
<Mr Burn's> Excellent!!! I've seen some neat ideas but, this one takes the cake hands down.... Especially that it also appeared on www.slashdot.org makes it even more impressive.. Bravo to you.. Can't wait to see the webpage.. Wayne (...) (23 years ago, 30-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: true tcp/ip on the RCX
 
I will be axiously awaiting the web page too! This has many fun/useless possibilities! Email it to me or post it on this thread if you can. thanks nate www.nullgel.com (23 years ago, 29-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: true tcp/ip on the RCX
 
plz email me the url when u get it running thx -p (...) (23 years ago, 29-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: Strange behavior
 
In lugnet.robotics.rcx.legos, Robert Templeton writes: Nothing like talking to yourself :), but I did finally find the problem and it is in the code. It isn't always what's there, but what's not. Here's the offending section: (...) Instead of (...) (23 years ago, 29-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: LNP Routing daemon with tcp/ip for RCX/legOS, Cybermaster/NQC
 
Hello NG, if you are interessted : there is a newer version of lnpoi available. there was a bug in the cybermaster-driver. refer to (URL) (23 years ago, 29-Jan-02, to lugnet.robotics.rcx.legos)
 
  true tcp/ip on the RCX
 
I ve got the very first and only tcp/ip enabled RCX in my room, cool, eh ? I will make a webpage at the end of the week to make the very first (rudimentary, but working) version available to the public. Right now, the tcp/ip stack is compiled into (...) (23 years ago, 28-Jan-02, to lugnet.robotics.rcx.legos) ! 
 
  Strange behavior
 
This code was working last night, but I removed some superfluous functions copied with the set (such as moveBackward() and pivotRight()) since they were not being used. All of a sudden, the robot turns okay, but never moves forward. It just sits (...) (23 years ago, 28-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: newbie
 
Hi Paula, While NQC is a nice place to start, you might want to consider LEJOS which, like legOS has its own firmware but it uses Java instead of C. It can do much more than NQC, and is quite bug free. Find out more at (URL) luck. (...) (23 years ago, 25-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: libm, windows
 
(...) No chance to get this running under legOS. You can do some float math like addition or multiplication but no trigonometric functions. Look in legOS/lib/float to see what can be done with the legOS floating point library. Mike (23 years ago, 24-Jan-02, to lugnet.robotics.rcx.legos)
 
  libm, windows
 
has anyone had success with using libm in windows? I have legOS programs written from a solaris machine that compile fine and work when downloaded to the RCX, but I have not been able to compile them on a windows machine due to linking problems. The (...) (23 years ago, 24-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: thread class for legOS
 
(...) In the post you replied to saying "static doesn't matter", the proposal was: private: static int runWrapper(...) ; I then replied to your post, etc. Anyway, let's not degenerate into he-said-she-said. We're really just talking past each other (...) (23 years ago, 22-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: thread class for legOS
 
(...) In fact, neither of these suggestions will work with the code as it stands, because the runWrapper() function tries to call the Run() function, which is a non-static member function. You could pass a pointer to the class instance (this) in the (...) (23 years ago, 21-Jan-02, to lugnet.robotics.rcx.legos)
 
  Re: thread class for legOS
 
(...) Unless you define a function as a member function, there is no this parameter at all. In the example given, it was not a member function at all (nor should it be). I believe you are thinking of a static member function vs. a non-static member (...) (23 years ago, 21-Jan-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