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 / 22699
  Re: Competitive MINDSTORMS: Now in a store near you!
 
(...) I finally downloaded and read the bonus chapters as well, and (of course) got confused. I've only been using NQC for a little over a year, so it could be my inexperience, but I knew C for several years prior to using NQC, so I'm not a complete (...) (20 years ago, 22-Aug-04, to lugnet.robotics)
 
  Re: Competitive MINDSTORMS: Now in a store near you!
 
(...) Yes, from what you say, both logical and bitwise AND would work. My book is only a guide, so although I use bitwise, you can feel free to use logical. (...) The trick is, there isn't code that stops the counter-rotating wheels or task Spin! (...) (20 years ago, 23-Aug-04, to lugnet.robotics)
 
  Re: Competitive MINDSTORMS: Now in a store near you!
 
(...) Given what you say in the boxed text, do you ever use logical AND in a program? (...) Well, here's the code in question. I've removed blank lines, but the spacing & punctuation is preserved: task Crash() { SetPriority(1); while(true) { (...) (20 years ago, 23-Aug-04, to lugnet.robotics)
 
  Re: Competitive MINDSTORMS: Now in a store near you!
 
(...) Truthfully, I rarely use any type of AND, so I can't really say! :) (...) Excellent observation! I guess, when I was creating the code, I just decided to put that code in with the Crash task. You can however, place it elsewhere where it won't (...) (20 years ago, 23-Aug-04, to lugnet.robotics)

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