Go to Post Hold on to your shirts kids, here comes some physics... - JesseK [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-01-2017, 21:15
Allikan Allikan is offline
Registered User
AKA: Allison
FRC #5418 (The Sonic Screwdrivers)
Team Role: Leadership
 
Join Date: Nov 2015
Rookie Year: 2015
Location: Hubbard Ohio
Posts: 1
Allikan is an unknown quantity at this point
Need Beginner Programming Tasks

Hey everyone , I'm from team 5418. This year we are having an issue with certain people not "being productive" . I'm personally on build(which is in a separate room) so I can't always babysit the programmers( which like to sing , mess around, throw chairs at each other , exc;.) I don't know much about programming Labview, but I need to give them something to keep them busy. We don't have our robots chassis done yet ( it's a mecanum - first year building it ) so anything pertaining to that specific drive train would be great! I honestly don't think most of them even know how to code. Any ideas? Thanks!
-Captain of 5418
Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2017, 21:29
whitetail's Avatar
whitetail whitetail is offline
Registered User
FRC #5407 (Wolf Pack)
Team Role: Driver
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Philadelphia
Posts: 54
whitetail is an unknown quantity at this point
Re: Need Beginner Programming Tasks

I feel your frustration, the same thing happens on my team from time to time but you just have to lead by example. Can you explain more about what is happening? Where are your mentors when this is happening and have you talked to them about what is happening and how you find it very frustrating?

For tasks to give them I would say if you have a basic drive chassis give them that and then have them add sensors to it and do certain tasks. Ex: With a gyro make a corrective drive system where when the robot is bumped it goes back to where it was.

PS: The corrective gryo can be quite difficult to program depending on your programmers experience
__________________
FRC Team 5407 -Driver, Programmer and Head Control Systems Engineer
2015 MAR Championship Rookie All Star Award
2015 MAR Hatboro-Horsham District Rookie All Star Award
2015 MAR Hatboro-Horsham District event Winner(Thanks 2590 and 2607)
2016 MAR Hatboro-Horsham District event Winner(Thanks 2607 and 1218)

Last edited by whitetail : 19-01-2017 at 21:38.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2017, 21:30
Jayd009's Avatar
Jayd009 Jayd009 is offline
Registered User
AKA: Jonathan
FRC #4468 (Fernbank LINKS)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Atlanta, Georgia
Posts: 32
Jayd009 is on a distinguished road
Re: Need Beginner Programming Tasks

Do you have any mentors who can teach programming? What I did with my team's rookies was use Google Hangouts on Air to record the session and basically told them to watch it. Afterwards, they were expected to know how to code and if they didn't, they would have to learn quickly.

Are there some basics that you know about your robot? If you think you're going to shoot, you could code a basic shooter with a flywheel. That would be very easy for a new programmer. You could also have them code a tank drive setup just to make sure they know how to code drivetrains in general.
__________________
2016: District Event Winner @ Columbus District Qualifier (PCH)
2016: Engineering Inspiration Award @ Peachtree District State Championship
2016: Tesla Subdivision Playoffs Appearance @ FIRST Championship


Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2017, 21:55
GRSICP GRSICP is offline
Greta Rauch
FRC #5822 (WolfByte)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2010
Location: Chicago
Posts: 26
GRSICP is an unknown quantity at this point
Re: Need Beginner Programming Tasks

I wrote up a document of small beginner tasks for our coding team. For each task, I provide a link to the api and/or a page from the wpilib screen steps. Sometimes I also included more detailed instructions if I thought a beginner programmer would need more than just the api and the screen steps. Tasks will depend on what your team has in terms of sensors and other things for the coders to test, but here are some examples:
  1. code drive base with arcade drive
  2. code drive base with tank drive
  3. drive in a square in auto
  4. drive in a square using the gyro sensor
  5. read values from the sonar and convert them to inches
  6. display the feed from a USB camera
  7. write and then tune a PID controller using the gyro to drive straight
  8. code a servo motor
  9. code a pneumatic piston
  10. read values from the encoder and convert them into inches
  11. use the SmartDashboard to display data from the sensors
  12. use the SmartDashboard to set robot preferences

