|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Effective programming/control system techniques almost work like magic. Unlikely mechanical designs, they are frequently hidden from regular observers.
Which cool techniques have you seen or adopted this year that are creative and worth highlighting for your peers? I saw a few cool ones:
What's your favorite? |
|
#2
|
||||
|
||||
|
Re: What's your favorite programming/control system magic this year?
I personally love feedback systems. Like in 2012 and 2013, vision would be calculating how far away the robot is to the goal, and the shooter would always be adjusting to be ready to shoot. 341 had this in 2012 and I'm sure again in 2013, we(1706) had it for both years. It is truly amazing.
|
|
#3
|
|||
|
|||
|
Re: What's your favorite programming/control system magic this year?
The devil's in the details. Most of my favorite cases of programming are very much behind the scenes:
*An aside: I'm curious to see whether or not they (Gordian, and other in-house scripting languages) are displaced with other solutions: the roboRIO is supposed to have Java 8, which should allow usage of Jython and/or Rhino (Java engines for Python and Javascript, respectively) for Java teams. Last edited by brennonbrimhall : 17-05-2014 at 15:51. Reason: Added links |
|
#4
|
||||
|
||||
|
Re: What's your favorite programming/control system magic this year?
254 had code that allowed them to set waypoints on the field and have the computer make a spline in that path. The spline was then translated into different motor curves for each side of the drivetrain. They could literally draw a path and have the robot follow it.
From Kevin Sheridan on /r/frc: "We generated a path using quintic hermite spline interpolation. This creates two individual paths for the right side of the drivetrain and the left side of the drivetrain. We can tell the path generator the goal location, goal velocity, goal heading, starting location, starting velocity and starting heading. We can also set the max velocity for a path. This way we can set a path using multiple waypoints to navigate to a certain spot on the field in a specific way such as driving in a s-curve." Last edited by Pratik Kunapuli : 17-05-2014 at 19:50. |
|
#5
|
||||
|
||||
|
Re: What's your favorite programming/control system magic this year?
Quote:
![]() |
|
#6
|
|||
|
|||
|
Re: What's your favorite programming/control system magic this year?
For the record, my favorite magic so far is our team's quadratic deadband. |
|
#7
|
||||
|
||||
|
Re: What's your favorite programming/control system magic this year?
What is that and what do you use it for? My first guess would be that you're trying to do some sort of fancy filter with some sort of funky ripple in the stop band but, my google fu fails me so my best guess is that "quadratic deadband" is just a made-up name.
|
|
#8
|
|||
|
|||
|
Re: What's your favorite programming/control system magic this year?
Quote:
And yes, the name is made up. Last edited by E Dawg : 19-05-2014 at 12:57. |
|
#9
|
||||
|
||||
|
Re: What's your favorite programming/control system magic this year?
Quote:
|
|
#10
|
||||
|
||||
|
Re: What's your favorite programming/control system magic this year?
At Championships we had a fairly interesting system controlling our pneumatic catapult pulses. We had a pressure sensor that measured the pressure feeding to our launcher pistons. We used a polynomial function based on collected data that would match pressures to pulse times so that the shot is consistent regardless of pressure. Our programmer could probably tell you more about it if you want.
|
|
#11
|
||||
|
||||
|
Re: What's your favorite programming/control system magic this year?
1986 had really simple yet effective targeting system setup. A ultrasonic sensor set low to the ground told them how far away they were from the wall. When the robot was in shooting range, LEDs on the back of the robot lit up to inform the drivers.
|
|
#12
|
||||
|
||||
|
Re: What's your favorite programming/control system magic this year?
We did the same thing! I'm glad to see that we had the same idea as a famous team.
|
|
#13
|
||||
|
||||
|
Re: What's your favorite programming/control system magic this year?
Quote:
Code:
ForwardSpeed = map(rangefinder_distance - target_distance, 0, 200, 0, 1); Last edited by ekapalka : 18-05-2014 at 01:22. |
|
#14
|
||||
|
||||
|
Re: What's your favorite programming/control system magic this year?
Quote:
|
|
#15
|
||||||
|
||||||
|
Re: What's your favorite programming/control system magic this year?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|