Go to Post My most distinct memory was watching Tom fix our robot's frame... by whacking it with the hammer. - Jaine Perotti [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2013, 00:24
darkgiant's Avatar
darkgiant darkgiant is offline
Registered User
AKA: Rohit Sharma
FRC #4579 (The RoboEagles)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2007
Location: Federal Way, Washington
Posts: 10
darkgiant is a jewel in the roughdarkgiant is a jewel in the roughdarkgiant is a jewel in the roughdarkgiant is a jewel in the rough
Which language should we use to program our FRC Robot? Why?

Hello!

I am currently running a rookie team right now, and am somewhat familiar with LabView (last time I actually used it FRC related was three years ago!) so I don't have a great memory on the fundamentals to using it. As of right now, we are making our 'bot pretty simple, 6 wheel drive with shooter using CIM motors. Because of this, I was wondering, which programming language should we use to have our Robot's drivetrain just move? Should we follow the path of LabView? C++? or Java? I may be asking this question sort of late, but I understand that there are some sort of tutorials on how to make this all happen. My team is hoping to have a robot moving by the end of this weekend (as we mounted all of our parts tonight!). Anyways, which language should we program our robot in, that would be less time consuming, and easier for noobs?


Thanks!
  #2   Spotlight this post!  
Unread 17-01-2013, 00:25
bdbayes bdbayes is offline
Captain
FRC #2927 (Pi Rho Techs)
Team Role: Leadership
 
Join Date: Apr 2011
Rookie Year: 2009
Location: Tacoma, WA
Posts: 75
bdbayes is a jewel in the roughbdbayes is a jewel in the roughbdbayes is a jewel in the rough
Re: Which language should we use to program our FRC Robot? Why?

I would personally recommend Java, as you can turn out some simple code to get the robot running really quickly. If you have any questions or need help, feel free to send me a message.
  #3   Spotlight this post!  
Unread 17-01-2013, 00:30
darkgiant's Avatar
darkgiant darkgiant is offline
Registered User
AKA: Rohit Sharma
FRC #4579 (The RoboEagles)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2007
Location: Federal Way, Washington
Posts: 10
darkgiant is a jewel in the roughdarkgiant is a jewel in the roughdarkgiant is a jewel in the roughdarkgiant is a jewel in the rough
Re: Which language should we use to program our FRC Robot? Why?

Quote:
Originally Posted by bdbayes View Post
I would personally recommend Java, as you can turn out some simple code to get the robot running really quickly. If you have any questions or need help, feel free to send me a message.
May you possible link me to any resources that I can get started with immediately? I never worked with Java, and would like to have something working for my team by the end of this Friday, and later continue my learning improving my code of course.
  #4   Spotlight this post!  
Unread 17-01-2013, 00:32
Mugurussa675 Mugurussa675 is offline
Registered User
FRC #0675
Team Role: Driver
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Rohnert Park
Posts: 21
Mugurussa675 is on a distinguished road
Re: Which language should we use to program our FRC Robot? Why?

My team has been using c++ for the past couple of years and they decided to try java this year. They absolutely love it and don't ever wanna change. So I'd recommend java. If you have any questions about java feel free to shoot me a message
  #5   Spotlight this post!  
Unread 17-01-2013, 00:33
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Which language should we use to program our FRC Robot? Why?

Getting Started with Java for FRC
http://wpilib.screenstepslive.com/s/3120/m/7885

RobotBuilder (optional)
http://wpilib.screenstepslive.com/s/3120/m/7882

Testing programs
http://wpilib.screenstepslive.com/s/3120/m/8564

SmartDashboard & LiveWindow
http://wpilib.screenstepslive.com/s/3120/m/7932

Command-based programming
http://wpilib.screenstepslive.com/s/3120/m/7952


I would recommend playing around with RobotBuilder a bit and looking at the output code, even if you don't plan on using it. It should help you get an idea for the structure of the program.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
  #6   Spotlight this post!  
