View Single Post
  #14   Spotlight this post!  
Unread 08-04-2014, 21:32
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Re: Swerve Drive vs Mecanum Wheel drive?

Quote:
Originally Posted by BBray_T1296 View Post
They work an unbelievably better when controlled by encoders and PID
I've heard that PID control begins acting unusually when you have a constantly moving setpoint because the tuning parameters were only set for one particular speed. Is that not so, or has your team found a way to work around this (such as a lookup table for different setpoints)? My team never really got around to putting encoders on our wheels, and as a result wound up tediously multiplying each wheel by a particular constant depending on its direction (because our motors have a 20-30% speed bias in a particular direction), which was a pain to figure out through trial and error.

Quote:
Originally Posted by lopsided98 View Post
I don't have time to write up about it at the moment but I probably will during the offseason. For now, here is the code for it if anyone is interested in looking at or adapting it for their own use: https://github.com/RobotsByTheC/CMonster2014.
I've been tentatively skimming through this code for around half an hour and can't seem to find where the magic happens... I'm not particularly accustomed to the command based model :P Could someone point me in the right direction? Thanks!

Last edited by ekapalka : 08-04-2014 at 21:37.
Reply With Quote