View Single Post
  #20   Spotlight this post!  
Unread 02-02-2017, 14:42
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,764
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Most Graceful Mecanum Robots?

Quote:
Originally Posted by Ari423 View Post
With a bit of feedback control, you should be able to assign a button on the controller to "sprint mode" where driving is still field-centric, but the robot always drives with the front forward. I haven't tried it before, but that should give you the sprinting speed of robot-centric with the ease of control of field-centric.
This, only I think it'd be better to have it pick the closest of forwards/backwards. Or maybe have that toggleable. It should be straightforward to implement. Hold down the print button, lock out rotation input, apply fixed amount of rotation command CW or CCW in direction of travel based on commanded vector and your current heading. Probably scale it down once you get very close to the correct heading, but capping it to a reasonable amount would probably make driving more stable for large corrections.

Field centric tank drive implemented in this fashion would be an interesting innovation.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote