I have loaded v 3.04 on my class set of NXT's. On several bots when we want to run a motor, they will not run. The program compiles and downloads and all sensors work fine. On the debug window the motor speed is 50 and the PID is at 100 ( as it should be if the motor doesn't run). I can physically turn a motor and the encoders count. This is the first time I've run across this problem, but I was using earlier versions. Any help would be greatly appreciated as our eighth grade is going to do a unit on robotics and programming in a week or so.

It is better to use the Motors and Sensors Setup UI to configure your motors than what you're doing now. You can find this under the "robot" menu.

Also, there is no point in constantly setting the motor speed, set it once, and then just let it do its thing if you're not going to make any changes. The code below should work more like what you'd expect.

Thanks for the quick reply. With the same program it all of a sudden started working. Go figure. That has happened numerous times. We just installed Windows 7 and I don't know if that had anything at all to do with it. Anyway, thanks.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum