Go to Post Hey people, I found out the answer to my question and that one guy eric is right all you have to do is read the manual. The rules are in chapter 7.3.5.1, sections - .:) - ronald [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 10-01-2015, 23:10
Dave_4539 Dave_4539 is offline
Registered User
AKA: David
FRC #4539 (KAOTICRobotics)
Team Role: Driver
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Frazee MN
Posts: 25
Dave_4539 is an unknown quantity at this point
Any help with programming?

The last two years we have used c++ for programming our robot. We have always had help with doing that, and this year we no longer have that help, and we're not sure we can do it. So, we had heard LabView was possibly an easier option. So if anyone has some tips and could help us out in any way it would be greatly appreciated.
  #2   Spotlight this post!  
Unread 10-01-2015, 23:17
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Any help with programming?

So you have 2 years of robot programming experience with C++, but presumably lost a programming mentor, and now you want to switch to a language you have no experience with (and still presumably no programming mentor)?

I'm assuming you have your last 2 years of C++ code. That can be used as a reference for this year. There aren't any major changes.

Why do you think you can't be successful with C++ this year?

Note: I'm not trying to turn you away from LabView, just curious as to why you would switch from something you have experience with, to something new. (Of course, learning new things is always a great thing!)
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)
  #3   Spotlight this post!  
Unread 12-01-2015, 11:44
goofy173's Avatar
goofy173 goofy173 is offline
Electronics Mentor
FRC #2867 (ElkLogics)
Team Role: Mentor
 
Join Date: Mar 2013
Rookie Year: 2014
Location: Elkhart
Posts: 51
goofy173 is a name known to allgoofy173 is a name known to allgoofy173 is a name known to allgoofy173 is a name known to allgoofy173 is a name known to allgoofy173 is a name known to all
Re: Any help with programming?

We struggle with LabView every year because we can never find any mentor that knows it. However we find them every year with C++ so look around more for one and don't switch. That's obviously my opinion.

We contemplated switching this year to C++ but decided to switch after competitions are over, even though we have a C++ mentor now.
__________________
  #4   Spotlight this post!  
Unread 12-01-2015, 12:30
Dave_4539 Dave_4539 is offline
Registered User
AKA: David
FRC #4539 (KAOTICRobotics)
Team Role: Driver
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Frazee MN
Posts: 25
Dave_4539 is an unknown quantity at this point
Re: Any help with programming?

We would like to stay with C++ but we don't have a C++ mentor anymore, and we had heard that LabView was easier, and we might be able to get by on our own.
I am a sophomore, and barely have experience with C++, we also have a freshman who has some experience with it, but all of our seniors who did it in the past have left, and our programming mentor can no longer help us.
We really don't know what to do...
  #5   Spotlight this post!  
Unread 12-01-2015, 12:32
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: Any help with programming?

Quote:
Originally Posted by Dave_4539 View Post
We would like to stay with C++ but we don't have a C++ mentor anymore, and we had heard that LabView was easier, and we might be able to get by on our own.
I am a sophomore, and barely have experience with C++, we also have a freshman who has some experience with it, but all of our seniors who did it in the past have left, and our programming mentor can no longer help us.
We really don't know what to do...
Shoot me an email at (my username above) @usfirst.org

I can connect you with some people in MN who know LabView and will be able to help you.

Evan
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
  #6   Spotlight this post!  
Unread 12-01-2015, 12:55
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 305
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Re: Any help with programming?

Quote:
Originally Posted by Dave_4539 View Post
We would like to stay with C++ but we don't have a C++ mentor anymore, and we had heard that LabView was easier, and we might be able to get by on our own.
I am a sophomore, and barely have experience with C++, we also have a freshman who has some experience with it, but all of our seniors who did it in the past have left, and our programming mentor can no longer help us.
We really don't know what to do...
It can be hard to do any programming (this applies to C++ or LabView) without experience... either an experienced mentor or an experienced student. I agree with the nighterfighter that you should not ignore the student experience and the existing source code from past years as good resources.

