Hot answers tagged programming
It is quite common for the tires to slip and cause this type of behavior. For example, here is a similar question. The answer here is the same. Make sure your center of gravity puts most of the weight of your bot on the drive wheels. Make sure the tires and the surface your are driving on are free of dirt/dust. Use sensors to help compensate for any ...
Since you are trying to solve a Rubik's cube, check out the source code for the MindCuber. The solution there is that the values are not actually converted into colors. Rather the raw values are converted to HSV and then sorted by hue. The actual value does not matter, just how close it is to the other values. The Mindcuber also has a white calibration. ...
You could start here for example: LEGO MINDSTORMS NXT Tutorials Overview For a generic C# introduction see here: C# Tutorials or The complete C# Tutorial or C# Tutorial or just do a Google search for "C# tutorial".
I know that this question is old, but if someone else has this question, I have found that these error messages often appear when you are either trying to access a non existent array (i.e. you copied the block from another project and you did not change the name of the variable) OR when trying to access a value of an array with an index that does not exist ...
Only top voted, non community-wiki answers of a minimum length are eligible