Quote:
Originally Posted by DFZXA
The code is in the teleop.vi. It's being read from a sonar (after the conversions). I basically needed to run a motor at different speeds based on the distance, but it didn't work well linearly.
|
Let "
y" be the output from that code, and "
x" be the input.
Then it looks like you are computing
y = -8.24
x2 +12.3
x -3.97
See attachment. Is that what you intended?