Go to Post This pic became proof that engineers should never give up thier day jobs! :p - Jay H 237 [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 24-01-2015, 19:01
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,028
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Driving: Tank, Arcade or FPS?

This morning, before our programming mentor arrived, I suggested to some of the students that they see if they could get the robot running by themselves, and play around with it. After a while we got to discussing how to control it, whether to use tank drive, or arcade drive, with a game pad, or a joystick. A couple of them described the typical video game setup, where one joystick on a gamepad is used for turning, the other for forward/back. Something about "first person shooter". Anyways, after a while (and after the programming mentor arrived), they got it figured out, and now have FPS control of the robot...several students tried it, and were quite pleased with how easy it is to drive now.

I wonder, why it took us so long to figure this out?

Last edited by MrForbes : 24-01-2015 at 19:04.
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2015, 19:08
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 610
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: Driving: Tank, Arcade or FPS?

Cheesy Drive is based off of this. Ask 254 for more info :-)
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2015, 19:10
Gregor's Avatar
Gregor Gregor is offline
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: Driving: Tank, Arcade or FPS?

We refer to this as split arcade drive, and absolulty love it. Once you try it you'll never go back. We use it exclusively when we use skid steer drivetrains.
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2015, 19:33
Jay O'Donnell's Avatar
Jay O'Donnell Jay O'Donnell is offline
Division by Pirates
FRC #0229 (Division by Zero)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Potsdam, NY/Londonderry, NH
Posts: 1,348
Jay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond reputeJay O'Donnell has a reputation beyond repute
Re: Driving: Tank, Arcade or FPS?

It's really a driver preference thing. I've always preferred tank, but I know other drivers prefer different setups.
__________________
Student on Team 1058 (2012-2015)
Mentor on Team 229 (2016-Present)
Writer for Blue Alliance Blog
Reply With Quote
  #5   Spotlight this post!  
Unread 24-01-2015, 20:03
IronicDeadBird's Avatar
IronicDeadBird IronicDeadBird is offline
Theory Crafting Fo days...
AKA: Charles Ives "M" Waldo IV
FRC #1339 (Angelbots)
Team Role: Tactician
 
Join Date: Feb 2014
Rookie Year: 2005
Location: Colorado
Posts: 958
IronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond repute
Re: Driving: Tank, Arcade or FPS?

Anyone have experience with GTA style?
__________________
HERO 俺を讃える声や 喝采なんて 欲しくはないさ
I liked my team more before they stole my jacket.
Play is for kids this is serious...
Reply With Quote
  #6   Spotlight this post!  
Unread 24-01-2015, 20:08
z_beeblebrox's Avatar
z_beeblebrox z_beeblebrox is offline
Custom User Title
AKA: Cal
FRC #4183 (Bit Buckets)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cambridge MA
Posts: 811
z_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond reputez_beeblebrox has a reputation beyond repute
Re: Driving: Tank, Arcade or FPS?

Quote:
Originally Posted by IronicDeadBird View Post
Anyone have experience with GTA style?
Can you clarify what that means?
__________________
2012 Utah Regional Rookie All-Star
2013 Phoenix Regional Judge's Award for "design process and prototyping"
2014 Hub City Regional Quality Award, Arizona Regional Excellence in Engineering Award
2015 Arizona East Regional Creativity Award, Winner
2016 Arizona North Regional Finalist, Arizona West Excellence in Engineering Award, Finalist
Reply With Quote
  #7   Spotlight this post!  
Unread 24-01-2015, 20:36
Edxu's Avatar
Edxu Edxu is offline
Strategy/Scouting Mentor
AKA: Edwin Xu
FRC #4476 (W.A.F.F.L.E.S Robotics)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Toronto, Canada
Posts: 190
Edxu has a brilliant futureEdxu has a brilliant futureEdxu has a brilliant futureEdxu has a brilliant futureEdxu has a brilliant futureEdxu has a brilliant futureEdxu has a brilliant futureEdxu has a brilliant futureEdxu has a brilliant futureEdxu has a brilliant futureEdxu has a brilliant future
Re: Driving: Tank, Arcade or FPS?

Quote:
Originally Posted by Gregor View Post
We refer to this as split arcade drive, and absolulty love it. Once you try it you'll never go back. We use it exclusively when we use skid steer drivetrains.
Oddly enough, we call it the Kaj drive, since I believe that it was Kaj from 188 that introduced it to us.
__________________
2013 FRC World Champions (1477, 1241, 610)
Queens University Computing Class of 2020


2013-2016: Team 610
2017-????: Team 4476
Reply With Quote
  #8   Spotlight this post!  
Unread 24-01-2015, 20:39
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,103
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: Driving: Tank, Arcade or FPS?

Quote:
Originally Posted by z_beeblebrox View Post
Can you clarify what that means?
Grand Theft Auto?


Reply With Quote
  #9   Spotlight this post!  
Unread 24-01-2015, 20:40
IronicDeadBird's Avatar
IronicDeadBird IronicDeadBird is offline
Theory Crafting Fo days...
AKA: Charles Ives "M" Waldo IV
FRC #1339 (Angelbots)
Team Role: Tactician
 
Join Date: Feb 2014
Rookie Year: 2005
Location: Colorado
Posts: 958
IronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond repute
Re: Driving: Tank, Arcade or FPS?

Quote:
Originally Posted by z_beeblebrox View Post
Can you clarify what that means?
Sorry I got side tracked.
It would be button inputs dictate direction freeing up the full range of a joystick to setting the percent or throttle
__________________
HERO 俺を讃える声や 喝采なんて 欲しくはないさ
I liked my team more before they stole my jacket.
Play is for kids this is serious...
Reply With Quote
  #10   Spotlight this post!  
Unread 24-01-2015, 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,103
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: Driving: Tank, Arcade or FPS?

Quote:
Originally Posted by IronicDeadBird View Post
Sorry I got side tracked.
It would be button inputs dictate direction
What does "dictate direction" mean? Could you please describe in more detail?

e.g :

while ButtonX is pushed bot rotates at rateX?

push and release ButtonX, bot rotates at rateX until another button is pushed?

push and release ButtonX, bot rotates Xdegrees from where it was?

push and release ButtonX, bot rotates to field-oriented headingX?

etc etc etc


Last edited by Ether : 24-01-2015 at 20:47.
Reply With Quote
  #11   Spotlight this post!  
Unread 24-01-2015, 20:45
IronicDeadBird's Avatar
IronicDeadBird IronicDeadBird is offline
Theory Crafting Fo days...
AKA: Charles Ives "M" Waldo IV
FRC #1339 (Angelbots)
Team Role: Tactician
 
Join Date: Feb 2014
Rookie Year: 2005
Location: Colorado
Posts: 958
IronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond repute
Re: Driving: Tank, Arcade or FPS?

Quote:
Originally Posted by Ether View Post
What does "dictate direction" mean? Could you please describe in more detail?


So in a standard WCD set left trigger to forward and right trigger to reverse essentially like shifting in a car. Then using a joystick or dial to adjust the speed you are going
eh ill just include an image.

__________________
HERO 俺を讃える声や 喝采なんて 欲しくはないさ
I liked my team more before they stole my jacket.
Play is for kids this is serious...

Last edited by IronicDeadBird : 24-01-2015 at 20:56.
Reply With Quote
  #12   Spotlight this post!  
Unread 25-01-2015, 16:17
I_AM_Clayton's Avatar
I_AM_Clayton I_AM_Clayton is offline
Jr./Build Captain
AKA: Clayton Miller
FRC #3397 (Robolions)
Team Role: Driver
 
Join Date: Jun 2014
Rookie Year: 2010
Location: University City Missouri
Posts: 132
I_AM_Clayton has a reputation beyond reputeI_AM_Clayton has a reputation beyond reputeI_AM_Clayton has a reputation beyond reputeI_AM_Clayton has a reputation beyond reputeI_AM_Clayton has a reputation beyond reputeI_AM_Clayton has a reputation beyond reputeI_AM_Clayton has a reputation beyond reputeI_AM_Clayton has a reputation beyond reputeI_AM_Clayton has a reputation beyond reputeI_AM_Clayton has a reputation beyond reputeI_AM_Clayton has a reputation beyond repute
Re: Driving: Tank, Arcade or FPS?

I think we're going with a simple tank drive using the now pointless omni wheels and using an Xbox controller. Anyone else think that this will be the first year mecanums will be on Einstein? I feel like good maneuverability is one of the main keys to being successful in this years game.
Reply With Quote
  #13   Spotlight this post!  
Unread 25-01-2015, 16:21
Gregor's Avatar
Gregor Gregor is offline
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: Driving: Tank, Arcade or FPS?

