View Single Post
  #6   Spotlight this post!  
Unread 05-03-2014, 09:58
Mike Bortfeldt Mike Bortfeldt is offline
Registered User
FRC #1126 (& 1511)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Rochester, NY
Posts: 119
Mike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud of
Re: Get Angle from Servo

Quote:
Originally Posted by DavisC View Post
My other thought was use the servo.read() function on an Arduino and then send the data over to the cRIO via some kind of communication. (I2C appears to be commonly used but I wonder how Ethernet would work, assuming its an Arduino Ethernet).
For reference, in the Arduino environment, a servo.read() will not read the current location of the servo. It will only return the last value sent to the servo through a servo.write() command.

http://arduino.cc/en/Reference/ServoRead

Mike
Reply With Quote