-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Conversation
Update K9 bot disclaimer and Remove non-generic .pdf file names.
Conflicts: .gitignore
This reverts commit c6684a5.
@JacobAMason @ftctechnh @tomeng70 Hey guys, have you considered merging this commit? It would help rookie FTC teams, and they should have the new software as soon as possible. |
@PranavMathur I'm not actually part of this decision process, but to get a PR merged, it's going to really need to be in the direction that the designers want this to go. It might be best, in the meantime, for @ZachOhara to set up an easily cloneable branch that rookies could use. I haven't personally had the time to review this PR; the load time is a small concern, speaking as a former FTA, but it seems like a nice addition. It would be great if others could check this out and report back on the results. |
@JacobAMason We've run tests on the new and old systems, and the load time is negligible, especially compared to the time it takes in the current system to rebuild the entire app and download it onto the phone. |
I wouldn't exactly say that it's negligible, but it is not likely to be |
@PranavMathur @ZachOhara Remember that the drivers will need to be able to restart the robot remotely from the Driver Control station. I haven't checked your code, but that reset should be taken into account. If at all possible, the jars should stay loaded across the reset, but I'm not sure how the reset affects the Robot Controller. |
All the code that deals with the jars has been added through
FtcOpModeRegister, so it's supposed to cleanly replace whatever previous
system there was for registering robot code. I don't know if resetting the
robot re-loads code, but if it does, this can be accounted for. I'll need
to do some more testing to fully account for this.
I should add that this is a preliminary version. I can and will improve it
to better fit the design of the apps, and the needs of FTC teams and
volunteers.
|
I think your best bet here is to simply maintain a fork I am NOT an official FIRST voice, but my guess is that In general pull requests should be broadly applicable without A better place to publicize this change is on the forums, And a general courtesy best practices thing to remember is to never Craig On Fri, Sep 11, 2015 at 11:25 PM, Zach Ohara notifications@github.com
|
11/3 Concept Lift
Sahithi 1/2/18
stall update
FollowWall Changes
After only a little while working with Android Studio, I started to realize how much faster my workflow could be if I didn't have to deal with Android Studio. I wrote some software that will read jar files out of the "/FIRST/" folder on the phone's SD card, and register those with the app. This has a number of advantages, which I plan to explain all of.
First, here are the general steps as to how the app opens the jar files:
OpMode
, it is added to a list of valid op modes.FtcOpModeRegister.register(OpModeManager)
, all the op modes in the list are registered.Advantages of this process:
Disadvantages of this process:
Overall, I strongly feel that this will make the development process easier for all teams interested in using Java programming to control their robot.
Here is full list of changes (trivial or not) that have been submitted with this pull request:
DalvikCompiler
andOpModeClassLoader
. Both of these are in theopmode
package, and have javadoc comments included for almost all members.Accidentally removed FtcRobotController.iml. This was a mistake, and will need to be reverted before the app will compile.This mistake has been corrected.FtcRobotControllerActivity
to tabs. It appears a formatter was let loose on the code, and this can be just as easily solved with another formatter. Besides this, no substantial or functional changes have been made to the activity.opmodes
package to thesampleops
package. They are also no longer registered in the app, but can be re-registered easily and as needed.