| | Re: Basic NQC Problem Ralph Toepper
|
| | (...) Big place to ask your questions here. I'll try to answer it, best i can. (...) You should switch of the motors and StopAllTasks in the check_sensor() task, if the bumper is hit. The main task does not furthermore look like that algorithmic as (...) (19 years ago, 12-Nov-05, to lugnet.robotics)
|
| | |
| | | | Re: Basic NQC Problem Brian Davis
|
| | | | (...) There's a couple of ways to fix it. One is as Raplph said - have the first task start up a dedicated second task that does nothing more than look for a touch in a very tight loop. Very roughly, it would work something like this: task (...) (19 years ago, 13-Nov-05, to lugnet.robotics)
|
| | | | |
| | | | | | Re: Basic NQC Problem Cameron Hooper
|
| | | | Thanks to both Brian and Ralph. Your responses were very detailed and helpful. I've played around with the suggested code and learnt a lot. Are events relatively new in NQC? I purchased a second hand copy of David Baum's Definite Guide (1st ed). I (...) (19 years ago, 15-Nov-05, to lugnet.robotics)
|
| | | | |
| | | | | | Re: Basic NQC Problem Brian Davis
|
| | | | (...) They first came out with the release of the latest version of the firmware back in March 1999, but they are sadly not well documented, except in one place I know of... (...) ...in Dave's excellent *2nd* edition of this book, he dedicates (...) (19 years ago, 15-Nov-05, to lugnet.robotics)
|
| | | | |
| | | | | | Re: Basic NQC Problem Philippe Hurbain
|
| | | | (...) While the 2nd edition should indeed have some firmware v2 informations (I don't have this edition), the (very useful) chapter 4 covering the new firmware is actually in the Extreme Mindstorms book (ISBN: 1893115844). Philo (19 years ago, 15-Nov-05, to lugnet.robotics)
|
| | | | |