![]() |
Re: Team 254 Presents: 2015 FRC Code
Whats the license like for the code, specifically the stuff in the Simulated Robot Hardware repository. I would like to put some of that in the simulator side of the C# project if possible.
|
Re: Team 254 Presents: 2015 FRC Code
Quote:
|
Re: Team 254 - 2015 FRC Code
Quote:
2. We didn't use any spline paths this year. All of the control loops were 1d (elevator carriages, drive forward, turn in place). All of the moving subsystems shared a generic base controller which could be tuned for the properties of that system. The motion profiling was done on the fly (this is a much easier calc than generating spline-y paths). 3. The original concept for our can grabber was a system that had 4 individual telescoping arms (feathers) that would go out and grab each can in auto, all starting from the robot centered on the field. This made the robot look like a peacock, and the name for that subsystem stuck through iterations. A motor peacock is just the motorized can grabber assembly. |
Re: Team 254 Presents: 2015 FRC Code
Thanks for the replies.
Few more questions. 1. How much smaller/larger than your shafts/stock is the tubing you get from mcmaster to ensure a super snug fit? (NOT a code question, I know :p) 2. Any reason you chose not to use CAN control for your motors? 3. Did you ever figure out the timing issues java had? |
Re: Team 254 Presents: 2015 FRC Code
Quote:
#2, the CAN-enabled Talon SRX was new to FRC this season, so we decided to stick with tried-and-true PWM in case there were teething problems. As it turned out, the CAN Talon works great, and I'd say there's a good chance we use them next year. #3, yeah. The WPIlib JAR we used was tweaked to enable interrupts and the hardware timer to work correctly in Java (basically we just finished some incomplete JNI work). The source of the modified JAR is in the lib directory. Garbage collection and the JVM still mean that we aren't quite as reliable as a RT C++ thread would be, but it is pretty stable with our changes. |
Re: Team 254 - 2015 FRC Code
Quote:
|
Re: Team 254 - 2015 FRC Code
Quote:
|
Re: Team 254 Presents: 2015 FRC Code
Last year, you guys squared turn inputs when you were quickturning (in teleopPeriodic). I don't see it this year - what happened to that?
|
Re: Team 254 Presents: 2015 FRC Code
Quote:
|
Re: Team 254 Presents: 2015 FRC Code
I'm a little confused with the simulator. FakeWPILib replaces classes that won't run on a computer, but it doesn't have a replacement class for NotifierJNI, which won't run on a computer. NotifierLooper uses NotifierJNI, which creates an unsatisfiedlinkerror exception.
|
Re: Team 254 Presents: 2015 FRC Code
Another question: what, conceptually, is a Tappable?
|
Re: Team 254 Presents: 2015 FRC Code
I think there's a bug in the solenoid.java file of FakeWPILib
Code:
public Solenoid(final int moduleNumber, final int channel) {Something is a little weird - the robot code can't work in the simulator with this version of FakeWPILib, which is also missing a NotifierJNI class. Perhaps there was another revision of FakeWPILib? |
Re: Team 254 Presents: 2015 FRC Code
Quote:
|
Re: Team 254 Presents: 2015 FRC Code
Quote:
|
Re: Team 254 Presents: 2015 FRC Code
Quote:
The fake wpi lib is by no means complete. We just implemented hardware abstractions as we went along and needed them. |
| All times are GMT -5. The time now is 15:34. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi