OCCRA
Go to Post Ice cream is an iterative process. - JVN [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Events   CD-Media   CD-Spy   FRC-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 12-11-2008, 06:26 PM
tdlrali tdlrali is offline
Registered User
FRC #0469 (Las Guerrillas)
Team Role: Programmer
 
Join Date: Sep 2006
Rookie Year: 2006
Location: MI
Posts: 377
tdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud of
How complete are the C++ libraries compared to the LV libraries?

Hey all,

What is the feature list of the environments? Are things like the camera and the dashboard supported in both?
I believe I read that the dashboard is not implemented in the C++ environment yet?
What about the camera - how complete is the feature set in C++ compared to LV?

Overall, how do the two environments compare, and how will they compare once they are both out of beta?

Thanks,
Felix N
Reply With Quote
  #2   Spotlight this post!  
Unread 12-12-2008, 09:21 AM
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: 2,960
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
  #3   Spotlight this post!  
Unread 12-12-2008, 11:02 AM
Tom Bottiglieri Tom Bottiglieri is offline
Custom User Title
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,019
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Send a message via AIM to Tom Bottiglieri
Re: How complete are the C++ libraries compared to the LV libraries?

By nature it is more difficult to use the C++ libraries. The auto completion in Eclipse helps a bit, but there is still things you need to know/look up. The LabView context help is very useful, as well as the ability to create constants and controls off of data pins on the VI's.

I've already had to dig through documentation to find constants and data types to feed C++ methods. It's not a terrible pain, but right clicking on a VI and adding a context specific control is much, much easier.

For example, heres two things that take 2 seconds to configure in LabView that I had to dig up in C++:
-Inverting a motor on a "simple" drive setup
-Using a jaguar on a "simple" drive setup

Last edited by Tom Bottiglieri : 12-12-2008 at 11:05 AM.
Reply With Quote
  #4   Spotlight this post!  
Unread 12-12-2008, 06:21 PM
tdlrali tdlrali is offline
Registered User
FRC #0469 (Las Guerrillas)
Team Role: Programmer
 
Join Date: Sep 2006
Rookie Year: 2006
Location: MI
Posts: 377
tdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud of
Re: How complete are the C++ libraries compared to the LV libraries?

Thanks alot, exactly what I was looking for
The debugging doesn't seem to be that big of a problem, breakpoints should get the job done. Plus, as soon as dashboard is implemented, that should give us a way to probe values live.

Thanks again.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Should FIRST Release the 2009 Control System beta Libraries and information? Elliot Swart General Forum 24 10-01-2008 06:12 AM
Where do the libraries like FRC_alltimers_8722 come from writchie Programming 1 03-06-2008 11:09 AM
MPLab libraries winners Programming 2 01-29-2006 03:35 AM
Dashboard3D and the Common Libraries! Adam Shapiro Programming 10 01-29-2004 12:37 PM


All times are GMT -5. The time now is 04:10 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi