| | Re: TachoSpeed.nqc
|
|
(...) According to the NQC Programmer's Guide the Cybermaster wait time is in 1/10 seconds. This is consistent with my CyberMaster's behaviour when I set the threshold to a high value and the if routine is executed. I hadn't considered using sounds (...) (18 years ago, 13-Mar-07, to lugnet.robotics)
|
|
| | More Power Functions info released
|
|
Some info I can now release, in addition to what I've posted here: (URL) Power Functions large motors (URL) use the same metal motor inside as the NXT motors. The motor driver chip in the IR RC receiver (URL) is the same chip as the NXT motor driver (...) (18 years ago, 13-Mar-07, to lugnet.technic, lugnet.robotics)
|
|
| | Re: Robot events at BrickFest 2007
|
|
well if i ever get any time to make something i may enter. and hopefully i wont be leading any sessions during the sumo session. bob (...) Bob Kojima ko@fial.com Fial Incorporated 710 Center St Oregon City, OR 97045 503.607.1940 www.fial.com (18 years ago, 13-Mar-07, to lugnet.events.brickfest, lugnet.robotics)
|
|
| | Re: Robot events at BrickFest™ 2007
|
|
(...) Considering the VAST number of responses I've already received, you might just win by putting your NXT brick on the sumo table! Of course, if you add motors and wheels, and drive forward without falling off the table, you'd even get the bonus (...) (18 years ago, 13-Mar-07, to lugnet.events.brickfest, lugnet.robotics)
|
|
| | Re: TachoSpeed.nqc
|
|
(...) I found again an old code I wrote for Cybermaster to do avoiding based on tacho slowdown. The trick is indeed to drive at a low power level, or the wheels simply sleep and there is not enough slowdown to be reliable. Philo ---...--- task main (...) (18 years ago, 13-Mar-07, to lugnet.robotics)
|
|
| | lejos on UBUNTU linux?
|
|
Hi, I'm trying to build the lejos release on UBUNTU linux and I get the following error. Any help appreciated. Thanks, Ted pawlicki@robotnik:~/lego/build$ ant Buildfile: build.xml clean: [echo] saving existing files to .bak files libnxt: [taskdef] (...) (18 years ago, 13-Mar-07, to lugnet.robotics)
|
|
| | Re: Robot events at BrickFest™ 2007
|
|
Ooh, NXT-Sumo! David, I sure hope you'll be running your "Getting to know the NXT" breakout session BEFORE the sumo contest is held! My NXT remains sealed and unopened on a shelf in my Lego room. I'll bring it, and maybe I'll learn enough to be (...) (18 years ago, 13-Mar-07, to lugnet.events.brickfest, lugnet.robotics, FTX)
|
|
| | Re: TachoSpeed.nqc
|
|
(...) The question you need to answer for yourself is this: Do I want my robot to to potentially execute both if blocks in sequence or do I only want the second if block to execute if the first condition is known to be false? If you only want the (...) (18 years ago, 13-Mar-07, to lugnet.robotics)
|
|
| | Re: TachoSpeed.nqc
|
|
(...) For the RCX wait times are in 1/100 of a second. Is that the same for the Cybermaster? If so the reverse and turn times are a little short (as well as the motor ramp up period). I could see how it would be difficult to notice the robot backup (...) (18 years ago, 13-Mar-07, to lugnet.robotics)
|
|
| | 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? (...) (18 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, (...) (18 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. (18 years ago, 12-Mar-07, to lugnet.robotics)
|
|
| | 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 (...) (18 years ago, 12-Mar-07, to lugnet.robotics)
|
|
| | Re: TachoSpeed.nqc
|
|
Doesn't this make more sense. (...) The way it was written you hardly ever checked the TachoSpeed because most of the time was spent in the Wait(20). I assume the Wait is in there to allow the robot to get up to speed before you start checking for a (...) (18 years ago, 12-Mar-07, to lugnet.robotics)
|
|
| | Re: TachoSpeed.nqc
|
|
(...) I 've done just that, but the problem I describe persists: When the TachoSpeed reported by watching the brick is around 57, the brick doesn't do anything if the response value is set to 62. It does at 66 or 67 but that also makes it impossible (...) (18 years ago, 12-Mar-07, to lugnet.robotics)
|
|
| | Re: TachoSpeed.nqc
|
|
(...) The problem is almost certainly that your program only runs for about 2 tenths of a second. If you want the program to run forward continuously and execute a special behavior if at some point during the execution of the program the TachoSpeed (...) (18 years ago, 11-Mar-07, to lugnet.robotics)
|
|
| | Re: NXT Turkey MOC
|
|
Really nice! I recently built the original bug from the descriptions in the "10 Cool Lego Mindstorms RIS 2 Projects' book but the program files that come with it are all lsc files. I'm having a hard enough time learning NQC to try to make sense of (...) (18 years ago, 10-Mar-07, to lugnet.robotics)
|
|
| | TachoSpeed.nqc
|
|
I'm trying to write a simple routine that uses the TachoSpeed value to see if my Cybermaster has run into something. I'm trying this on tiled floor, by making the bot with tank threads run into the wall, but only very occasionally does it actually (...) (18 years ago, 10-Mar-07, to lugnet.robotics)
|
|
| | Robot events at BrickFest™ 2007
|
|
There will be a number of interesting robotic activities at (URL) BrickFest™ 2007>, which is fast approaching. Don't forget, if you haven't registered yet but wish to attend, the preregistration deadline is March 15th. Here's a summary of the (...) (18 years ago, 10-Mar-07, to lugnet.events.brickfest, lugnet.announce, lugnet.events, lugnet.fun.community, lugnet.robotics, FTX) !
|
|
| | Real Robots Article
|
|
I've just posted an article published in this month's Electronic Design Magazine about the LEGO Mindstorms NXT and Real Robots on my Blog (URL).For design inspiration there's a small video clip of a Handy Cricket Line Following robot for your (...) (18 years ago, 10-Mar-07, to lugnet.robotics)
|