Go to Post If they want my business, then they should act accordingly. If they don't, I am quite happy to take my business (and that of my $16.5 billion organization) elsewhere. - dlavery [more]
Home
Go Back   Chief Delphi > Search Forums
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

Showing results 1 to 25 of 500
Search took 0.02 seconds.
search: Posts Made By: mikets
Forum: Java 14-12-2016, 15:31
Replies: 6
Views: 540
Posted By mikets
Re: This is to help all new programmers

What kind of practical help do you need? Software installation instructions? Sample code?
Forum: Java 17-11-2016, 12:47
Replies: 6
Views: 359
Posted By mikets
Re: How to get data from an Arduino and send it to a Roborio

I2C devices have the concept of master/slave. Only the master can initiate a bus transaction. In your case, the RoboRIO is the master and the Arduino is the slave. So the RoboRIO needs to issue a...
Forum: Java 16-11-2016, 12:50
Replies: 6
Views: 540
Posted By mikets
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
Posted By mikets
Re: Getting axisCamera image result in an exception somtimes

My understanding of the NIVision code is that it's actually written in C++ natively and have a Java wrapper. Because of this, the Java garbage collector doesn't reclaim image buffers allocated by...
Forum: Java 02-10-2016, 13:48
Replies: 3
Views: 3,265
Posted By mikets
Re: Android Studio Error: CreateProcess Error = 216

Are you sure you have a 32-bit Win7? It is kind of rare with newer computers nowadays. According to your info, the JDK you downloaded was 32-bit so that's fine. But the Android Studio does not have...
Forum: Java 02-10-2016, 00:33
Replies: 3
Views: 3,265
Posted By mikets
Re: Android Studio Error: CreateProcess Error = 216

You may get a better response from this forum:
http://ftcforum.usfirst.org/forumdisplay.php?159-Android-Studio
Forum: Java 22-09-2016, 23:10
Replies: 2
Views: 325
Posted By mikets
Re: Talon SRX Breakout Board with Hall Effect Encoders

ChA -> ChA
ChB -> ChB
V+ -> VCC
V- -> GND
Leave the IDX (index) pin unconnected.
Is the motor the NeveRest motor from Andy Mark? If so, their pin out...
Forum: Java 22-09-2016, 11:57
Replies: 11
Views: 462
Posted By mikets
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
Posted By mikets
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
Posted By mikets
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
Posted By mikets
Re: RobotBuilder and first Java code.... help needed

If you swapped the motors and the problem remains and since the lights on the motor controllers are functioning properly, it means the problem is either in the wiring, most likely the connectors or...
Forum: Java 16-06-2016, 18:15
Replies: 2
Views: 406
Posted By mikets
Re: build failed - build.xml class not found

Two things:
1. Have you installed JDK? In other words, did you following the "Getting Java" section in the following...
Forum: Java 22-05-2016, 01:33
Replies: 8
Views: 740
Posted By mikets
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
Posted By mikets
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
Posted By mikets
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
Posted By mikets
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
Posted By mikets
Re: Button assignment for specific motors

The method you need is this:

public boolean getRawButton(final int button);
Forum: Java 18-03-2016, 14:55
Replies: 18
Views: 1,715
Posted By mikets
Re: Access the Auto List on Driver Station in Java

Nothing jumps out at me but then again I am not familiar with Command based code. When you said it doesn't work very well, what were the issues/symptoms? Did you get a null back when calling...
Forum: Java 18-03-2016, 13:44
Replies: 13
Views: 1,357
Posted By mikets
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
Posted By mikets
Re: Access the Auto List on Driver Station in Java

It doesn't matter. The selection actually sticks meaning even for the next match if you don't select anything else, the previous selection is still in effect until you select something different.
Forum: Java 16-03-2016, 05:14
Replies: 4
Views: 824
Posted By mikets
Re: "Could not find ADXRS450 gyro on SPI port 0" Error - Java

Our team is using this gyro and it works great. We don't have any problems with it.
https://github.com/trc492/Frc2016FirstStronghold/blob/master/FirstStronghold/src/frc492/Robot.java
Forum: Java 16-03-2016, 05:05
Replies: 18
Views: 1,715
Posted By mikets
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
Posted By mikets
Re: Drive forward to x inches

If you want to do precision autonomous driving, you may want to look at our library class...
Forum: Java 07-03-2016, 14:13
Replies: 13
Views: 1,357
Posted By mikets
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
Posted By mikets
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.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -5. The time now is 08:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi