Go to Post sheesh, how much more of a nerd can I be? - Libby K [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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-05-2015, 20:22
Wawa's Avatar
Wawa Wawa is offline
Wawa
FRC #3659 (Mighty Patriots)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Miami
Posts: 30
Wawa is an unknown quantity at this point
Summer ideas for new programmers?

Ok, so I learned (very basically) how to use LabVIEW this year as my team's default programmer and I want to improve for next year. I used a lot of basic code and copied a lot from examples other teams had, and I'd like to know what would make really good practice programming projects. I won't have access to my team's robot, so I'm really looking for projects that will help me get more familiar with different functions and possibly make more advanced code.

Also, I found one new recruit who is interested in programming, but she's more interested in written code. I can teach her the little that I know in LabVIEW, but I also wanted to be able to help her try out Java. We're planning for her to be the main programmer after I graduate next year, so any ideas about how I can start her off and which language I should use?
__________________
Our Plan B is our Plan A.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-05-2015, 20:45
jgrindle's Avatar
jgrindle jgrindle is offline
Losing Sleep
AKA: John Grindle
FRC #5122 (RobOTies)
Team Role: Programmer
 
Join Date: Nov 2014
Rookie Year: 2015
Location: Old Town, ME
Posts: 34
jgrindle will become famous soon enough
I am currently our teams programmer. We are a text based team, we have experience with java and c++. I personally love text based compared to LabVIEW. But we(team 5122) might have a solution for you dilemma, EasyJ4FRC. This program acts as a logic based programming, except it outputs in Java. Our mentor created EasyJ and is now having me with on it, trying to fix bugs and add cool features. I suggest you and your recruit check it out at http://easyj.team5122.com/
__________________

FRC 2015 Season: Programmer, Electrical, PIDTuner, Safety Captain
FRC 2015 Off-Season: Programmer, CAD Designer, Driver, Drive Team Coach, Electrical, Mechanical, PIDTuner
Reply With Quote
  #3   Spotlight this post!  
Unread 11-05-2015, 21:07
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: Summer ideas for new programmers?

I'd suggest that you use the examples and simulator to work on more sophisticated robot techniques. You can do things like make PID loops to drive a fixed distance from a wall, integrate sensors and more advanced techniques for both auto and tele. You can debug, profile, and get more comfortable with the programming tools in LV this way as well.

Similarly, look over the Java examples and build some projects with it, possibly using the linux based simulator. This will also allow the two of you to compare the languages, the libraries, the learning materials, and benefit from the combination. If you have questions, feel free to post.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 11-05-2015, 21:27
Wawa's Avatar
Wawa Wawa is offline
Wawa
FRC #3659 (Mighty Patriots)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Miami
Posts: 30
Wawa is an unknown quantity at this point
Re: Summer ideas for new programmers?

Thanks!

I really, really, really like EasyJ. I just played around with it and it's very simple and I'm definitely going to use it!

I'm also going to look through the examples for LV again. I tried using some during build season when I was just learning, but I didn't even know how to find the little blocks. As for the simulator, how do I get that?
__________________
Our Plan B is our Plan A.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-05-2015, 08:08
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,659
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: Summer ideas for new programmers?

To learn programming, you can write any sort of code you want - and that's what I suggest - writing something that you want to write. Desire to stick with it and make it work because you want a specific functionality is a far better motivator than "learning" for the vast majority of people.

Robotics is a bit different than most programming people do today due to the level of feedback required. I suggest that you get or build a robot of some type, with a drive system, some sort of manipulator, and some sensors. Programming it to do complex tasks at a single button (or better yet, going to full autonomous) will improve your skill at programming robots more than coding a video game, editor, or a business or math application. Even if you have to do this in a different language, the patterns and skills you learn will carry over to other languages.
__________________

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
  #6   Spotlight this post!  
Unread 12-05-2015, 09:03
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: Summer ideas for new programmers?

There is also a lot of documentation on LABview and tutorials at http://www.ni.com/academic/students/learn-labview/ although this is a more generic set (not specific to FRC) I learned a lot about how LABview works by going through these.
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 21:32.

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