Quote:
Originally Posted by I_AM_Clayton View Post
Anyone else think that this will be the first year mecanums will be on Einstein?
A lot of people do.
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011
Reply With Quote
  #14   Spotlight this post!  
Unread 26-01-2015, 13:52
IronicDeadBird's Avatar
IronicDeadBird IronicDeadBird is offline
Theory Crafting Fo days...
AKA: Charles Ives "M" Waldo IV
FRC #1339 (Angelbots)
Team Role: Tactician
 
Join Date: Feb 2014
Rookie Year: 2005
Location: Colorado
Posts: 958
IronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond reputeIronicDeadBird has a reputation beyond repute
Re: Driving: Tank, Arcade or FPS?

Now that I am not doing a billion things at once I will go over more in depth what I am talking about.
So generally speaking video game developers sink a lot of time into control systems when they make a game. When playing a game the controls should be either engaging and fun to use (like in the case of the original Wii it was supposed to be fun and involving to do those motion things) or to make it feel like there is no controller you are just plugged directly into the character you have. When you have a poor control system in a video game it really shows. When moving if you get stuck on objects its frustrating. When the inputs are delayed you feel sluggish and clumsy. When the control system is your enemy the game isn't difficult because its challenging its because the game is not responding the way you want it.
That is where GTA drive tackles a number of issues, the original GTA's were 2D top down so they don't count and can go away in this discussion. But as soon as GTA went 3D it faced this wall of problems. With top down games your vision is done for you and it moves with the character so you don't need any controller input. When you move to 3D there is no way to have a character see in a 3rd person perspective and still see the entire world. It is just not possible, that being said this forces one of the vision controls onto the joysticks (keeping in mind most console controllers have 2 joysticks*). With only one joystick remaining lets look at the other tasks that need to be accomplished in order to fully control your character in a 3D environment. Now that we can see the world we can navigate through it. Most navigation is done with the other Joystick on a controller because it provides movement in all directions, its a simple obvious solution. But that is if you are controlling something that can move in all directions.
Remember grand theft auto is done in cars a lot... That is the Auto part, in this aspect you don't actually need to move left or right because most cars don't strafe, instead you need to turn in a car. This makes putting movement on one joystick detrimental because of the zones of control on the joystick. When a joystick is in its neutral state most games treat it as dead. This means you get no input. The cardinal directions are just as simple you are either moving forward or backward, or in a position where you are turning. It is the diagonals that get sketchy. Since you are limited to a circle on most joysticks when combining forward and left you get these fuzzy zones where you can only move so fast while turning. This isn't actually ideal because this ties the speed and turning together in a way where you lose a lot of control.
To tackle this issue (and make it feel more like driving a car) the developers of GTA said "Well what if when driving a car instead of having to push forward to drive forward and backwards to drive backwards we switched those to buttons." That is the basis of GTA drive that you have one button for forward and one button for backwards and now your speed and your turning are never tied together. Since it is also supposed to emulate driving it is more like that because the button for forward and backwards is used to accelerate to desired speed but I digress.
Translating GTA drive to robotics we can start off with the same thing. Take a standard kitbot, and on the controller have one button be forward and one button be backwards. So if we take the left joystick and make it at its neutral state make the robot go (when pressed with a forward or backward button) at a set speed of say 50% of its total. As you tilt the stick forward you slowly increase the speed until you are at 100% and when you tilt it back you decrease the speed. The difference between this and movement being on one stick is that controllers are really limited on inputs. When you take only the forward tilt on a joystick as forward and backwards as backwards you only have a small area to define your speed**. With GTA drive in theory you have a larger area for controlling speed.



* yes I know the N64 had one joystick but were talking about good controller design
** There is a work around to that but I don't want to ruin the surprise yet
__________________
HERO 俺を讃える声や 喝采なんて 欲しくはないさ
I liked my team more before they stole my jacket.
Play is for kids this is serious...
Reply With Quote
  #15   Spotlight this post!  
Unread 26-01-2015, 14:14
Addison4300's Avatar
Addison4300 Addison4300 is offline
FRC is love, FRC is life
AKA: Addison
FRC #4300 (The Lion Kings)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2013
Location: McKinney, Texas
Posts: 142
Addison4300 is on a distinguished road
Re: Driving: Tank, Arcade or FPS?

Our team is trying the tank drive this year instead of the single joystick. So far it is working out great!
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 17:29.

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