View Single Post
  #4   Spotlight this post!  
Unread 21-02-2012, 17:40
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Quadratic equation problem

Quote:
Originally Posted by DFZXA View Post
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.24x2 +12.3x -3.97

See attachment. Is that what you intended?


Attached Thumbnails
Click image for larger version

Name:	quad.png
Views:	26
Size:	8.2 KB
ID:	12038  

Last edited by Ether : 21-02-2012 at 17:47.
Reply With Quote