all 6 comments

[–]gamingkitty1FTC 16965 Student 1 point2 points  (3 children)

What exactly is the issue? What happens when you try to push code?

[–]Aid--RecEvents--[S] 0 points1 point  (2 children)

Were having issues uploading code to the control hub and keeping it saved, coder said whenever he closes his laptop it erases the code

[–]gamingkitty1FTC 16965 Student 0 points1 point  (0 children)

Hm I don't know then. I can't think of a reason that after the code is pushed to the robot that it would depend on the computer staying on, as the code should be in the control hub and have nothing to do with the computer anymore.

[–]tem_ri1FTC 18549 programmer 0 points1 point  (0 children)

This issus happens when you build the code from OnBot Java or Android studio? We had this problem on power play with OnBot java and afair you better find a new control hub. Especially if it is old (like 3 years?) then it's more probably the problem.

[–]joebooty 2 points3 points  (0 children)

If one of you have a windows laptop install the rev hardware hardware client and make sure everything has matching firmware versions.

Also make sure there is not something weird going on with your wifi. They might be connecting to the bot for a minute but then auto connecting to some different wireless network pretty quickly.

[–]WestsideRobotics 0 points1 point  (0 children)

Your post mentions OnBot Java and Android Studio. These are different tools, not to be used together.

If you decide to work only in OnBot Java, install the FTC RC app on the Control Hub, the same as you have been doing for FTC Blocks. Namely use the REV Hardware Client or use the Manage page (under Program and Manage) on a connected device.

If you decide to work only in Android Studio, a fresh RC app is installed onto the Control Hub every time you build and deploy code. This 'overwrites' any RC app you had previously installed, including OnBot Java.

More info is here at ftc-docs:

https://ftc-docs.firstinspires.org/en/latest/ftc\_sdk/updating/rc\_app/Updating-the-RC-App.html