Closed TeamTorch5942 closed 7 years ago
Yes, we will be updating as soon as we test the updates made to ftc_app and make the necessary upgrades. (We will release this update to master as soon as the library is ready for a version upgrade.)
Since our team is currently at competition and unable to test, any help would be appreciated - if you or any other team wishes to contribute, fork this repository, upgrade the app, test what you can and create a pull request. That way, you get what you need and can also contribute back to the project!
Thanks! smo-key :bear: and LASA Robotics
@TeamTorch5942 We updated the app to the most recent February 9th release in the dev
branch. Once the library is completely stable and reviewed, the changes will move to master
. However, you can upgrade to the dev
branch if you would like.
@smo-key I think I misunderstood a few things, so I've got some questions if you don't mind. Thanks for your help developing this library, its been super helpful for our team.
master
really stable and so we won't release until changes are tested.dev
branch. However, I would also not just upgrade to the dev
branch unless you have to. If the only thing you want to change is upgrading the app, here is the process overview:ftc_app
and git checkout [branch]
, where [branch]
is either master
(highly recommended) or beta
.FtcRobotController/libs/
folder from ftc_app
into your Robot Controller's libs/
folder (overwrite any files inside).FtcRobotControllerActivity.java
from FtcRobotController/src/main/java/com/qualcomm/ftcrobotcontroller/FtcRobotControllerActivity.java
and replace your local copy.FtcRobotController/src/main/java/com/qualcomm/ftcrobotcontroller/opmodes
to your OpMode directory (we use the opmodes/first
folder inside robot controller in the /sample
in FTCLib. This step often causes some issues as some opmodes are not compatible. It is generally safe to delete or comment out these opmodes so that they do not interfere with the build.File > Restart and Invalidate Caches
(this may take a few minutes) then attempt to build the app. Issues may occur due to incompatibility. Should any arise, you will need to fix these manually on a case-by-case basis.Let us know how this works out, smo-key :bear:
Hi @smo-key, we followed your instructions and the app compiles correctly, but opening settings on the robot controller crashes the app. Any idea what's causing it?
Edit: fixed by uninstalling the driver station app on our robot controller phone. Not sure why that was an issue, but everything seems to be fine now.
@TeamTorch5942 I figured out why that issue happens - the underlying issue is that if two apps with differing versions of Qualcomm's libraries are on the phone, then the app doesn't know which version to open. It is also VERY BAD to have any two apps with Qualcomm's libs on a single phone. (One of our teams didn't advance partly because the conflicts caused our robot to immediately lose connection - by the time we figured it out, it was too late.)
Hope y'all did well at Supers! Good work figuring that out. We'll roll out another release soon. smo-key :bear:
Hi, ftc_app was just updated. will you guys be updating your repo too?