Hello, my team programs in java. We have encoders on our actuator and want to program them. How would we go about doing that, we need help for our last day. Thank You!
Have you looked at the WPI screensteps. They should have examples of how to use encoders.
http://wpilib.screenstepslive.com/s/currentCS/m/cpp/l/241875-encoders-measuring-rotation-of-a-wheel-or-other-shaft
Try this.
Indeed I have. By the way, we are using the DART actuator. It has two sensors on it. Would i program that into one object or two? If so how.
Two actuators would most likely be separate objects. The DART actuators have potentiometers (analog sensors) by default, though AndyMark also sells encoders for them, so if you have those, you’d go that way with this. What specifically do you mean by “It has two sensors on it.”?
We have 2 hall effect sensors on the top and bottom of the actuator. I want it to print the voltage to the console.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.