View Single Post
  #2   Spotlight this post!  
Unread 05-02-2014, 20:12
magnets's Avatar
magnets magnets is offline
Registered User
no team
 
Join Date: Jun 2013
Rookie Year: 2012
Location: United States
Posts: 748
magnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond repute
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.