Setting up a new robot (Roborio)
Rio and Radio setup
- Flash rio
- If it's a rio 2, use balena etcher
- If it's a rio 1, use the roborio imaging tool
- Set the roborio's team number
- Although there is a roborio team number setter tool, it sucks and sometimes doesn't work. Use the roborio imaging tool to set the team number regardless of it's a rio 1 or 2
- Flash radio
- Connect to the radio over ethernet
- Go to http://radio.local
- Set the team number
- Set the robot name
- Set the password to YETI3506
- Hit apply
- Power cycle
- Deploy code
CTRE Setup
- Connect to robot
- Verify CAN busses are all good
- All devices should be flashing orange
- Make sure all IDs are unique
- Devices of different types can have the same ID. Devices of the same type cannot have the same ID
- e.g. A Kraken X60 and a Pigeon can both have ID 1, but there can only be one Kraken X60 with the ID of 1
- Devices of different types can have the same ID. Devices of the same type cannot have the same ID
- Update CTRE firmware
- License motors
- Name motors
- Set IDs
- Sync with code
- Confirm motor directions
- Sync motor directions with CANcoders
- Zero CANcoders
- Save CANcoder offsets in code
- Deploy code
- Power cycle