|
Re: Interpolation Curves/Surfaces in FRC
When we need to find a function we just use excel and we get a polynomial line of best fit, then put the equation on the robot.
It's nice because you can play around with the inputs/outputs and watch how the graph changes.
We've used it for making functions for distance from goal vs. shooter rpm, distance from wall vs. desired robot speed, motion profiling for elevators/arms/climbers where we'd like to go different speeds at different locations, robot speed vs. intake roller speed (this is really nice for fast robots with roller intakes), and a bunch of other things. It's really useful.
|