The best case scenario would be to find a mentor that can share some insight in C++ since that is where your current experience lies. Maybe inquire to some of the parents, if they do not have programming experience maybe a co-worker or somewhat more extended family member could help out. Or ask your sponsors if they might be able to help to find a programming mentor. Or maybe a local team that can share some insight too. You might be surprised that there are people out there waiting to be asked.

I am the programming mentor for our team and we do C++. Unfortunately we are not particularly local (we are in CT) but I would be happy to look at any code you are having trouble with and provide insight and direction if that will help. Feel free to pm me if I can help.

The bottom line is that you will have to make choices that work best for your individual team situation but don't forget to ask because the answer might be around the corner.

Good Luck!
__________________
  #7   Spotlight this post!  
Unread 12-01-2015, 16:49
Dave_4539 Dave_4539 is offline
Registered User
AKA: David
FRC #4539 (KAOTICRobotics)
Team Role: Driver
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Frazee MN
Posts: 25
Dave_4539 is an unknown quantity at this point
Re: Any help with programming?

Its not really the code that we are having trouble with (although we still arent that good at it), we dont really know how to get started on C++, so we thought we would try LabView, because I agree with nighterfighter in that we would just use our old code and modify it... we just need some help...
  #8   Spotlight this post!  
Unread 12-01-2015, 17:03
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Any help with programming?

To get started with C++:

