acmerobotics / ftc-dashboard

React-based web dashboard designed for FTC
https://acmerobotics.github.io/ftc-dashboard
Other
171 stars 129 forks source link

Updates to SDK 7.0 and fixes crash #65

Closed serivesmejia closed 2 years ago

serivesmejia commented 2 years ago

Using the newly released SDK 7.0, the application crashes when i open ftc dashboard on the browser.

Further investigation of the issue led me to the RobotStatus class which uses the following method that was changed in the new version of the SDK.

image

After adding a .message after the method call in RobotStatus, the error seems to be fixed. This makes the next version of ftc dash not compatible with sdks lower than 7.0, which hopefully shouldn't be an issue. I will try to open another PR to the road runner quickstart today once this is released too.

serivesmejia commented 2 years ago

yeah i was just looking at that but had to go out somewhere. i will try to open another PR appropiately updating the SDK. thanks!

rbrott commented 2 years ago

Thanks @serivesmejia ! I usually like to do SDK updates myself though. I've been a bit busy these past few days, but I'm planning on landing new dash/RR releases and SDK updates soon.