Go to Post Anyone else think we're (including me) a little obsessed? The seasons over and were already onto the next one. - Bjenks548 [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 Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #31   Spotlight this post!  
Unread 12-03-2015, 10:15
lark95's Avatar
lark95 lark95 is offline
Red Ranger
AKA: Joe L.
FRC #3418 (RoboRiot)
Team Role: Driver
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Wisconson
Posts: 117
lark95 is a glorious beacon of lightlark95 is a glorious beacon of lightlark95 is a glorious beacon of lightlark95 is a glorious beacon of lightlark95 is a glorious beacon of light
Re: Programmers on the Drive Team

Quote:
Originally Posted by JamesCH95 View Post
Why do you think that this is advantageous?
I would thinks that this would be better because it provides all the axis of motion with the same proportion. This gives a much more consistent rang of motion needed to get the same motion.

This really comes into play if a team has less time to practice. Driver can develop the muscle memory needed to drive much faster.
  #32   Spotlight this post!  
Unread 12-03-2015, 10:22
pntbll1313's Avatar
pntbll1313 pntbll1313 is offline
2052 Coach, Build/Electrical Mentor
AKA: Pete
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2007
Location: New Brighton, MN
Posts: 253
pntbll1313 has much to be proud ofpntbll1313 has much to be proud ofpntbll1313 has much to be proud ofpntbll1313 has much to be proud ofpntbll1313 has much to be proud ofpntbll1313 has much to be proud ofpntbll1313 has much to be proud ofpntbll1313 has much to be proud ofpntbll1313 has much to be proud ofpntbll1313 has much to be proud of
Re: Programmers on the Drive Team

A few people have touched on this point but I want to stress that it shouldn't matter if the drive team has programmers on it or not. The Programmers NEED to make everything as easy, intuitive, and efficient for the drivers as possible. The drivers are your customer here. The drivers NEED to tell the programmers anything/everything that would make their lives easier.

The idea that a programmer being on the drive team in some way makes any difference on how easy the robot is for the driver to control is just odd to me...
__________________
2016 (mentor/drive-coach)
Quarter-Finalist-Einstein, Winner-Carson Division Champs, Winner-10K Lakes, Chairman's Award-10K Lakes, Finalists-Lake Superior,
Winner-MSHSL Robotics Competition

2015 (mentor/drive-coach)
Finalists-10K Lakes, Finalists-Lake Superior, Finalist-MSHL Robotics Competition, Quarter-Finalist-Galileo Division Champs
2014 (mentor/drive-coach)
Winner-10K Lakes, Winner-Lake Superior Winner-MSHSL Robotics Competition, Quarter-Finalist-Galileo Division Champs
2013 (mentor/drive-coach)
Winner-10K Lakes, Winner-Lake Superior, Winner-MSHSL Robotics Competition, Quarter-Finalist-Newton Division Champs
2012 (mentor/drive-coach)
Finalists-Lake Superior, Semi-Finalist-MSHSL State Championship, Semi-Finalists at 10,000 Lakes
2008-2011 (college mentor)
2007 (driver)
Quarter Finalist-Milwaukee
  #33   Spotlight this post!  
Unread 12-03-2015, 10:35
JamesCH95's Avatar
JamesCH95 JamesCH95 is offline
Hardcore Dork
AKA: JCH
FRC #0095 (The Grasshoppers)
Team Role: Engineer
 
Join Date: Dec 2004
Rookie Year: 2001
Location: Enfield, NH
Posts: 1,814
JamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond repute
Re: Programmers on the Drive Team

Quote:
Originally Posted by lark95 View Post
I would thinks that this would be better because it provides all the axis of motion with the same proportion. This gives a much more consistent rang of motion needed to get the same motion.

This really comes into play if a team has less time to practice. Driver can develop the muscle memory needed to drive much faster.
This falls into the 'we geared are transmissions too fast, but it's okay because we slowed them in code' fallacy. It cripples the drivetrain's performance artificially. I've never had a driver that couldn't immediately deal with the difference in speed with mecanum.
__________________
Theory is a nice place, I'd like to go there one day, I hear everything works there.

Maturity is knowing you were an idiot, common sense is trying to not be an idiot, wisdom is knowing that you will still be an idiot.
  #34   Spotlight this post!  
Unread 12-03-2015, 11:28
GreyingJay GreyingJay is offline
Robonut
AKA: Mr. Lam
FRC #2706 (Merge Robotics)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Ottawa, Canada
Posts: 766
GreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond repute
Re: Programmers on the Drive Team

Quote:
Originally Posted by pntbll1313 View Post
The idea that a programmer being on the drive team in some way makes any difference on how easy the robot is for the driver to control is just odd to me...
You are right that what it boils down to is that the drivers need to talk to the programmers and vice versa. When it's one guy doing both then it's easy to have him code up exactly what he wants.
  #35   Spotlight this post!  
Unread 12-03-2015, 14:26
Woody910 Woody910 is offline
Registered User
AKA: Neilson Woodfield
FRC #2028 (Phantom Mentalists)
Team Role: Mechanical
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Hampton, Virginia
Posts: 26
Woody910 is on a distinguished road
Re: Programmers on the Drive Team

Our programmer wrote a code so our bot runs in a sort of auto-pilot mode during tele-op. They flip a switch, and everyone on the drive team folds their arms, sits back, and watches the bot go to work. Our HP still has to feed totes to the bot, sadly, so he still works.
  #36   Spotlight this post!  
Unread 12-03-2015, 14:59
lark95's Avatar
lark95 lark95 is offline
Red Ranger
AKA: Joe L.
FRC #3418 (RoboRiot)
Team Role: Driver
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Wisconson
Posts: 117
lark95 is a glorious beacon of lightlark95 is a glorious beacon of lightlark95 is a glorious beacon of lightlark95 is a glorious beacon of lightlark95 is a glorious beacon of light
Re: Programmers on the Drive Team

Quote:
Originally Posted by Woody910 View Post
Our programmer wrote a code so our bot runs in a sort of auto-pilot mode during tele-op. They flip a switch, and everyone on the drive team folds their arms, sits back, and watches the bot go to work. Our HP still has to feed totes to the bot, sadly, so he still works.
That is impressive. Does it move the stack to the platforms or does it just make the stack?
  #37   Spotlight this post!  
Unread 12-03-2015, 17:29
Skyehawk's Avatar
Skyehawk Skyehawk is offline
Nuts N' Bolts
AKA: Skye Leake
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2011
Location: Northwood, ND
Posts: 204
Skyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to all
Re: Programmers on the Drive Team

Indicators, indicators, and more indicators. There is a lot you can do with sensors, it also makes debugging a lot easier.
  #38   Spotlight this post!  
Unread 13-03-2015, 06:00
AWoL's Avatar
AWoL AWoL is offline
Lvl. 225 Dark Code Mage (Java Type)
AKA: Adam Wolnikowski
FRC #0225 (TechFire)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: York, Pennsylvania
Posts: 116
AWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond repute
Re: Programmers on the Drive Team

Quote:
Originally Posted by Caleb Sykes View Post
For a hypothetical mecanum drive, top speed in the forward direction is 10fps, and top speed in the strafing direction is 5fps, and at other angles the top speed is between these two speeds. With your code implementation, feedback is used to assure that the robot's top speed never exceeds 5fps, regardless of which angle the robot is moving.

Is this a correct interpretation of what you did?
Eh, close enough. The effect is the same. My code actually has more to do with scaling the speed by the amount of joystick input on the x axis.

Quote:
Originally Posted by JamesCH95 View Post
Why do you think that this is advantageous?
Quote:
Originally Posted by lark95 View Post
This really comes into play if a team has less time to practice. Driver can develop the muscle memory needed to drive much faster.
Funny that you say that as I think that we probably have the some of the most time for driver practice, and we also put a lot of effort into it, building a full practice field and trying to simulate the most realistic practice matches possible. We end up having about four weeks of practice with our practice bot after the end of build season.

Now my actual reasoning behind that was when we were practicing, I was having trouble smoothly executing omni-drive-esque/swerve-drive-esque maneuvers (with both field centric and robot centric control) with the robot moving at different speeds when moving on different angles.

