Go to Post Sometimes you have to eat your vegetables, do your homework, and get some sleep. Otherwise you may get sick, have bad grades, and or fall asleep during the championship. - IKE [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 02-05-2016, 20:58
shui054 shui054 is offline
Registered User
AKA: Sam Hui
FRC #1257 (Parallel Universe)
 
Join Date: Nov 2015
Rookie Year: 2014
Location: Scotch Plains, New Jersey
Posts: 16
shui054 is an unknown quantity at this point
Beginners Programming in C++

My team (FRC 1257) uses C++ to program the robot and I'd like to learn it. I've never really written code in anything except basic Python. Are there any good resources you know of to learning C++? Or how did you guys learn?

Any assistance would be amazing!
Reply With Quote
  #2   Spotlight this post!  
Unread 02-05-2016, 21:22
CalTran's Avatar
CalTran CalTran is offline
Missouri S&T Senior
FRC #2410 (BV CAPS Metal Mustang Robotics)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Overland Park, Kansas
Posts: 2,369
CalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond repute
Re: Beginners Programming in C++

I've heard good things about Code Academy. Personally, I learned at a summer camp and subsequently took the C++ Intro class in college. You could look into a local community college and see if they offer a summer course or something.

As well, the WPI Library is a good place to start once you have a good handle on the basics of coding and want to know more about FRC specific applications.
__________________
Team 2410 thinks KISSing is amazing! Keep It Super Safe!
  • "You know you've been in robotics too long when you start talking to your tools." "Well, you've been in robotics CLEARLY too long when they start talking back"
  • Theory is when you know everything but nothing works. Practice is when everything works but you don't know why. On our team, theory and practice comes together - nothing works and nobody knows why.
MMR 2410 Student (2010 - 2013) | MMR 2410 Mentor (2013 - Present)
FTC Game Announcer / EmCee (2014 - Present) | FRC EmCee (2015 - Present) | FRC Referee (2016)
Academic Student (Forever)
Reply With Quote
  #3   Spotlight this post!  
Unread 02-05-2016, 22:26
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,116
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Beginners Programming in C++

https://www.edx.org/course/introduct...soft-dev210x-1
__________________

Reply With Quote
  #4   Spotlight this post!  
Unread 02-05-2016, 22:58
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 595
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Re: Beginners Programming in C++

learncpp.com has super comprehensive tutorials. Heavy on the text, but if you bear with it you'll learn a lot.
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK
Reply With Quote
  #5   Spotlight this post!  
Unread 03-05-2016, 00:23
jmullins16's Avatar
jmullins16 jmullins16 is offline
Registered User
AKA: Jeff Mullins
FRC #2135 (Presentation Invasion)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2011
Location: San Jose, CA
Posts: 22
jmullins16 is an unknown quantity at this point
Re: Beginners Programming in C++

As a new C++ programmer, I encourage you to look at RobotBuilder and the Command-based robot template provided in the FRC tools. RobotBuilder is a graphical interface that will provide a set of C++ template files that are easy to work in. Even with only basic C++ skills, you can get a drivetrain defined and implemented very quickly. It will let you focus on how to make your robot work using C++ since it sets up all the files and syntax for an organized project.
Reply With Quote
  #6   Spotlight this post!  
Unread 03-08-2016, 17:40
Mitchell C Mitchell C is offline
Registered User
FRC #0313
 
Join Date: Jan 2016
Location: Michigan
Posts: 8
Mitchell C is an unknown quantity at this point
Re: Beginners Programming in C++

I've been working on a C++ guide on my team website http://www.bioniczebras.net/c++_guide.shtml
its not completely done but the only thing im still working on is the fancier auton verson. It uses Iterative as opposed to command based like most.
Reply With Quote
  #7   Spotlight this post!  
Unread 03-08-2016, 18:27
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 296
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Beginners Programming in C++

I've found the most important part of learning C++ to be understanding how memory management works (that might just be because I came from a Java background though )

Once you have a somewhat firm grasp on C++, I highly recommend writing a basic robot program from scratch. Run it on a test bot if your team has one, or use the WPILib simulator.

Or you could always switch to RobotPy
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
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 09:55.

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