The feeling of true love is a keeper.
Home
Go Back   Chief Delphi > Technical > Programming
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 Today, 11:36
NVMHS NVMHS is offline
Registered User
FRC #6546
 
Join Date: Feb 2017
Location: Navajo Mountain, Utah
Posts: 3
NVMHS is an unknown quantity at this point
Rookie Team needing some help

Good Morning,

We are a rookie team looking for some help on programming the robot. I know we may be starting on this process a bit late in the build process, but due to the dynamics of our team (6 students, 0 expertise in anything this build requires and our mentor is at the exact same place as the students) we took things one challenge at a time. Below is our accomplishments and current challenges when it comes to getting our little bot moving.

Accomplishments:

Wiring the robot
Flashing the RIO
Getting the radio up and running (way harder than expected. Ended up using an old desktop to get it to work)



Challenges:

Programming the robot. We have no idea if it's best to use C++, Java, or labview. We don't even know how to use them. We built a very simple robot that can deliver gears with no moving parts. That means we only need to code for the motors powering the wheels and for the autonomous part of the competition (we kept it simple for our first year). We may add a climber if we have time, but that is a big if.

Limitations:

Budget: minimal.
Ability to get parts/supplies is extremely limited. We are one of the most remote schools outside of Alaska. Its a 4 hour roundtrip drive to the nearest walmart and 6 hours roundtrip to the nearest hardware store. Our mail delivery is very slow.


So what would be the best next step for our team to get programming? We are good to go for any challenge that this may entail. Our team motto is "Determination". You could not even imagine what we have had to go through to get this far (seriously).


Thanks in advance!
Reply With Quote
  #2   Spotlight this post!  
Unread Today, 11:47
engunneer's Avatar
engunneer engunneer is offline
Alumni turned Mentor
AKA: Branden Gunn
FRC #4761
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1996
Location: Reading, MA
Posts: 893
engunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond repute
Re: Rookie Team needing some help

Great job knowing what you can tackle and tackling it. Delivering a gear in Auto as a rookie team is a great goal.

I personally would recommend using Java and RobotBuilder. if you have a basic drivetrain, this will take care of most of your needs with only basic configuration.

Start here: https://wpilib.screenstepslive.com/s/4485/m/26402

Then you can focus your efforts on your autonomous, and a possible climber.

Do you plan to (or want to) use any sensors to help your autonomous?

Also, on a separate note, I would be happy to look at your robot for basic inspection issues if you want. See the thread here for the full description: https://www.chiefdelphi.com/forums/s...d.php?t=154257
__________________
Student FRC23 (1996-1999), Mentor FRC246 (2000), Mentor FRC1318 (2007-2009), Mentor FRC93 (2011), Mentor FRC2151 (2012), Mentor FRC23 (2013), Mentor FRC4761 (2014-2017)
1998 - National Chairman's Award and Woodie Flowers Award (FRC23, Mike Bastoni ) | 2007 - PNW SF (488, 1595) | 2008 - Oregon RCA - Seattle #2 Seed, SF (488, 1696) | 2009 - Oregon #1 Seed, Winners (1983, 2635) - Seattle SF (945, 2865) - Galileo #2 Seed, SF (973, 25) | 2012 Midwest F (111, 71) | 2014 RIDE Winners (78, 125), Inspector - NEU #24, QF (3479, 3958) - NECMP #35 | 2015 Reading #11, SF (1058, 190), Inspector - RIDE #17, QF(4055, 5494), Inspector - NECMP #57 | 2016 Reading #4, SF (133, 4474), DCA, Inspector - Ride #22, SF (1735, 2067), Creativity, Inspector - NECMP #48, RCA - Archimedes
Reply With Quote
  #3   Spotlight this post!  
Unread Today, 11:47
Bkeeneykid's Avatar
Bkeeneykid Bkeeneykid is offline
#wheatcoastneatcoast
AKA: Devin Keeney
FRC #1982 (Cougar Robotics); Season Long Fantasy FIRST (F3)
Team Role: Leadership
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Lenexa, Kansas
Posts: 371
Bkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud of
Re: Rookie Team needing some help

There's a lot of discussion here on what's the best programming language to use. The short answer is they're all good. If you have a programming mentor, or someone with prior experience with any of the three, then use that. Generally, more teams use Java, and is generally simpler to use than C++. LabView is second, but offers a completely different paradigm than text based languages, it may take longer to learn for people already familiar with text based programming. Really, experiment with all of them and whichever one gets what you need done first is the one you should use. There is no "This is the best language in all circumstances" for every team.
__________________

F4 Network Website Designer

2010-2012: A Whole Buncha FLL Teams; Team Spirit, Gracious Professionalism Award winner
2015-Current: FRC 1982, Captain, Electrical Lead
Beginning FIRST Volunteer

Moderator on the FIRSTwiki
Reply With Quote
  #4   Spotlight this post!  
Unread Today, 12:27
jvriezen jvriezen is offline
Registered User
FRC #3184 (Burnsville Blaze)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Burnsville, MN
Posts: 644
jvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond repute
Re: Rookie Team needing some help

