diff --git a/docs/course-material/lab-1.rst b/docs/course-material/lab-1.rst index 208bab9..4d7d752 100644 --- a/docs/course-material/lab-1.rst +++ b/docs/course-material/lab-1.rst @@ -86,6 +86,8 @@ Step 4. Connect and calibrate electronics **Important:** *To set a motor controller to a certain ID, click (short press) press to put the motor controller into id-setting mode, then click N more times in quick succession, where N is the desired ID. Eg, for a desired ID of 3, press 3 more times after the first click.* +**Another gotcha:** *In all the other labs and reference material, the motors are indexed 1-8. In the C++ code, they are indexed 0-7. So if you set a motor ID to 1, you must call* ``bus.Get(0)``. *The same goes for all methods provided by the C610 Teensy library.* + Step 3. Run the starter code ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/docs/course-material/lab-2.rst b/docs/course-material/lab-2.rst index 5e45d45..0e34b1d 100644 --- a/docs/course-material/lab-2.rst +++ b/docs/course-material/lab-2.rst @@ -17,7 +17,11 @@ Step 1. Connect 2 more motors #. Connect power and encoder cables from motors to controllers. #. Connect power and CAN cables from controllers to Pupper PCB. Make sure the CAN cables go into the same row (row near the Teensy). -#. Set the new motor controllers to have different IDs. Use 1, 2, and 3. **Important:** *To set a motor controller to a certain ID, click (short press) press to put the motor controller into id-setting mode, then click N more times in quick succession, where N is the desired ID. Eg, for a desired ID of 3, press 3 more times after the first click.* +#. Set the new motor controllers to have different IDs. Use 1, 2, and 3. + +**Important:** *To set a motor controller to a certain ID, click (short press) press to put the motor controller into id-setting mode, then click N more times in quick succession, where N is the desired ID. Eg, for a desired ID of 3, press 3 more times after the first click.* + +**Recall:** *In all the other labs and reference material, the motors are indexed 1-8. In the C++ code, they are indexed 0-7. So if you set a motor ID to 1, you must call* ``bus.Get(0)``. *The same goes for all methods provided by the C610 Teensy library.* Step 1.5. Control the 3 motors together ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^