Forum: Java
14-12-2016, 15:31
|
|
Replies: 6
Views: 540
|
Forum: Java
17-11-2016, 12:47
|
|
Replies: 6
Views: 359
|
Forum: Java
16-11-2016, 12:50
|
|
Replies: 6
Views: 540
Re: This is to help all new programmers
Here is our GitHub repositories (https://github.com/trc492?tab=repositories). It contains the code from previous seasons back to 2015 when we switched to GitHub. We developed a library on top of the...
|
Forum: Java
07-11-2016, 23:00
|
|
Replies: 5
Views: 323
|
Forum: Java
02-10-2016, 13:48
|
|
Replies: 3
Views: 3,265
|
Forum: Java
02-10-2016, 00:33
|
|
Replies: 3
Views: 3,265
|
Forum: Java
22-09-2016, 23:10
|
|
Replies: 2
Views: 325
|
Forum: Java
22-09-2016, 11:57
|
|
Replies: 11
Views: 462
Re: Missing CANTalon class
The CAN ID is not a random number. It needs to match the ID you assigned to the actual motor controller. I don't think 0 is a valid CAN ID. You need to connect to the web interface of the RoboRIO and...
|
Forum: Java
01-08-2016, 14:04
|
|
Replies: 7
Views: 462
Re: FTC NullPointerException
Please try this instead. I think the initialization of rd is too early. Moving it to the init() method should work. BTW, this is primarily an FRC forum, you may get better response from the FTC...
|
Forum: Java
31-07-2016, 20:12
|
|
Replies: 7
Views: 462
Re: FTC NullPointerException
No. Your main class (Brain) is extending OpMode class which means it inherited everything the OpMode class has http://ftckey.com/apis/ftc/com/qualcomm/robotcore/eventloop/opmode/OpMode.html. One of...
|
Forum: Java
30-06-2016, 12:13
|
|
Replies: 5
Views: 384
|
Forum: Java
16-06-2016, 18:15
|
|
Replies: 2
Views: 406
|
Forum: Java
22-05-2016, 01:33
|
|
Replies: 8
Views: 740
Re: Code Review: Semi-Novice
We don't do command based programming and also not knowing what each subsystem is supposed to do, I just looked through the code and found a couple of minor optimizations on boolean expressions.
...
|
Forum: Java
10-05-2016, 19:53
|
|
Replies: 9
Views: 1,001
Re: Command Based V iterative V Custom?
Your code implemented a framework. It is a light weight framework but it is still essentially a library although it is structured not very library friendly (i.e. all reusable code scattered in...
|
Forum: Java
04-05-2016, 16:43
|
|
Replies: 9
Views: 1,001
Re: Command Based V iterative V Custom?
The design of our library is supposed to be as easy to use as Iterative robot but also supports complex scenarios you can find in command-based code but simpler to understand.
|
Forum: Java
21-04-2016, 23:18
|
|
Replies: 9
Views: 1,001
Re: Command Based V iterative V Custom?
It's not necessarily better but our team has developed a library for the past eight years. It was in C++ first but we converted it to Java last year when we switched to Java. This year, we even...
|
Forum: Java
29-03-2016, 20:28
|
|
Replies: 4
Views: 528
|
Forum: Java
18-03-2016, 14:55
|
|
Replies: 18
Views: 1,715
|
Forum: Java
18-03-2016, 13:44
|
|
Replies: 13
Views: 1,357
Re: WPILIB Camera Code Crashing JVM
Why do you have to create a new image every time you do a getImage? You can pre-allocate it one time as a class variable and just keep re-using the same created image buffer. That's how we did it in...
|
Forum: Java
18-03-2016, 02:24
|
|
Replies: 18
Views: 1,715
|
Forum: Java
16-03-2016, 05:14
|
|
Replies: 4
Views: 824
|
Forum: Java
16-03-2016, 05:05
|
|
Replies: 18
Views: 1,715
Re: Access the Auto List on Driver Station in Java
We are using the SendableChooser and it works great with the SmartDashboard. We have 8 choices in our autonomous. The list is displayed on the SmartDashboard and we can click and select any one of...
|
Forum: Java
16-03-2016, 04:51
|
|
Replies: 7
Views: 629
|
Forum: Java
07-03-2016, 14:13
|
|
Replies: 13
Views: 1,357
Re: WPILIB Camera Code Crashing JVM
We used to have a C++ library that has a vision target class. It allocates a frame buffer to process each camera image it receives. When we switched over to Java, we ported this class to Java. We...
|
Forum: Java
03-03-2016, 20:44
|
|
Replies: 2
Views: 512
Re: Java Deploy Error
Looks like you have a run-away recursion. What is on line 51 in robot.java? It is somehow calling startCompetition.
|