![]() |
What's your favorite programming/control system magic this year?
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? |
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.
|
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. |
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." |
Re: What's your favorite programming/control system magic this year?
Quote:
|
Re: What's your favorite programming/control system magic this year?
Quote:
For the record, my favorite magic so far is our team's quadratic deadband. |
Re: What's your favorite programming/control system magic this year?
Quote:
|
Re: What's your favorite programming/control system magic this year?
Quote:
|
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.
|
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.
|
Re: What's your favorite programming/control system magic this year?
Quote:
|
Re: What's your favorite programming/control system magic this year?
Quote:
Code:
ForwardSpeed = map(rangefinder_distance - target_distance, 0, 200, 0, 1); |
Re: What's your favorite programming/control system magic this year?
Quote:
|
Re: What's your favorite programming/control system magic this year?
Quote:
And yes, the name is made up. |
Re: What's your favorite programming/control system magic this year?
Quote:
|
| All times are GMT -5. The time now is 02:32. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi