Forum: Rules/Strategy
23-12-2016, 00:55
|
|
Replies: 5
Views: 821
Re: Alignment Line Use
We didn't use it for alignment while scoring. We used it as a reference line for defense. We told our defensive bot to stay in front of it while playing defense. This was effective in that the...
|
Forum: Java
23-12-2016, 00:32
|
|
Replies: 7
Views: 310
Re: Confusing Issues with Swerve
The two modules that are not working are diagonal from each other. I don't know your physical setup but is it possible that the steer motors or the encoder inputs needs to be reversed for those...
|
Forum: Java
20-12-2016, 20:57
|
|
Replies: 7
Views: 310
Re: Confusing Issues with Swerve
That code looks familiar ;)
There is one addition on the end that is likely causing you problems.
&& angle != 0
In general everything works. If your commanded angle happens to be 0 then...
|
Forum: NI LabVIEW
08-12-2016, 18:20
|
|
Replies: 7
Views: 1,605
|
Forum: C/C++
29-11-2016, 20:50
|
|
Replies: 1
Views: 252
2481 Code Release 2016
2481 is releasing our code from our 2016 robot Broadside. New things we did this year include our Auto routine builder, our auto aiming vision code, and our use of measured current draw in place of...
|
Forum: Technical Discussion
09-11-2016, 00:54
|
|
Replies: 12
Views: 1,475
Re: Vision Tracking?
Here is a fairly simple system written in python using OpenCV and networktables that carried us to a successful 2016 season.
https://github.com/Frc2481/paul-bunyan/tree/master/Camera
|
Forum: Java
26-10-2016, 00:18
|
|
Replies: 3
Views: 527
Re: Efficient Swerve Drive
The trick to a smooth swerve and optimal control is to limit rotating the module as much as possible. If you think about it you should never have to rotate a swerve module more than 90 deg for a...
|
Forum: Programming
14-10-2016, 21:41
|
|
Replies: 18
Views: 1,349
|
Forum: Programming
10-10-2016, 00:15
|
|
Replies: 30
Views: 5,792
Re: Team 254 Presents: FRC 2016 Code
The work you did around kinematics, poses, and latency compensation was truly remarkable and inspiring. Dropshot was my favorite robot to watch and the best designed robot for Stronghold in my...
|
Forum: Programming
25-05-2016, 16:15
|
|
Replies: 5
Views: 2,165
Re: Python IP camera
Using it verbatim might not be the best idea. You can extract the portion that actually reads the image from the camera.
Regardless the README for the repo details how to install networktables...
|
Forum: Programming
25-05-2016, 15:06
|
|
Replies: 5
Views: 2,165
Re: Python IP camera
I don't think this code works. If it does then we really over complicated the way we did it.
cap = cv2.VideoCapture()
cap.open("http://169.254.197.26/")
I just made this repo public. We haven't...
|
Forum: Programming
02-04-2016, 18:56
|
|
Replies: 11
Views: 1,467
|
Forum: Programming
31-03-2016, 07:23
|
|
Replies: 6
Views: 1,471
Re: Run a command with conditions
new ShootBall()
Simply creates an instance of the command. That instance needs to be scheduled by running ->Start()
Command* c = new ShootBall()
c->Start()
Another option is to build the command...
|
Forum: Programming
30-03-2016, 12:46
|
|
Replies: 45
Views: 6,419
|
Forum: Programming
25-03-2016, 08:25
|
|
Replies: 3
Views: 964
Re: OpenCV on RoboRIO and Eclipse
This thread has a little more information on why this is a safe thing to do. http://www.chiefdelphi.com/forums/showpost.php?p=1430768&postcount=18
|
Forum: Technical Discussion
24-03-2016, 18:09
|
|
Replies: 6
Views: 926
Re: vision system accuracy
1. Very accurate. Typically when we miss a shot it isn't due to the vision.
2. The biggest issue we have had on the field is the co-processor (BBB) not booting up. We think we have determined the...
|
Forum: General Forum
22-03-2016, 08:37
|
|
Replies: 3
Views: 547
Re: USB to Ethernet Adapter For Competition
A couple teams at CIR used USB to Ethernet adapters with out problems. One of them was noticably slower to intially connect to the field. After initial connection was established it worked fine.
|
Forum: Programming
12-03-2016, 01:11
|
|
Replies: 37
Views: 6,131
|
Forum: Python
29-02-2016, 20:40
|
|
Replies: 2
Views: 590
Re: pynetworktables not working.
No...but the version was the problem. A another team member setup the first BeagleBone and used version 2015.3.0 I setup the second one using pip and ended up with version 2016.0.0alpha1 ...
|
Forum: Python
29-02-2016, 19:54
|
|
Replies: 2
Views: 590
pynetworktables not working.
We are attempting to get pynetworktables running on a BeagleBone Black. We are currently trying to run the sample code to get it...
|
Forum: Programming
23-02-2016, 17:59
|
|
Replies: 25
Views: 1,872
Re: Thoughts On Comments In Team Code
I encourage the students to comment the 'why' not the 'what'. When students are writing code the 'what' should be obvious. If not then it should probably be re-written. Commenting 'why' something...
|
Forum: Programming
17-02-2016, 00:52
|
|
Replies: 3
Views: 1,121
|
Forum: C/C++
15-02-2016, 23:20
|
|
Replies: 5
Views: 696
|
Forum: C/C++
13-02-2016, 15:41
|
|
Replies: 3
Views: 395
|
Forum: C/C++
13-02-2016, 15:28
|
|
Replies: 3
Views: 395
|