Go to Post Anyone else think we're (including me) a little obsessed? The seasons over and were already onto the next one. - Bjenks548 [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 102
Search took 0.01 seconds.
search: Posts Made By: pblankenbaker
Forum: Programming 07-07-2016, 11:04
Replies: 13
Views: 1,020
Posted By pblankenbaker
Re: What is wrong with my Vision to Gyro code?!

You indicated that your PID loop would rotate the robot to 125 degrees instead of the target of -56 degrees. Given that the robot then oscillates around 125 degrees, this sounds like a condition...
Forum: Java 01-07-2016, 12:25
Replies: 1
Views: 449
Posted By pblankenbaker
Re: Need help loading Axis Camera feed in Java

We have some Java code available on github that provides some examples of opening a video feed using the OpenCV methods.

The project can be found at:

https://github.com/frc868/2016-Vision

In...
Forum: Java 18-04-2016, 12:53
Replies: 7
Views: 872
Posted By pblankenbaker
Re: JAVA in FRC and FTC

The WPI lib group has provided some excellent step by step instructions (with screen shots), demonstrating how to get Eclipse installed and configured to enable programming the roboRIO in Java....
Forum: Technical Discussion 08-04-2016, 07:51
Replies: 1
Views: 596
Posted By pblankenbaker
Re: I2C IMU Java question

We have not used that physical packaging. However, it looks like your unit contains an ITG-3200 gyro. We did connect an ITG-3200 gyro directly to our roboRIO in 2015. The following link it to the...
Forum: Java 24-03-2016, 12:43
Replies: 1
Views: 432
Posted By pblankenbaker
Re: Command to turn to angle

It looks like your command enables a PID controller to perform the turn. This is OK (we do this as well). However, I don't see where you turn the PID controller off (disable it) in your command's...
Forum: General Forum 22-03-2016, 13:06
Replies: 11
Views: 1,822
Posted By pblankenbaker
Re: Most AWESOME match from your event. Week 3

My favorite match of the third weekend was Semi Finals 1 Match 2 (https://www.thebluealliance.com/match/2016inwch_sf1m2) at the IN District Walker Warren...
Forum: Java 05-03-2016, 19:59
Replies: 3
Views: 629
Posted By pblankenbaker
Re: How do I program with an Andymark AM-2314?

We have some Java source code available for the ITG-3200 using an I2C chip out at github that you are welcome to experiment...
Forum: Java 05-03-2016, 07:31
Replies: 13
Views: 1,359
Posted By pblankenbaker
Re: WPILIB Camera Code Crashing JVM

Not sure if this is related or not to your issue, but we had a problem with exhausting memory when grabbing images that would cause the robot code to crash and burn after running for a certain time...
Forum: Java 04-03-2016, 06:03
Replies: 2
Views: 436
Posted By pblankenbaker
Re: Lift Mechanism - Victor Coding

Performing a timed task depends a lot on which framework you are using for your Robot code and whether you are doing it in an autonomous state where nothing else needs to be done or a teleop state...
Forum: Java 01-03-2016, 09:09
Replies: 1
Views: 617
Posted By pblankenbaker
Re: WPILib PIDController Question

It's a bit difficult to tell what issues you are having without seeing all of the code (in particular I could not tell how you were reading the sensor and determining the current angle), but here are...
Forum: Java 01-03-2016, 06:12
Replies: 9
Views: 1,092
Posted By pblankenbaker
Re: Network tables has already been initialized

The demo program I included was for a stand alone Java application (it runs outside of the Robot code and outside of the SmartDashboard).

It sounds like you are creating a SmartDashboard extension...
Forum: Java 25-02-2016, 16:58
Replies: 6
Views: 682
Posted By pblankenbaker
Re: Autonomous Timer Issue

I did not see the source for your DriveForward command. I'm guessing it should look something like the following:


public class DriveForward extends Command {

private double timeToRun;

public...
Forum: Java 24-02-2016, 06:13
Replies: 3
Views: 411
Posted By pblankenbaker
Post Re: LimitSwitches

The following WPIlib document provides a nice example of setting up an autonomous chooser:...
Forum: Java 23-02-2016, 05:22
Replies: 2
Views: 441
Posted By pblankenbaker
Re: ADIS16448 reading y values

I don't have any experience working with this sensor (my disclaimer), however in looking at the source, I did notice two things to check:


Did you connect your sensor to the SPI pins on the...
Forum: Java 23-02-2016, 05:03
Replies: 2
Views: 343
Posted By pblankenbaker
Re: Pneumatics not working

Try adding the following line to your robotInit() code after your shooter has been constructed:


LiveWindow.addActuator("Shooter", "Solenoid", shooter);


Deploy your program and put the driver...
Forum: Java 23-02-2016, 04:50
Replies: 2
Views: 537
Posted By pblankenbaker
Re: Will this code successfully run my robot as a tank drive also a single forward ca

There is a problem in your robotInit where you allocate PWM channels 0-3 when constructing your RobotDrive object and then allowcate PWM channels 1-4 when creating your talons, try changing it...
Forum: Java 22-02-2016, 11:09
Replies: 4
Views: 447
Posted By pblankenbaker
Re: Driver Station long error

The stack trace (error output) indicates that you have a problem at line 46 in your Robot.java code.

The error message indicates that you tried to use the same PWM port in the construction of more...
Forum: Java 22-02-2016, 10:36
Replies: 5
Views: 536
Posted By pblankenbaker
Re: Gyro Error Message

Can you try moving it to port 0 or 1?

I don't think you can connect an AnalogGyro to ports other than 0 or 1 on the roboRIO. See:...
Forum: Java 22-02-2016, 09:22
Replies: 1
Views: 540
Posted By pblankenbaker
Re: PID Speed control with encoders

Not sure if you are still fighting with this issue or not, but here are some things we have found useful when setting up speed/rate control PIDs:

1. Use the SmartDashboard to display the PID control...
Forum: Java 22-02-2016, 08:53
Replies: 3
Views: 481
Posted By pblankenbaker
Re: Arduino Ethernet with roboRIO

I didn't actually write the code on the LED side (we have a lot of kids on the team and gave that task to a group of them).

However, I'm pretty sure the following code fragment demonstrates how to...
Forum: Java 21-02-2016, 18:45
Replies: 3
Views: 380
Posted By pblankenbaker
Re: Servo Help

Try adding the following code to your Robot.java file in the robotInit() method (change the value of PWM_SERVO to match the PWM port you used for your servo):



// Set this to the PWM port...
Forum: Java 21-02-2016, 09:20
Replies: 3
Views: 481
Posted By pblankenbaker
Re: Arduino Ethernet with roboRIO

We don't have any experience using a Ethernet interface on an Arduino for command and control. However, we are using a Arduino this year to control LEDs as well. Our implementation is fairly simple....
Forum: Java 19-02-2016, 14:22
Replies: 1
Views: 336
Posted By pblankenbaker
Re: Encoders

The first step is to wire up your encoders and make sure that you can access the information they provide in your code.

The following code snippet provides an example of how to construct an...
Forum: Java 19-02-2016, 04:42
Replies: 3
Views: 541
Posted By pblankenbaker
Re: Gyro Value to Motor-Need Help

It looks to me that you are in the process of creating a command that will rotate you robot a fixed amount and then stop and that you want to set the power used for the turn based on how far away you...
Forum: Java 18-02-2016, 16:46
Replies: 9
Views: 1,092
Posted By pblankenbaker
Re: Network tables has already been initialized

Here is an stand alone example program I have been using (run as a Java application, not as a Robot program) that connects to our network tables, monitors and then clears the "SmartDashboard"...
Showing results 1 to 25 of 102

 
Forum Jump

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

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