acmerobotics / road-runner-quickstart

FTC quickstart for https://github.com/acmerobotics/road-runner
BSD 3-Clause Clear License
187 stars 997 forks source link

I am getting an hardware map is outdated error when I init my drive. #333

Closed ayoda1122 closed 9 months ago

ayoda1122 commented 9 months ago

RR FTC Version

0.1.9

Observed Behavior

I have my declaration in my auto base that is extended to my opmodes

Tuning Files

No response

Robot Logs

No response

rbrott commented 9 months ago

Can you post the exact error message? Do you mean that your Lynx firmware is outdated?

ayoda1122 commented 9 months ago

Yes, that was the error. But at the moment I cant run it to get the error again

rbrott commented 9 months ago

Okay then you need to follow the instructions here: https://ftc-docs.firstinspires.org/en/latest/ftc_sdk/updating/hub_firmware/Updating-Hub-Firmware.html

ayoda1122 commented 9 months ago

Sorry just found the error message I was thinking of another error here is the current error IMG_2044

rbrott commented 9 months ago

You're constructing the drive object too early. Wait to construct it until runOpMode()/init().