Go to Post Roses are red Cyber is Blue With those sweet treads They simply cannot lose Team 234 - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 11-02-2016, 22:59
ajhammond ajhammond is offline
Registered User
AKA: AJ Hammond
FRC #5931 (Bots of Prey)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2014
Location: Caldwell Idaho
Posts: 4
ajhammond is an unknown quantity at this point
Exclamation Rookie team lost only programmer and need help.

We built a robot that has a 6 wheel drive system or tank drive without tread and we need help coding the robot to work with a Xbox controller and our shooting arm to work with a joystick. I have tried to learn how to use eclipse and have figured out a little bit but not enough. Would anybody be willing to teach me at least the driving portion so I can teach others on my team and do the arm on my own or help me get the code done for this year and I will learn on my own later?

Last edited by ajhammond : 11-02-2016 at 23:01.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-02-2016, 13:56
aaronjeline aaronjeline is offline
Aaron
FRC #1719 (Umbrella Corporation)
Team Role: Programmer
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Baltimore
Posts: 17
aaronjeline is an unknown quantity at this point
Re: Rookie team lost only programmer and need help.

Hey, I can try to help out. Can I take a look at what code you have? Or do you not have any?
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2016, 14:50
Beeker's Avatar
Beeker Beeker is offline
Registered User
AKA: Joe
FRC #4377 (BC. Blaze)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Michigan
Posts: 7
Beeker is an unknown quantity at this point
Re: Rookie team lost only programmer and need help.

I would start with Brad Miller's videos. Pretty much will get you going step by step.
https://www.youtube.com/playlist?lis...wtlgnvhGObeKzp
Reply With Quote
  #4   Spotlight this post!  
Unread 12-02-2016, 17:48
TimTheGreat's Avatar
TimTheGreat TimTheGreat is offline
ArchdukeTim
FRC #1418 (Vae Victis)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Falls Church
Posts: 234
TimTheGreat has a spectacular aura aboutTimTheGreat has a spectacular aura aboutTimTheGreat has a spectacular aura about
Re: Rookie team lost only programmer and need help.

Quote:
Originally Posted by ajhammond View Post
We built a robot that has a 6 wheel drive system or tank drive without tread and we need help coding the robot to work with a Xbox controller and our shooting arm to work with a joystick. I have tried to learn how to use eclipse and have figured out a little bit but not enough. Would anybody be willing to teach me at least the driving portion so I can teach others on my team and do the arm on my own or help me get the code done for this year and I will learn on my own later?
If you're not set on using specifically java, python is a pretty easy language to learn. Especially if you're a beginner.
__________________
There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.



2012 - Gracious Professionalism - Greater DC
2014 - Regional Finalist - Virginia | Industrial Design - Virginia | Regional Finalist - Greater DC
2015 - Innovation in Control - Greater DC
2016 - District Event Winner - VAHAY | Innovation in Control - VAHAY | District Event Winner - MDBET | Industrial Design - MDBET | District Champion - CHCMP | Innovation in Control - CHCMP
Reply With Quote
  #5   Spotlight this post!  
Unread 12-02-2016, 19:27
ajhammond ajhammond is offline
Registered User
AKA: AJ Hammond
FRC #5931 (Bots of Prey)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2014
Location: Caldwell Idaho
Posts: 4
ajhammond is an unknown quantity at this point
Re: Rookie team lost only programmer and need help.

Quote:
Originally Posted by aaronjeline View Post
Hey, I can try to help out. Can I take a look at what code you have? Or do you not have any?
We had a robot donated to us for demos that has octocanum/butterfly drive system and our programmer got the code set up but did not teach anyone how to do it before he left. That is the only code we have and it is for a joystick and we are using a xbox controller for drive and joystick for shooting.
Reply With Quote
  #6   Spotlight this post!  
Unread 12-02-2016, 20:15
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,575
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Rookie team lost only programmer and need help.

Given that you're at the end of week 5 with no programming done, you need to take stock of your resources. Do you have anyone who knows anything about programming in C, C++, Java, Python, or Labview? If so, use that language. If one of the first three, go through the screenstepslive pages for the language; they'll show you how to set up a tank/arcade style drive and even control some fairly basic arms and intakes. They even have some full-up samples ready to drop onto a robot if you're willing to wire to the same channels they used. National Instruments has similar resources for LabView. I'm not familiar with the Python resources, but I know they're out there. You should be able to get through the basics based on these tutorials and then come back to CD or another support site with more specific questions.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #7   Spotlight this post!  
Unread 12-02-2016, 20:55
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Rookie team lost only programmer and need help.

I think the fastest is to take one of the sample code that resembles most to your robot and make minor modifications to it to match your robot. You should be able to have a runnable TeleOp by this method. Then you need to prioritize what you need to get working next and add code for each subsystems one at a time. With your current situation, I would give up autonomous.
__________________
Reply With Quote
  #8   Spotlight this post!  
Unread 12-02-2016, 21:05
ajhammond ajhammond is offline
Registered User
AKA: AJ Hammond
FRC #5931 (Bots of Prey)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2014
Location: Caldwell Idaho
Posts: 4
ajhammond is an unknown quantity at this point
Re: Rookie team lost only programmer and need help.

Quote:
Originally Posted by mikets View Post
I think the fastest is to take one of the sample code that resembles most to your robot and make minor modifications to it to match your robot. You should be able to have a runnable TeleOp by this method. With your current situation, I would give up autonomous.
We do not need autonomous just need TeleOp, Correct. But we do not have any code whatsoever and everybody on our team knows almost nothing about coding. Where do I go to get sample code I have eclipse and all the first stuff installed/
Reply With Quote
  #9   Spotlight this post!  
Unread 13-02-2016, 00:40
ajhammond ajhammond is offline
Registered User
AKA: AJ Hammond
FRC #5931 (Bots of Prey)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2014
Location: Caldwell Idaho
Posts: 4
ajhammond is an unknown quantity at this point
Re: Rookie team lost only programmer and need help.

Where do I find the sample code?
Reply With Quote
  #10   Spotlight this post!  
Unread 13-02-2016, 02:50
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Rookie team lost only programmer and need help.

Quote:
Originally Posted by ajhammond View Post
Where do I find the sample code?
If you have Eclipse and all FRC stuff installed, you can click "File->New...->Project" then you will find at the bottom "WPI Robot Java Development" and underneath that you will see "Example Robot Java Project". Select that and click "Next". Then you have a whole list of example robots to choose from. If you are planning to have a drive base that does tank drive, you may want to look at the "Tank Drive" project. Please look through the list and find a robot that most resemble to your robot.
__________________
Reply With Quote
  #11   Spotlight this post!  
Unread 13-02-2016, 03:01
seg9585's Avatar
seg9585 seg9585 is offline
Registered User
AKA: Eric
FRC #4276 (Surf City Vikings)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2001
Location: Boeing (Seal Beach, CA)
Posts: 520
seg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond repute
Re: Rookie team lost only programmer and need help.

For XBox programming, Team 4276 created a small class that maps the XBox buttons to their respective buttons and axes. Hope this saves you some time.

XBox.zip
Attached Files
File Type: zip XBox.zip (324 Bytes, 24 views)
__________________
My FIRST legacy:

Team 204 Student 2001, 2002 (Voorhees, NJ)
Team 1493 College Mentor 2006 - 2008 (Troy, NY)
Team 2150 Intern/Professional Mentor 2007, 2009 (Palos Verdes)
Team 4123 Lead Engineering Mentor 2012 (Bellflower, CA)
Team 4276 Engineering Mentor 2012-2016 (Huntington Beach, CA)
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 00:42.

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