Install Eclipse, and the FRC tools, and the update suite (https://wpilib.screenstepslive.com/s...eclipse-c-java)

The majority of your code will work the same this year as it did last year.

Could you post your code from last year? My guess is that all of it will work the same (except maybe some camera code, and any Dashboard sending code).

Drive code, joystick code, speed controllers (Talon, Jag, Victor, etc.) are all the same. I believe a few of the CAN features changed a little bit.

Here is a link for the porting from 2014 to 2015: (https://wpilib.screenstepslive.com/s...e-2014-to-2015)

And also here is a complete list of the C++ WPILib documentation:
(http://first.wpi.edu/FRC/roborio/release/docs/cpp/)

If you need more help, let us know.

To start with, (assuming you have a chassis already built, even the kitbot is fine), I would recommend that you get 2 Talons/Jags/Victors hooked up using CAN or PWM, and get tank drive working (or arcade if you use that). Then slowly add a few things, such as a Spike Relay, and have a joystick control the different modes of the Spike (Forward, Reverse, Off). Then add a few sensors, like an encoder for example, and get some C++ code to do something with the encoder.
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)
  #9   Spotlight this post!  
Unread 12-01-2015, 17:04
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
Re: Any help with programming?

Labview is extremely easy to get started in, and there's lots of FRC-specific documentation available to help you, such as Team 358's website.

However, it's much more desirable to use Eclipse this year because of the majority of teams are using C++/Java and you'll have a lot more peer to peer help as well as mentor help.
__________________
College sux yo
  #10   Spotlight this post!  
Unread 12-01-2015, 17:18
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,091
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Any help with programming?

Quote:
Originally Posted by xXhunter47Xx View Post
the majority of teams are using C++/Java
Is this true?


  #11   Spotlight this post!  
Unread 12-01-2015, 19:30
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,752
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: Any help with programming?

Several years ago, WPILib was instrumented to help keep track of how teams were programming their robots. This data influenced the I/O numbers in the RFP from FIRST for the new control system. It also gave accurate measures of language usage and other feature usage.

Due to field configuration issues, this data was not captured last year.

The last time it was measured, in 2013, I believe a little over 50% of the teams used LV and Java was more common than C++. The only data collected last year was self-reported at events running the support site. My estimate was that last year, no language was over 50%. Java grew, LabVIEW shrank a bit and C++ shrank quite a bit.

So was the statement true for 2014? Truly, nobody knows. Will it be true for 2015? Time will tell. I can tell you in a few months, but not now.

As for the original post. You have support from CD with any tool you pick. Personally, just compiling last year's code is not taking advantage of the opportunity that FRC is offering the students on the team. You should understand the code and mechanisms on your robot regardless of the tool or language you pick. If you are like most programming teams, you probably have about a week longer to explore your options, make a decision, and fully commit yourself to learning the tool, libraries, and sample code. Personally, I'd put the deadline at the end of the week at the school week.

Greg McKaskle
  #12   Spotlight this post!  
Unread 13-01-2015, 00:50
MrTechCenter's Avatar
MrTechCenter MrTechCenter is offline
INTENSITY
AKA: Harsharan "Harsh" Dhaliwal
FRC #2073 (Eagleforce)
Team Role: Mentor
 
Join Date: Sep 2011
Rookie Year: 2010
Location: Sacramento, CA
Posts: 559
MrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant futureMrTechCenter has a brilliant future
Re: Any help with programming?

If you do decide to switch to LabView you can shoot me a PM if you ever need help. I've been using it for several years.
__________________
2011 Sacramento Regional Finalists; 2011 MadTown Throwdown VIP Excellence in Engineering Award; 2012 Sacramento Regional Innovation in Control Award; 2012 Silicon Valley Regional Judges' Award; 2012 CalGames Autonomous Challenge Award; 2012 MadTown Throwdown Finalists; 2013 P0W3RH0U53 PWNAGE Gracios Professionalism Award; 2014 Central Valley Regional Innovation in Control; 2014 Sacramento Regional Innovation in Control; 2014 Curie Division Gracious Professionalism Award; 2015 Sacramento Regional Innovation in Control
  #13   Spotlight this post!  
Unread 13-01-2015, 09:05
mshafer1 mshafer1 is offline
Programming Mentor
AKA: Matthew Shafer
FRC #3937 (Breakaway)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Arkansas
Posts: 58
mshafer1 is an unknown quantity at this point
Re: Any help with programming?

My team (originally 3288) actually switched from c++ to LabVIEW a few years ago and that original team and the one I mentor now (3937) have found LabVIEW to be much easier. (I've also been certified as an associate develepor)
If you make the switch, and you can't find something in the documentation, shoot me an email at mshafer1@harding.edu and I'll try to help you out.
  #14   Spotlight this post!  
Unread 13-01-2015, 11:02
MrRoboSteve MrRoboSteve is offline
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 578
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Re: Any help with programming?

Minnesota based teams are pretty evenly divided 1/3-1/3-1/3 between LabView and the curly brace languages.

That said, we've had trouble getting adequate LabView help at the MN regionals for teams.

Does anyone on your team know anyone at one of the companies listed at the link below? They might be a good source for help.

http://business.visitdetroitlakes.co...mmunications-6
__________________
2016-17 events: 10000 Lakes Regional, Northern Lights Regional, FTC Burnsville Qualifying Tournament

2011 - present · FRC 3081 Kennedy RoboEagles mentor
2013 - present · event volunteer at 10000 Lakes Regional, Northern Lights Regional, North Star Regional, Lake Superior Regional, Minnesota State Tournament, PNW District 4 Glacier Peak, MN FTC, CMP
http://twitter.com/MrRoboSteve · www.linkedin.com/in/speterson
  #15   Spotlight this post!  
Unread 13-01-2015, 11:31
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Any help with programming?

I've been a CSA at several competition events, and I try to keep track of what languages are being used. The first couple of years with the cRIO, they seemed about evenly spread, with Java trailing by a small amount. In the next few years, on average, LabVIEW and Java were each represented near 40%, with C++ teams making up the remaining 20%. Recently, Java seems to be increasing in popularity, at the expense of both of the other languages.

My impression is that C++ is much more popular among the "elite/powerhouse" teams. LabVIEW tends to be the language of choice for teams lacking either strong programming mentorship or school computer science courses. Java is used in Project Lead The Way, and that's what I think is driving its increased adoption.

For the kind of group programming we end up doing on the TechnoKats, I prefer LabVIEW. I find that it's much easier for people to get a sense for what the code is doing when they can "see" it instead of having to "read" it. The inherent parallel processing makes it less complicated to keep things modular, and there's a big win in keeping simple typographical errors from being an issue.

The comprehensive example code and tutorials included with LabVIEW for FRC are also a big factor in making it the programming environment I would suggest for a team without an experienced C++ or Java mentor.
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 03:16.

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