![]() |
Any Code needed for an Encoder Sensor
I'm looking to get a AS5304 working for our bot but I'm not sure if any code is needed and overall how to get a signal from it. Anything important I should know?
|
Re: Any Code needed for an Encoder Sensor
Code will definitely be required. The form is very much dependent on which language you're programming your robot in. For Java or C++, you would extend the Encoder class or the CounterBase class, depending on whether you're interested in measuring speed/RPMs or distance/angle of rotation.
|
Re: Any Code needed for an Encoder Sensor
I'm looking for distance and to just overall get some sort of reading from it.
I'm using C++. Is there any example code I could use and customize to do what I want it to. |
Re: Any Code needed for an Encoder Sensor
Quote:
http://wpilib.screenstepslive.com/s/...or-other-shaft |
Re: Any Code needed for an Encoder Sensor
Thanks this is very helpful
|
| All times are GMT -5. The time now is 01:46. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi