View Single Post
  #7   Spotlight this post!  
Unread 02-20-2014, 09:41 PM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,997
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: Using atan2 on the cRIO

Quote:
Originally Posted by MaraschinoPanda View Post
Whenever I try to use the atan2 function by including <cmath>, I can compile, but I get "no robot code"...
If you still haven't been able to get the library atan2 function to work, and you need something to tide you over until you can get it figured out, here's a simple C code implementation that's good to within 1/10 of a degree.


Reply With Quote