As a rookie team with (I'm guessing) little on site assistance from veteran teams, it sounds great that you are getting a robot that can contribute to the game.

It would be good to post detailed pictures of your robot as there are several common 'rookie' mistakes that you may not know you have made.
  • Robot volume restrictions -- be sure to have at least 1/2" of 'buffer' planned.
  • Bumper coverage of frame
  • Bumper construction and attachment. Use decent grade 3/4 plywood or a hardwood board (e.g. oak), not chip board, pine board, OSB, etc.
  • Everything starting inside your 'frame perimeter.' For example, if your gear handling piece is leaning out over your bumper and does not move, you've got a problem.
  • Wiring gauge and wire color. Since you mostly have only a drive train at this point, you will typically want 12 awg wiring to your drive motors.
  • Secure battery mounting. If someone can pull out your battery by vigorous pulling, twisting, etc. without explicitly undoing its securing mechanism, or if you batter could fall out if two people turned your bot upside down (or any other direction) and shakes your robot then you may have a problem.
  • Main power switch accessibility -- It should be easy to reach quickly, without risk of injury from moving parts, but should also be immune from getting turned off from flying fuel or gears dropped near your bot.

Good luck !
__________________
John Vriezen
FRC, Mentor, Inspector #3184 2016- #4859 2015, #2530 2010-2014 FTC Mentor, Inspector #7152 2013-14
Reply With Quote
  #5   Spotlight this post!  
Unread Today, 12:29
NVMHS NVMHS is offline
Registered User
FRC #6546
 
Join Date: Feb 2017
Location: Navajo Mountain, Utah
Posts: 3
NVMHS is an unknown quantity at this point
Re: Rookie Team needing some help

Quote:
Originally Posted by engunneer View Post
Great job knowing what you can tackle and tackling it. Delivering a gear in Auto as a rookie team is a great goal.

I personally would recommend using Java and RobotBuilder. if you have a basic drivetrain, this will take care of most of your needs with only basic configuration.

Start here: https://wpilib.screenstepslive.com/s/4485/m/26402

Then you can focus your efforts on your autonomous, and a possible climber.

Do you plan to (or want to) use any sensors to help your autonomous?

Also, on a separate note, I would be happy to look at your robot for basic inspection issues if you want. See the thread here for the full description: https://www.chiefdelphi.com/forums/s...d.php?t=154257
Thanks for the starting point! We will check that out during tonights build.

We are not planning on using any sensors. As a rookie team we are trying to do one thing really well. We chose to do gears. Climbing would be a bonus and should not be too hard as it only requires an extra motor.

That would be awesome! After we get everything assembled i will get in touch with you for some inspection tips.
Reply With Quote
  #6   Spotlight this post!  
Unread Today, 12:33
engunneer's Avatar
engunneer engunneer is offline
Alumni turned Mentor
AKA: Branden Gunn
FRC #4761
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1996
Location: Reading, MA
Posts: 893
engunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond repute
Re: Rookie Team needing some help

some sensors may help you do gears better. the KoP Gyro plugs in with no wiring, and you can get the angle back very easily. this might help you drive more accurately in autonomous, and if it doesn't work, you can just not use it.
__________________
Student FRC23 (1996-1999), Mentor FRC246 (2000), Mentor FRC1318 (2007-2009), Mentor FRC93 (2011), Mentor FRC2151 (2012), Mentor FRC23 (2013), Mentor FRC4761 (2014-2017)
1998 - National Chairman's Award and Woodie Flowers Award (FRC23, Mike Bastoni ) | 2007 - PNW SF (488, 1595) | 2008 - Oregon RCA - Seattle #2 Seed, SF (488, 1696) | 2009 - Oregon #1 Seed, Winners (1983, 2635) - Seattle SF (945, 2865) - Galileo #2 Seed, SF (973, 25) | 2012 Midwest F (111, 71) | 2014 RIDE Winners (78, 125), Inspector - NEU #24, QF (3479, 3958) - NECMP #35 | 2015 Reading #11, SF (1058, 190), Inspector - RIDE #17, QF(4055, 5494), Inspector - NECMP #57 | 2016 Reading #4, SF (133, 4474), DCA, Inspector - Ride #22, SF (1735, 2067), Creativity, Inspector - NECMP #48, RCA - Archimedes
Reply With Quote
  #7   Spotlight this post!  
Unread Today, 12:40
Coach Seb's Avatar
Coach Seb Coach Seb is offline
Registered User
AKA: Sebastien Cournoyer
FRC #5860 (Full Metal Muskrats)
Team Role: Coach
 
Join Date: Sep 2015
Rookie Year: 2015
Location: Algonac, MI
Posts: 131
Coach Seb is an unknown quantity at this point
Re: Rookie Team needing some help

I was in that position earlier last year.

Our team used Labview depending on one students our rookie year, he graduated and we were back to square one.

I'm a data miner freak... so I got a table with data from every robot that connected to a field last year worldwide and found that top 2 were:

49% Java
35% Labview

With that in mind, we choose Java, ended up not using the robotbuilder but use it for training... found tons of example online and we had a driveable robot early on... fun part will be the setup for sensors, but we are happy with our move... younger kids are also learning java with FTC.. so overall, it was a good move for us.
Reply With Quote
  #8   Spotlight this post!  
Unread Today, 15:15
NVMHS NVMHS is offline
Registered User
FRC #6546
 
Join Date: Feb 2017
Location: Navajo Mountain, Utah
Posts: 3
NVMHS is an unknown quantity at this point
Re: Rookie Team needing some help

Quote:
Originally Posted by jvriezen View Post
As a rookie team with (I'm guessing) little on site assistance from veteran teams, it sounds great that you are getting a robot that can contribute to the game.

It would be good to post detailed pictures of your robot as there are several common 'rookie' mistakes that you may not know you have made.
  • Robot volume restrictions -- be sure to have at least 1/2" of 'buffer' planned.
  • Bumper coverage of frame
  • Bumper construction and attachment. Use decent grade 3/4 plywood or a hardwood board (e.g. oak), not chip board, pine board, OSB, etc.
  • Everything starting inside your 'frame perimeter.' For example, if your gear handling piece is leaning out over your bumper and does not move, you've got a problem.
  • Wiring gauge and wire color. Since you mostly have only a drive train at this point, you will typically want 12 awg wiring to your drive motors.
  • Secure battery mounting. If someone can pull out your battery by vigorous pulling, twisting, etc. without explicitly undoing its securing mechanism, or if you batter could fall out if two people turned your bot upside down (or any other direction) and shakes your robot then you may have a problem.
  • Main power switch accessibility -- It should be easy to reach quickly, without risk of injury from moving parts, but should also be immune from getting turned off from flying fuel or gears dropped near your bot.

Good luck !
I will post pictures of our bot in a few days. Your list is fantastic! We are good to go on all the items in your list. We were not able to get our kit till a week after kickoff due to a snow storm making the only road out here impassible. We used that week to design and pour over the rules over and over.
Reply With Quote
  #9   Spotlight this post!  
Unread Today, 15:19
ahartnet's Avatar
ahartnet ahartnet is offline
Registered User
AKA: Andrew Hartnett
FRC #5414 (Pearadox)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2005
Location: Houston, Texas
Posts: 211
ahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond repute
Re: Rookie Team needing some help

Quote:
Originally Posted by NVMHS View Post
I will post pictures of our bot in a few days. Your list is fantastic! We are good to go on all the items in your list. We were not able to get our kit till a week after kickoff due to a snow storm making the only road out here impassible. We used that week to design and pour over the rules over and over.
like others have said, great job knowing and listing limitations, and overcoming the obstacles you have so far. Getting the kit a week late as a rookie is a pretty big setback.

How is your internet connection there? If you decide to do Java, I (or I'm sure several others) would help via skype or similar to walk you through questions in real time.
__________________
Team 451 The Cat Attack, Student Alumni (2005)
Team 1646 Precision Guessworks, Mentor (2006-2008)
Team 2936 Gatorzillas, Mentor (2011-2014)
Team 5414 Pearadox, Mentor (2015-Present)
Reply With Quote
  #10   Spotlight this post!  
Unread Today, 17:40
Tatertot Tatertot is offline
Registered User
AKA: Jess Tate
FRC #2122 (Team Tators)
Team Role: Mentor
 
Join Date: Mar 2014
Rookie Year: 2013
Location: Boise, ID
Posts: 5
Tatertot will become famous soon enough
Re: Rookie Team needing some help

I see that your team is registered for the Utah regional. We are using Java this year, so if that's what you choose to use, I'm sure our programmers would be more than willing to provide assistance at the event if you need it.
Reply With Quote
  #11   Spotlight this post!  
Unread Today, 17:52
feverittm's Avatar
feverittm feverittm is offline
Registered User
FRC #0997 (Spartans)
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Corvallis, OR
Posts: 126
feverittm will become famous soon enoughfeverittm will become famous soon enough
Re: Rookie Team needing some help

I would probably go with either of the text languages and Java is what we use, but like has been said before "pick what you know".

I would also suggest you check a few other things too:

1 - Know (write down) how your motors and motor controllers are connected. This is called the IO map and is required to help develop the software.
a - Which PWM output from the RoboRio is the motor controllers connected?
b - Which output on the PDP is the motors connected?
c - are you using 1 or 2 motors per side and how are they connected to the PDP?
d - Update your RobotMap.java (or its equivalent) to update the motor controller locations from above.

2 - Are you using the default Joysticks or borrowing someones gamepad? I would assume the Joystick.

3 - Use RobotBuilder or modify one of the Example projects (in eclipse you can go to:
New->Other...->WPILib Robot Java Development->Example Robot Java Project (next)
Then select a simple project like the "Getting Started" project is the simplest

4 - Try your first tests with the robot up on blocks. That way it doesn't run away from you when you test the code for the first time.


These will be a start. Please keep up the posts since a number of people are here wanting to make sure you succeed.

Enjoy!
__________________
Floyd Moore
Mentor Electrical and Pneumatics
Team 997 - Spartan Robotics
Corvallis High School, Corvallis Oregon
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 20:43.

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