View Single Post
  #2   Spotlight this post!  
Unread 12-12-2008, 10:21
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,671
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: How complete are the C++ libraries compared to the LV libraries?

Once they're out of beta, they should be largely the same. The major components are already largely complete in both environments. Camera functionality is comparable between the two, though they're using different libraries. As of the last release, there were a few minor differences between the two. C++ doesn't have an SPI class implemented yet, while Labview has some basic SPI support. Both have raw I2C support, but C++ has a class for supporting the Lego NXT HiTechnic Compass while Labview doesn't. The C++ libraries don't support user data back to the DS yet, but I expect they will support it in the next release, as it's a relatively simple task. The complicated part will be for the user to properly format the data to make it readable by the Dashboard program on the other end.

I think that by the kickoff and/or release of the "final" versions of the libraries, support for peripherals will be pretty much equal. If the C++ library has support for spawning Tasks by then, then whatever you do in one environment should be achievable in the other.

The only differences that will likely remain after the library updates will be in debugging and CVS support. Labview is and will remain an easier to debug system, as you can probe values online in real time as well as set breakpoints, etc. C++ has a standard-ish GDB debugger that will work well, if not quite so well as Labview. On the other hand, the C++ IDE supports versioning with subversion, and various subversion clients. It will give you full version control, along with code merging, etc. Labview supports basic file versioning, but no code merging or anything like that.

So, if you're attempting to make a decision, you should probably base it on which language you're more comfortable with, and the tradeoff between easy debugging or robust code versioning support.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote