Go to Post I remember going to Houston in 1998 and seeing a bot that could move sideways. Talk about inspiring... - Ken Patton [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-11-2013, 12:20 AM
PLAIDProgrammer PLAIDProgrammer is offline
Registered User
FRC #2538
 
Join Date: Feb 2013
Location: Minnesota
Posts: 2
PLAIDProgrammer is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 02-12-2013, 12:49 AM
arithehun arithehun is offline
Registered User
AKA: Ari Falkner
FRC #3024
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Ashland, Oregon
Posts: 27
arithehun is an unknown quantity at this point
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:51 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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