View Single Post
  #2   Spotlight this post!  
Unread 08-09-2013, 12:09
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,753
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: Advice on switching to text-based FRC programming...

The biggest difference is that C++ is a very sequential procedural language. To do things in parallel is certainly possible, but is a bit more effort and a bit more dangerous.

Arrays in LV are autosizing, arrays in C++ aren't, but you can use vectors or other types that are more like LV arrays.

The debugging tools in LV and C++ are quite different.

The NI Vision libraries have both C and LV entry points, but the C++ WPILib doesn't do a very good job of bridging to the vision libraries. It seems to be a bit of work to get the camera image into an object that you can easily send to the CVI Vision functions.

And of course the obvious text is keyboard and graphics is mouse.

Greg McKaskle