Quote:
Originally Posted by JamesCH95 View Post
This falls into the 'we geared are transmissions too fast, but it's okay because we slowed them in code' fallacy. It cripples the drivetrain's performance artificially. I've never had a driver that couldn't immediately deal with the difference in speed with mecanum.
Well we geared them exactly for the strafing speed we wanted, so we do attain full output through the motors when moving laterally. As for the actual driving reasoning...see my comments above.
__________________
2016 Competition Results (Co-captain, Driver, and Lead Programmer; Junior)
Springside-Chestnut Hill District Event - WINNER / #2 Seed, #1 Seed's First Pick / Gracious Professionalism Award
Westtown District Event - WINNER / #1 Seed / Industrial Design Award
MAR District Championship - WINNER / #1 Seed / Industrial Design Award / Dean's List Finalist Award (Me)
World Championship, Carson Subdivision - QUARTERFINALIST / #3 Seed, #2 Seed's First Pick
Indiana Robotics Invitational - FINALIST / #14 Seed, #2 Seed's Second Pick
  #39   Spotlight this post!  
Unread 13-03-2015, 08:20
Woody910 Woody910 is offline
Registered User
AKA: Neilson Woodfield
FRC #2028 (Phantom Mentalists)
Team Role: Mechanical
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Hampton, Virginia
Posts: 26
Woody910 is on a distinguished road
Re: Programmers on the Drive Team

Quote:
Originally Posted by lark95 View Post
That is impressive. Does it move the stack to the platforms or does it just make the stack?
Our bot spans the area from the Human Player Station to the closest Scoring Platform, and the stacks are formed within the bot, and moved through the bot to the scoring platform without moving. There's a picture to help you see and understand.
Attached Thumbnails
Click image for larger version

Name:	IMG_3800.JPG
Views:	80
Size:	155.7 KB
ID:	18635  
  #40   Spotlight this post!  
Unread 13-03-2015, 09:34
Lij2015's Avatar
Lij2015 Lij2015 is offline
I like turtles
AKA: Elijah Steele
FRC #2363 (Triple Helix)
Team Role: College Student
 
Join Date: Apr 2013
Rookie Year: 2012
Location: Newport News, Va
Posts: 119
Lij2015 has a spectacular aura aboutLij2015 has a spectacular aura about
Send a message via MSN to Lij2015
Re: Programmers on the Drive Team

Quote:
Originally Posted by GreyingJay View Post
You are right that what it boils down to is that the drivers need to talk to the programmers and vice versa. When it's one guy doing both then it's easy to have him code up exactly what he wants.
The only true advantage it gives me is that if I have a problem I don't need to try communicate what it is to anyone(sometimes it can be hard to explain), I just go and fix it.

It's also convenient when the programmers are testing the robot(we have both drive team members on programming this year) that we can get the practice while the other sub teams keep working.
__________________
Alumni turned volunteer!
2016 Chesapeake District volunteer, Scorekeeper/Game announcer.

Team 2363 Proud Alumni, Programmer/Driver 2013, 2014, 2015(Captain)
2016 Northern Virginia Winners (1418 and 2421)
2016 Hampton Roads Finalists(1885 and 5954)
2015 Chesapeake Regional Winners(1690 and 4050)
2015 Virginia Regional Winners(384 and 1610)
2014 Chesapeake Regional Winners(1629 and 623)
2013 Virginia Regional Finalists (3015 and 2053)

Last edited by Lij2015 : 13-03-2015 at 09:44. Reason: Grammar
  #41   Spotlight this post!  
Unread 13-03-2015, 09:48
Caleb Sykes's Avatar
Caleb Sykes Caleb Sykes is offline
Registered User
FRC #4536 (MinuteBots)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: St. Paul, Minnesota
Posts: 1,049
Caleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond repute
Re: Programmers on the Drive Team

Quote:
Originally Posted by AWoL View Post
Eh, close enough. The effect is the same. My code actually has more to do with scaling the speed by the amount of joystick input on the x axis.
Let me try again then:
For the same hypothetical mecanum drive, no feedback is used when setting wheel velocities. Instead, the joystick outputs are scaled as follows:
Output x = joystick.X
Output y = (joystick.y)/2

This causes the forward top speed to be slowed down so that the strafing speed is never exceeded in any direction.
  #42   Spotlight this post!  
