View Single Post
  #21   Spotlight this post!  
Unread 14-06-2015, 10:37
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,686
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Tank Drive VS Arcade Drive on a Skid-Steer Platform

Quote:
Originally Posted by AustinSchuh View Post
Cheezy Drive is split arcade on steroids.

Code:
adjusted_wheel = SensitivityRemap(wheel);
Vl = throttle + adjusted_wheel * abs(throttle) + inertia compensation terms;
Vr = throttle - adjusted_wheel * abs(throttle) - inertia compensation terms;
Not knowing the details of SensitivityRemap(wheel), or even what "wheel" is in this context, I can't be certain, but it sounds similar the 3-axis joystick control I did for a tiny swerve drive robot a few years back. The X/Y joystick controlled translational motion. The Z "twist" axis controlled rotation -- not in terms of angular speed (RPM), but in terms of curvature. That is, the radius of curvature was inversely proportional to the amount of twist on the joystick. I did not use any inertia compensation terms.

This setup also had an override for spinning, as Thad decribes. When both X and Y were in the dead band, Z was interpreted in terms of desired angular speed.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 14-06-2015 at 10:42. Reason: fix quote