Forum: Java
30-12-2016, 13:32
|
|
Replies: 1
Views: 193
Re: Java Networking with driverstation
We have communicated between the driver station and robot over sockets. We use Java's Socket class (java.net.Socket) to do it. To make it competition legal, you just have to make sure to use one of...
|
Forum: General Forum
03-11-2016, 18:54
|
|
Replies: 54
Views: 7,792
Re: 2017 Chairman's Hall of Fame Predictions
You guys are taking part of fast response to questions about my script waaay out of it's context and intended meaning. I was referring to how there's usually a gap in the teams at regionals and that...
|
Forum: General Forum
02-11-2016, 15:30
|
|
Replies: 54
Views: 7,792
Re: 2017 Chairman's Hall of Fame Predictions
1. To quickly summarize, CPR is calculated based off of Chairman's and Engineering Inspiration wins in the past four years (inclusive of the current one). Chairmans and E.I. both have base point...
|
Forum: General Forum
02-11-2016, 09:32
|
|
Replies: 54
Views: 7,792
Re: 2017 Chairman's Hall of Fame Predictions
So I have this script I've been using for the past year now that calculates CPR (Chairman's Power Rating) values for teams at varying events. It's been pretty accurate for regionals (multiple 2016...
|
Forum: General Forum
24-05-2016, 13:13
|
|
Replies: 4
Views: 858
Re: FLL Camp Curriculum
1902 has run FLL-style summer camps the past few years. Using Lego Mindstorms, the kids learn the basics of programming a robot and how to use sensors, and on the last day of the camp we have a small...
|
Forum: General Forum
03-05-2016, 10:57
|
|
Replies: 108
Views: 10,260
|
Forum: General Forum
25-04-2016, 15:41
|
|
Replies: 92
Views: 20,044
Re: Dropshots Fired!
Now that 254 and 118 (see above) has shown theirs, this means there's at least two teams in Newton that has a two boulder auto that crosses a defense that's not the low bar. If/when these two teams...
|
Forum: General Forum
29-03-2016, 21:59
|
|
Replies: 14
Views: 1,544
Re: Pit Crews
For us, we have three main groups of students in the pit at a given moment: the drive team, our two pit managers, and the current scheduled pit shift students. Sometimes it gets a tad crowded, but it...
|
Forum: General Forum
29-03-2016, 10:18
|
|
Replies: 4,808
Views: 1,188,398
|
Forum: Programming
27-03-2016, 20:42
|
|
Replies: 45
Views: 6,419
|
Forum: General Forum
22-03-2016, 14:09
|
|
Replies: 125
Views: 21,878
Re: 2016 Shirt Trading Thread
@HensryS I'd be happy to trade a 10th Anniversary Exploding Bacon shirt for a CRyptonite shirt at Rocket City. I can get you a medium or large.
In general, I have 4 Exploding Bacon shirts (3 mediums...
|
Forum: General Forum
21-03-2016, 23:46
|
|
Replies: 64
Views: 8,771
Re: Old Man Notices A Thing: Lots of Robot Names
I personally enjoy naming robots and frequently try to remember the names of as many robots as possible. When a robot is given a good name, it helps (in my opinion) individualize it and give it some...
|
Forum: Java
05-03-2016, 19:04
|
|
Replies: 2
Views: 512
Re: Java Deploy Error
The problem is here:
public void robotInit() {
oi = new OI();
// autochooser = new SendableChooser();
//autochooser.addDefault("Default Auto", new ExampleCommand());
// ...
|
Forum: Programming
04-03-2016, 11:14
|
|
Replies: 34
Views: 7,756
Re: 2220's Play/Record Macro for Autonomous
Oh, I didn't mean to imply we were using PID loops to replay our recordings this year. We've just opted for a mapping program and just straight programming it. Last year we did PID loops assisting...
|
Forum: Programming
04-03-2016, 11:05
|
|
Replies: 2
Views: 712
Re: Play-Record Macro
1). The solution to the first problem is definitely moving the macro code to a separate Thread. The only other way is for the creators of the macro to add a wait function that both freezes the Thread...
|
Forum: Programming
04-03-2016, 10:53
|
|
Replies: 34
Views: 7,756
Re: 2220's Play/Record Macro for Autonomous
Oh yeah, we're something similar this year (sensor data PIDs with an autonomous mapping/design program). I'm just curious to see if the play/record macro did something to fix the inaccuracy of using...
|
Forum: Programming
04-03-2016, 10:46
|
|
Replies: 34
Views: 7,756
Re: 2220's Play/Record Macro for Autonomous
We did this last year, but wound up not using it due to inconsistency of the motor values due to battery charge. Since a motor running at a speed of, lets say, 0.8 runs at different speeds depending...
|
Forum: Java
23-02-2016, 00:55
|
|
Replies: 1
Views: 1,326
|
Forum: Java
09-02-2016, 12:14
|
|
Replies: 15
Views: 1,633
Re: Autonomous in iterative robot
One of the simplest and easiest ways to have logic for autonomous not run at the same time is to use Thread.sleep(). It lets you run code, have the code halt for a set amount of milliseconds/seconds,...
|
Forum: General Forum
07-02-2016, 10:47
|
|
Replies: 12
Views: 3,622
Re: First Stronghold Font
That website doesn't seem to work, but I was able to download Quasimodo from here (http://ufonts.com/downloads/69460!992482701).
|
Forum: Java
01-02-2016, 13:25
|
|
Replies: 12
Views: 658
Re: Sub-Class CANTalon to represent 3 motors
Yup, that's because MotorGroup is part of an overall wrapper/utility library that effectively creates it's own, better versions of WPILib's classes. To get MotorGroup to work with WPI's RobotDrive,...
|
Forum: Java
01-02-2016, 12:57
|
|
Replies: 12
Views: 658
Re: Sub-Class CANTalon to represent 3 motors
If anyone is looking to group together multiple motors under a single Motor object (i.e. three drivetrain motors under one object like OP's code), I'd like to point to a library of 1902's that has a...
|
Forum: Extra Discussion
22-01-2016, 22:57
|
|
Replies: 3
Views: 963
|
Forum: Programming
22-01-2016, 09:15
|
|
Replies: 12
Views: 1,902
Re: Question on Autonomous Mode
Use SmartDashboard to choose which autonomous you need before the match. It lets you add things like radio buttons to the screen, and you can use those to choose which defense is in front of you....
|
Forum: Programming
20-08-2015, 19:01
|
|
Replies: 22
Views: 4,565
Re: A more autonomous teleop?
We actually did your example: our robot could automatically lift a tote to the appropriate height when it gone one. Here's how we did it:
Our robot got its totes from the human player station. A...
|