Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Questions Regarding Shaft Encoder Drive System (http://www.chiefdelphi.com/forums/showthread.php?t=113228)

PLAIDProgrammer 11-02-2013 00:20

Questions Regarding Shaft Encoder Drive System
 
Hi All,
We are trying to use Shaft Encoders on our mecanum drive to balance our wheel speeds.
We have written code to see the speed of our wheels through the shaft encoders although we haven't tested it yet. Any suggestions on using this data to control the victors to adjust our wheels? At this point we are not using PID but that can be subject to change.

Your help would be much appreciated... Thanks

Lenny

arithehun 12-02-2013 00:49

Re: Questions Regarding Shaft Encoder Drive System
 
Are you using CAN? If so, you can use the internal PID modules of the jaguars to make your code more clean. If not, then definitely set up a PID loop in your code? Are you using command-based programming? If not, I'd highly recommend it. Once we get more information, we can help you out more. I assume you already know how to get, parse, and understand the speeds it will send you.


All times are GMT -5. The time now is 10:10.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi