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 / *46314 (-5)
  Re: TachoSpeed.nqc
 
(...) Sorry. I meant to say 'the brick never executes the if statement'. (...) I don't see 1) how I could make an if/else statement or 2) what the benefit would be. 1) If I make an if/else statement isn't 'else' executed always if 'if' is not true? (...) (20 years ago, 12-Mar-07, to lugnet.robotics)
 
  Re: TachoSpeed.nqc
 
(...) You assumed correctly. Without the wait the if statement is always executed immediately. I see what you mean: by taking the wait out of the start of the loop the sensors are checked more frequently. That doesn't solve the riddle though, (...) (20 years ago, 12-Mar-07, to lugnet.robotics)
 
  NXT now has atan2 function block
 
Download atan2 (and atan, sin, cos, sqrt blocks) at www.convict.lu/Jeune...sIntro.htm for NXT-G. Please report any bugs. (20 years ago, 12-Mar-07, to lugnet.robotics)
 
  Re: IR tower problems on a laptop with NQC
 
(...) Does the green light in the tower come on at all when you try to send the message? Is the light only on when you are trying to communicate? If the light is always one I would look for another application that is trying to use the serial port. (...) (20 years ago, 12-Mar-07, to lugnet.robotics.rcx, FTX)
 
  Re: TachoSpeed.nqc
 
(...) I don't really understand what you mean when you say "the brick doesn't do anything". Can you be more specific? (...) They will both be executed in sequence if at the time the second if statement reads the TachoSpeed setting on OUT_L it (...) (20 years ago, 12-Mar-07, to lugnet.robotics)

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

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