Go to Post It's OK to make some mistakes, as long as you learn from them. - Doug G [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 18-01-2014, 19:50
ShadowWing's Avatar
ShadowWing ShadowWing is offline
Registered User
FRC #3501
 
Join Date: Jan 2011
Location: Sunnyvale
Posts: 11
ShadowWing is an unknown quantity at this point
Mecanum Drive with Encoders?

Hi, our team is using mecanum wheels on our robot, however, we're not using RobotDrive for the 4 mecanum wheels. Instead, each wheel is hooked up to its own jaguar and we are using each jaguar independently.

With that in mind, could someone help me understand how to code encoders using this set up?
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2014, 20:16
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mecanum Drive with Encoders?

Quote:
Originally Posted by ShadowWing View Post
Hi, our team is using mecanum wheels on our robot, however, we're not using RobotDrive for the 4 mecanum wheels. Instead, each wheel is hooked up to its own jaguar and we are using each jaguar independently.

With that in mind, could someone help me understand how to code encoders using this set up?
Are you using CAN or PWM to control the Jags?

If you're using CAN, you can plug the encoders directly into the Jags. Jags have built-in firmware to decode the encoder signal and do closed-loop speed, position, voltage, or currrent control.


Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2014, 20:19
ShadowWing's Avatar
ShadowWing ShadowWing is offline
Registered User
FRC #3501
 
Join Date: Jan 2011
Location: Sunnyvale
Posts: 11
ShadowWing is an unknown quantity at this point
Re: Mecanum Drive with Encoders?

We're using PWM
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2014, 20:42
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mecanum Drive with Encoders?

Quote:
Originally Posted by ShadowWing View Post
We're using PWM
Then you'll have to connect each encoder to the DSC. WPILib file "Encoder.java" has classes for handling encoders.


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 12:42.

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