Go to Post I didn't know that Dean Kamen had 3 arms. - kevin.li.rit [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
  #16   Spotlight this post!  
Unread 19-12-2016, 23:33
BenBernard BenBernard is offline
Registered User
FRC #5687 (The Outliers)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Portland, ME
Posts: 36
BenBernard is an unknown quantity at this point
Re: Seeking advice for rookie programming

Quote:
Originally Posted by SoftwareBug2.0 View Post
Actually, I do end up in other teams pits from time to time when they have code issues. I suppose that how willing other teams are to help may depend on your region. PNW (where I am) tends to be pretty friendly and I would expect that the midwest (where the OP is) would be as well.
I think you misunderstood my point. I have also spent a fair amount of time in other teams' pits helping with code--but they were rarely neighboring teams! My point is simply that the fact that other teams in the OP's area are using C++ may not be super-relevant, as they may not be at the same competitions. By the same token, no matter which language a team chooses, there's likely to be SOMEONE around to help in a pinch.

That said--you really don't want to be too dependent when other teams are likely to have their own issues to deal with.
Reply With Quote
  #17   Spotlight this post!  
Unread 20-12-2016, 02:10
AlexanderTheOK AlexanderTheOK is offline
Guy
no team
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Los Angeles
Posts: 146
AlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really nice
Re: Seeking advice for rookie programming

I've found the best language is the one that the team knows. If your mentors know c++ you should use c++. If your mentors are familiar with Java, you should use Java. Having access to a living encyclopedia on a subject is insanely useful. I say this having been both a student and a mentor.

"oh hey I wonder how to do this thing."
"Java has a thing for that."

VS

"oh hey I wonder how to do this thing."
commences googling and experimenting for an hour/ 5 hours.
Reply With Quote
  #18   Spotlight this post!  
Unread 20-12-2016, 11:40
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,543
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Seeking advice for rookie programming

The APIs between C++ and Java are almost identical. Thus, a C++ team would be able to help you get started with encoders, for example. I help C++ teams all the time, even though my understanding of C++ is rudimentary.
Reply With Quote
  #19   Spotlight this post!  
Unread 22-12-2016, 10:58
MuskieProgramme MuskieProgramme is offline
Registered User
FRC #6420
Team Role: Programmer
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Muscatine, IA
Posts: 2
MuskieProgramme is an unknown quantity at this point
Talking Re: Seeking advice for rookie programming

Thanks for all the advice! We have decided to use Java, as our mentor knows both Java and C++, and the FTC Team will continue to produce Java programmers.

I will look into Command Based programming. It seems very similar to a system I was imagining implementing for FTC, until LinearOpMode was updated to be less irritating. I've installed eclipse (& all the 2016 stuff), and have started to take a look at the sample robot code. It's not particularly difficult to navigate eclipse and it seems similar enough to IntelliJ that I won't have many problems.
Reply With Quote
  #20   Spotlight this post!  
Unread 22-12-2016, 11:14
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: 733
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: Seeking advice for rookie programming

Once you've installed wpilib, there are some great little example programs you can access by creating a new project and selecting a new wpilib robot project. (I don't have it in front of me but you should find it easily).

If you needed to quickly whip up some code to test a drivetrain, for example, you could fire up Eclipse and have a basic IterativeRobot with a 2-joystick tank drive, ready to deploy, in a matter of about 30 seconds. Which has come in handy a few times when doing diagnostics in a hurry, such as in a pit.

But more practically, you can find examples of just about anything you need to do, either by browsing the wpilib website or creating a sample project to play with. "How do I use pneumatics?" Boom, here's a working example.
__________________
"If I'm going to mentor someone, I'm going to be involved in their life as a positive force." -Mechvet
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 04:50.

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