Unread 17-01-2013, 00:35
bdbayes bdbayes is offline
Captain
FRC #2927 (Pi Rho Techs)
Team Role: Leadership
 
Join Date: Apr 2011
Rookie Year: 2009
Location: Tacoma, WA
Posts: 75
bdbayes is a jewel in the roughbdbayes is a jewel in the roughbdbayes is a jewel in the rough
Re: Which language should we use to program our FRC Robot? Why?

Here's a copy of some simple code that I helped another team put together. Download Here. This gives you a simple set up that should work with most bots. You can open the project up in Netbeans. A lot of the resources for Java are available here. If you have any questions, feel free to ask.
  #7   Spotlight this post!  
Unread 17-01-2013, 06:20
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Which language should we use to program our FRC Robot? Why?

I would suggest either LabVIEW or Java. They are both safe languages and the tools and tutorials will get you up and going quickly.

To go beyond the basics, you should take advantage of experience and interest of other mentors on the team. Ideally the students get some exposure to each of the languages through their FRC years.

Greg McKaskle
  #8   Spotlight this post!  
Unread 07-02-2013, 01:44
darkgiant's Avatar
darkgiant darkgiant is offline
Registered User
AKA: Rohit Sharma
FRC #4579 (The RoboEagles)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2007
Location: Federal Way, Washington
Posts: 10
darkgiant is a jewel in the roughdarkgiant is a jewel in the roughdarkgiant is a jewel in the roughdarkgiant is a jewel in the rough
Re: Which language should we use to program our FRC Robot? Why?

Sorry for reviving an old topic! Back to the point, we were messing around with LabView, and managed to get something that moves our motors and drives everything. Now, I want to take the challange and code all of this in the matter of two-three days. With all the links provided above, would that be enough to have an obvious drive train, use gear motors, limit switches and multiple CIMs as a shooter? if there are more resources available, I am open to it!
  #9   Spotlight this post!  
Unread 08-02-2013, 07:11
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Which language should we use to program our FRC Robot? Why?

It would seem like your choice is to keep improving the code you have, or start over. I'm sure that the links are useful, but I think that you or someone on your team is in the best position to decide what is right for you.

Part of the FIRST experience is exposing you to new concepts and tools, but at the end of the build, you definitely want a robot that operates and competes. You don't have to use all the tools, and which tool you select is not as important as how you use it.

Greg McKaskle
  #10   Spotlight this post!  
Unread 09-02-2013, 16:42
darkgiant's Avatar
darkgiant darkgiant is offline
Registered User
AKA: Rohit Sharma
FRC #4579 (The RoboEagles)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2007
Location: Federal Way, Washington
Posts: 10
darkgiant is a jewel in the roughdarkgiant is a jewel in the roughdarkgiant is a jewel in the roughdarkgiant is a jewel in the rough
Re: Which language should we use to program our FRC Robot? Why?

Quote:
Originally Posted by Greg McKaskle View Post
It would seem like your choice is to keep improving the code you have, or start over. I'm sure that the links are useful, but I think that you or someone on your team is in the best position to decide what is right for you.

Part of the FIRST experience is exposing you to new concepts and tools, but at the end of the build, you definitely want a robot that operates and competes. You don't have to use all the tools, and which tool you select is not as important as how you use it.

Greg McKaskle
I completely understand the FIRST experience, I had run a previous team for three years, but never touched programming until this year. This year, I had started a team where no student had any knowledge in any programming, and I had decided to go with LabView (as my previous team used LabView every year) so I had a general idea on what I was doing at the time. Now, I wanted to see if we can, together of course make something in Java (I looked over C++, with the time constraints and such barriers it is sadly impossible as of right now, but can be a side project for the off season!) Anyways, I have followed the given resources and have a simple driving robot. If it comes down to not being able to finish it up before bag n tag, we will stick with LabView. But like I have said, if there are more resources (that are possibly noob-friendly) I am open to it!

Thanks!
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 02:31.

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