 | | Re: why doesn't this work?
|
|
(...) I think that means for the first 27 times through the loop, the value for SENSOR_1 changes every time. So all the values would be 0 or 1. Instead of storing the timeout, try creating a seperate counter that's incromented each time through the (...) (22 years ago, 30-Nov-04, to lugnet.robotics)
|
| |
 | | Re: AFOLs and Mindstorms
|
|
(...) Three hours for building and programming is *extremely* tight, even with a second two hour session the next day if everything had to be done from scratch. I've run a couple of competitions that way, but only because more time wasn't available. (...) (22 years ago, 30-Nov-04, to lugnet.lego, lugnet.robotics)
|
| |
 | | Re: why doesn't this work?
|
|
(...) 2000 (...) Yes (it shows up fine on the watch graph) Steve here's the whole program #define TRUE 1 #define FALSE 0 int Vvariable; int Aforward=1; int speed; int maxspeed=0; int timeout=0; int array[27]; task main() { //start speedcontrol; (...) (22 years ago, 30-Nov-04, to lugnet.robotics)
|
| |
 | | Re: AFOLs and Mindstorms
|
|
(...) The main thing is that it's even for everyone. Allowing everyone to bring pre-written code is fair. On the other hand, not allowing anyone to bring pre-written code would also be fair. It kind of comes down to how they want to organize the (...) (22 years ago, 30-Nov-04, to lugnet.lego, lugnet.robotics)
|
| |
 | | Re: why doesn't this work?
|
|
(...) What is the value of inc when you're done? And, is SENSOR_1 defined as a rotation sensor? (and active?) Steve (22 years ago, 30-Nov-04, to lugnet.robotics)
|
| |
 | | Re: AFOLs and Mindstorms
|
|
(...) Oh, that makes sense. I guess I was too excited about the possibility of a new sensor that I overlooked the obvious! -- David Schilling (22 years ago, 30-Nov-04, to lugnet.robotics)
|
| |
 | | why doesn't this work?
|
|
I've written a program to record the timing of a rotation sensor changing in an array, but all I get out is zero's and the occaisonal 1 or 4. I've checked several things but can't find any obvious problem. The program compiles and runs perfectly and (...) (22 years ago, 30-Nov-04, to lugnet.robotics)
|
| |
 | | Re: RCX and the 9v system - help needed!
|
|
(...) There are many ideas out there. Here's one: Build Cows... (URL) (22 years ago, 30-Nov-04, to lugnet.robotics)
|
| |
 | | Re: RCX and the 9v system - help needed!
|
|
Hi and thanks for the link! My problem isn't so much a problem more of a "I've got these LEGO computers, I don't build robots, now how do I make use of them" kind of thing. :) I think, unfortunately, the building or converting of an RCX is beyond me (...) (22 years ago, 30-Nov-04, to lugnet.robotics)
|
| |
 | | Re: AFOLs and Mindstorms
|
|
(...) Huh. They might want to clarify/restrict that, just a bit. Unless they really mean for people to write all their code ahead of time, and bring it with them. Steve (22 years ago, 30-Nov-04, to lugnet.lego, lugnet.robotics)
|