Unread 14-03-2015, 11:40
Ari423's Avatar
Ari423 Ari423 is offline
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 553
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: Programmers on the Drive Team

Using mecanums and a 3-axis joystick often means you get a turning component when you don't want one. To correct this, there are two buttons on the joystick: one only uses the x-axis and the other only uses the y-axis.
  #43   Spotlight this post!  
Unread 15-03-2015, 18:53
JamesCH95's Avatar
JamesCH95 JamesCH95 is offline
Hardcore Dork
AKA: JCH
FRC #0095 (The Grasshoppers)
Team Role: Engineer
 
Join Date: Dec 2004
Rookie Year: 2001
Location: Enfield, NH
Posts: 1,814
JamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond repute
Re: Programmers on the Drive Team

Quote:
Originally Posted by arimb1999 View Post
Using mecanums and a 3-axis joystick often means you get a turning component when you don't want one. To correct this, there are two buttons on the joystick: one only uses the x-axis and the other only uses the y-axis.
Not if you buy a quality 3-axis joystick (I used to be skeptical of this too). We bought two Thrustmaster T16000m joysticks this year and they are awesome. It seems silly to me to spend thousands of dollars on registration and building the robot only to use very inexpensive controllers to drive it!
__________________
Theory is a nice place, I'd like to go there one day, I hear everything works there.

Maturity is knowing you were an idiot, common sense is trying to not be an idiot, wisdom is knowing that you will still be an idiot.
  #44   Spotlight this post!  
Unread 15-03-2015, 18:58
JamesCH95's Avatar
JamesCH95 JamesCH95 is offline
Hardcore Dork
AKA: JCH
FRC #0095 (The Grasshoppers)
Team Role: Engineer
 
Join Date: Dec 2004
Rookie Year: 2001
Location: Enfield, NH
Posts: 1,814
JamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond reputeJamesCH95 has a reputation beyond repute
Re: Programmers on the Drive Team

Quote:
Originally Posted by AWoL View Post
Eh, close enough. The effect is the same. My code actually has more to do with scaling the speed by the amount of joystick input on the x axis.




Funny that you say that as I think that we probably have the some of the most time for driver practice, and we also put a lot of effort into it, building a full practice field and trying to simulate the most realistic practice matches possible. We end up having about four weeks of practice with our practice bot after the end of build season.

Now my actual reasoning behind that was when we were practicing, I was having trouble smoothly executing omni-drive-esque/swerve-drive-esque maneuvers (with both field centric and robot centric control) with the robot moving at different speeds when moving on different angles.



Well we geared them exactly for the strafing speed we wanted, so we do attain full output through the motors when moving laterally. As for the actual driving reasoning...see my comments above.
Thank you for the reply. I don't agree with your reasoning (I wouldn't want to do that on one of our robots), but I understand it.
__________________
Theory is a nice place, I'd like to go there one day, I hear everything works there.

Maturity is knowing you were an idiot, common sense is trying to not be an idiot, wisdom is knowing that you will still be an idiot.
  #45   Spotlight this post!  
Unread 15-03-2015, 19:00
mega900997's Avatar
mega900997 mega900997 is offline
Registered User
FRC #0263 (Sachem Aftershock)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Ronkonkoma
Posts: 58
mega900997 is on a distinguished road
Re: Programmers on the Drive Team

Quote:
Originally Posted by arimb1999 View Post
Using mecanums and a 3-axis joystick often means you get a turning component when you don't want one. To correct this, there are two buttons on the joystick: one only uses the x-axis and the other only uses the y-axis.
What you can also do is instead of a 3-axis joystick, use an Xbox controller. You have x-axis/y-axis on 1 stick and turning on the trigger. The only problem you then have is potentially getting a strafe when you don't want it, but we found that it's a lot easier to drive mecanum with a controller than with a 3-axis joystick.
__________________
2015
Suffield Shakedown Winners & Most Points Scored
South Florida Regional 6th Seed, #5 Alliance Captains, Regional Winners w/ 2383 & 386, Innovation in Control Award
NY Tech Valley Regional 5th Seed, QF, Excellence in Engineering Award
SBPLI Long Island Regional 4th Seed, Finalists

Hopper Division 14th Seed, QF
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 22:16.

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