So far this has worked well for my team! While making the list did take me a bit of time, it's helped our practices be much more productive because people know where they can find something to work on. I also feel like it has done a good job of bringing our new programmers up to speed with the basic skills it takes to program a robot. Good luck!
Reply With Quote
  #5   Spotlight this post!  
Unread 19-01-2017, 22:01
Joe Derrick's Avatar
Joe Derrick Joe Derrick is offline
Mentor - Programming
FRC #0319
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Prospect Mountain High School
Posts: 48
Joe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of light
Re: Need Beginner Programming Tasks

I would suggest setting up a test bed with a functional RIO, PDB, VRM, RADIO, joysticks and motor controller(s). Have them achieve tasks like. make a motor spin, make a motor spin forwards and backwards and stop. make a motor spin until a limit switch is tripped. or other thing that you are thinking about having your robot do.

TO a programmer having a testbed to test actual code is extremely useful!!

best of luck!

JOe
__________________
2010-2017 Mentor Team 319
2012 - Rockwell Automation Award Winner
2014 - Xerox Creativity in Engineering Winner, Archimedes Division
2015 - Rockwell Automation and Gracious Proffesionalism Winner, Tesla Division
2016 - North Shore and UNH District Event Winner, Carson Division
http://www.frc319.com
Reply With Quote
  #6   Spotlight this post!  
Unread 19-01-2017, 22:13
AriMindell AriMindell is offline
Registered User
FRC #1389 (The Body Electric)
Team Role: Programmer
 
Join Date: May 2016
Rookie Year: 2015
Location: Maryland
Posts: 25
AriMindell will become famous soon enoughAriMindell will become famous soon enough
Re: Need Beginner Programming Tasks

Dealing with new kids can be super frustrating, especially when they show up for the first time at kickoff, expecting to jump right in with 0 knowledge. I think to get things done as effectively as possible, you have to accept that not every single person can contribute directly to the final robot. By giving those new kids tasks, we are investing in them for future years. We just need to hold their interest so they keep coming back.

Here's what we came up with for new kids:
I know you said you program in LabView. We are a java team and I don't know LabView very well, but this may still be applicable.
I set up a simple Java project that runs on the computer and allows you to program a 2D "robot" to move around on the screen. The structure mimics that of the WPILib command-based system, so it's good practice for real FRC.
Originally I wrote the project to help them understand Command based programming, but now when I have inexperienced kids showing up looking for something to do, I just point them to that game.

Here is a link to the github repo for anyone interested (All the inner workings are hidden away in a jar)
The source for the back-side that makes it work is available here.

Last edited by AriMindell : 19-01-2017 at 22:14. Reason: clarity
Reply With Quote
  #7   Spotlight this post!  
Unread 19-01-2017, 23:59
Hess1113's Avatar
Hess1113 Hess1113 is online now
Registered User
AKA: Christopher Hess
FRC #0291 (CIA)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2017
Location: Erie, PA
Posts: 19
Hess1113 is an unknown quantity at this point
Cool Re: Need Beginner Programming Tasks

I would have them do simple takes such as get code ready for what ever type of robot your programming. If they don't know I would find some such as a mentor or programmer from (I know I would be happy to help teach other how to code). I am not sure what age you are dealing with or maturity but find some way to make it fun or interactive. I am currently from a Boy Scout troop where I am the Senior Leader and I work with other people like the ones you described and it takes a bit but after you give them some kind of way to have fun while programming(or in my task learning scout skills) it is worth it. Also as a side task do you have any old robots that are abled to be programmed in LabVIEW that could give them some great training. I hope everything works out for you and your team. Any questions just contact me. Happy Building
__________________
Christopher Hess
Co-Lead Programmer
Webmaster
FRC-Team 291 CIA
www.team291.com

Last edited by Hess1113 : 20-01-2017 at 13:33. Reason: Spelling
Reply With Quote
  #8   Spotlight this post!  
Unread 20-01-2017, 00:23
Lili_1868 Lili_1868 is offline
Autonomous Director
AKA: Lili Sun
FRC #1868 (Space Cookies)
Team Role: Programmer
 
