the reset motor block

To be technically correct, NXT-G doesn’t have a way to prevent the firmware from making the adjustment. However, you can reset the adjustment value to zero using the Reset Motor block (shown in Figure 4-40), which has the same effect. The Configuration Panel (shown in Figure 4-41) is very simple; you just select the motors you want reset.

The Reset Motor block

Figure 4-40. The Reset Motor block

Configuration Panel for the Reset Motor block

Figure 4-41. Configuration Panel for the Reset Motor block

Adding a Reset Motor block before the second Move block fixes the CoastBack program (see Figure 4-42 ...

Get The Art of LEGO MINDSTORMS NXT-G Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.