Go to Post Magic doesn't count as a support, sorry. Neither does simply constraining in CAD... - EricH [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-01-2011, 11:05
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: gyro-guided skid-steer

Our team has used a variant of your algorithm on several of our robots (primarily to aid in driving in a straight line...especially important the two years we had omni-wheel holonomic drives). Proportional-only control on gyro heading seemed to do a pretty decent job (way better than trying to use gyro rate as the process variable directly).
  #2   Spotlight this post!  
Unread 26-01-2011, 13:17
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
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: gyro-guided skid-steer

Quote:
Originally Posted by Jared341 View Post
Our team has used a variant of your algorithm on several of our robots
In what ways was it different? Did you guys ever write a paper or make a presentation ?


  #3   Spotlight this post!  
Unread 26-01-2011, 14:30
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: gyro-guided skid-steer

No paper or presentation (yet?). Mainly due to the fact that I was under the impression that many others had done something like it (though I can't name any robots in particular off the top of my head).

In general, our implementation only uses the gyro if we detect that the driver is trying to go straight (the X axis of single stick drive is near 0) - when turning, we leave everything up to the driver. Other than that, pretty much the same.

I would imagine you could code up similar functionality using only left and right encoders, and using the delta between each encoder rate as your error (when trying to go straight).
  #4   Spotlight this post!  
Unread 26-01-2011, 15:14
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
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: gyro-guided skid-steer

Quote:
Originally Posted by Jared341 View Post
In general, our implementation only uses the gyro if we detect that the driver is trying to go straight (the X axis of single stick drive is near 0) - when turning, we leave everything up to the driver. Other than that, pretty much the same.
OK, it looks to me like that's quite a bit different from what I was trying to achieve.

What I posted is intended to make an essentially field-centric driver interface to a skid-steer vehicle: the driver "points" the joystick in a given (field-centric) direction with a given magnitude, and the robot turns and goes in that direction at the commanded speed, viz:
  • you push the joystick straight forward and the robot turns and heads straight downfield
  • you pull the joystick straight back and the robot turns around and heads back toward you
  • you push the joystick to your right and the robot turns and goes straight across the field from left to right
  • you push the joystick to your left and the robot turns and goes straight across the field from right to left
  • ... or any angle in-between
Optionally (by adding two more lines of code as shown) the robot could limit the required turning to 90 degrees or less by reversing direction. So if the robot was going straight downfield, for example, and the driver then pulled the joystick straight back, instead of turning around the robot would simply reverse direction by reversing the wheel speeds... but if the driver pushed the joystick to the right the robot would still turn and drive to the driver's right (regardless of the robot's orientation at the time).

Whether or not this mode of driver interface would be helpful depends on the game being played and the driver's experience and skill. Using this interface does not, of course, preclude having a robot-centric (or any other) interface available at the press of a button, so it could be used selectively.



Last edited by Ether : 26-01-2011 at 15:50.
Closed Thread


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 03:51.

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