Upload firmware - NTheuws/linorobot2_software GitHub Wiki
Ensure that the robot pass all the requirements before uploading the firmware: These can all either be found in the lino_base_config.h or have to do with the motor tests from before.
- Defined the correct motor rpm.
- Motors' IDs are correct.
- Motors spin in the right direction.
- Encoders' signs are correct.
- Defined the correct encoder's COUNTS_PER_REV.
- Defined the correct robot type.
- Defined the correct motor driver.
- Defined the correct IMU.
- Defined the correct wheel diameter.
- Defined the correct distance between wheels.
Run:
cd linorobot2_hardware/firmware
pio run --target upload -e <your_teensy_board>
Previous step: Create connection
Next step: Testing robot