Tag Info

Hot answers tagged

1

There are a few options for the cause of the error. It could be at the microprocessor level, meaning that the execution of the program is wrong, or it could be at the motor driver port, meaning that the NXT tries to drive the motor attached to the specific port but can't due to some electrical failure. The first option can be eliminated by using other forms ...


1

The main problems I see are the following: The value in the numRight variable is wrong for two reason: The 'right' sensor is not reseted at the proper time and you read the 'left' sensor value instead of the 'right'. The angle calculation is faulty The half rotation is performed in the wrong direction Here are my code comments: //Move forward until you ...


1

Disclaimer: I have never used the EV3 interface, only the text based programming languages for the NXT. Therefore I might be proven wrong. I need a reliable way to read the gyro sensor readings I think the gyro sensor should have come with the appropriate instructions to do that. If not, you can find many tutorials online, such as this: ...



Only top voted, non community-wiki answers of a minimum length are eligible