Join Date: Mar 2016
Rookie Year: 2016
Location: Moffett Field, CA
Posts: 25
Lili_1868 is a glorious beacon of lightLili_1868 is a glorious beacon of lightLili_1868 is a glorious beacon of lightLili_1868 is a glorious beacon of lightLili_1868 is a glorious beacon of light
Re: Need Beginner Programming Tasks

Here's a list I came up with:
Get the framework ready.
If your team has decided on a drivetrain code arcade and tank.
Decide on an autonomous strategy.
If you guys are planning on doing vision, work with the camera and get the needed math and planning done.

Also, if most of them don't know how to code, have more experienced students teach workshops on coding using past robots.
__________________

Reply With Quote
  #9   Spotlight this post!  
Unread 20-01-2017, 08:13
Eric Scheuing's Avatar
Eric Scheuing Eric Scheuing is offline
Registered User
FRC #0999 (MechaRAMS)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Cheshire, CT
Posts: 415
Eric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud ofEric Scheuing has much to be proud of
Re: Need Beginner Programming Tasks

I'm not a programmer either, but a good activity could be to have them work on flowcharts for the code. For auto routines, have them diagram out each step the robot will have to take to complete your given task. For teleop, have them diagram out what each input will do, and see if they can work on automating certain tasks to ease the responsibility of the driver.
__________________




2005-2007: Bobcat Robotics 177
2015-20XX: MechaRAMS 999
Reply With Quote
  #10   Spotlight this post!  
Unread 20-01-2017, 10:42
Fields's Avatar
Fields Fields is offline
Classic
no team
Team Role: Engineer
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Minneapolis
Posts: 118
Fields is a name known to allFields is a name known to allFields is a name known to allFields is a name known to allFields is a name known to allFields is a name known to all
Re: Need Beginner Programming Tasks

Quote:
Originally Posted by GRSICP View Post
I wrote up a document of small beginner tasks for our coding team. For each task, I provide a link to the api and/or a page from the wpilib screen steps. Sometimes I also included more detailed instructions if I thought a beginner programmer would need more than just the api and the screen steps. Tasks will depend on what your team has in terms of sensors and other things for the coders to test, but here are some examples:
  1. code drive base with arcade drive
  2. code drive base with tank drive
  3. drive in a square in auto
  4. drive in a square using the gyro sensor
  5. read values from the sonar and convert them to inches
  6. display the feed from a USB camera
  7. write and then tune a PID controller using the gyro to drive straight
  8. code a servo motor
  9. code a pneumatic piston
  10. read values from the encoder and convert them into inches
  11. use the SmartDashboard to display data from the sensors
  12. use the SmartDashboard to set robot preferences
This is a GREAT list for beginners to prepare during the early stages. Will you use all of it? Definitely not, get students looking at the different blocks of code early so they're not starting from scratch after time has gone by.
__________________
Wait... you built what now?
Reply With Quote
  #11   Spotlight this post!  
Unread 20-01-2017, 10:45
KJaget's Avatar
KJaget KJaget is offline
Zebravision Labs
FRC #0900
Team Role: Mentor
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Cary, NC
Posts: 50
KJaget has much to be proud ofKJaget has much to be proud ofKJaget has much to be proud ofKJaget has much to be proud ofKJaget has much to be proud ofKJaget has much to be proud ofKJaget has much to be proud ofKJaget has much to be proud ofKJaget has much to be proud of
Re: Need Beginner Programming Tasks

If you're using LabView, this is full of programming exercises : https://www.chiefdelphi.com/forums/s...d.php?t=120756
Reply With Quote
  #12   Spotlight this post!  
Unread 20-01-2017, 11:49
NathanStro's Avatar
NathanStro NathanStro is offline
Webmaster for 5980
AKA: Nathan Strodtbeck
FRC #5980 (East Grand Rapids Robotics)
Team Role: Webmaster
 
Join Date: Feb 2016
Rookie Year: 2016
Location: Grand Rapids, MI
Posts: 20
NathanStro is an unknown quantity at this point
Re: Need Beginner Programming Tasks

Make them complete this course:
codecademy.com/learn/java
__________________
Its not about the robot
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 23:54.

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