Go to Post I saw 2274, a rookie team that had won the regional, gathered around their mentor. He was holding their trophy and saying, "This is what it is all about. Teamwork and cooperation. You guys did great." - Po-ser [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: Which Programming Language Does Your Team Use?
LabView 94 35.61%
Java 106 40.15%
C/C++ 59 22.35%
Python 4 1.52%
Other (Pleas comment with language name) 1 0.38%
Voters: 264. You may not vote on this poll

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #27   Spotlight this post!  
Unread 17-03-2013, 16:10
mlbernardoni mlbernardoni is offline
Registered User
FRC #2704
 
Join Date: Mar 2011
Location: Batavia, IL
Posts: 11
mlbernardoni is on a distinguished road
Re: Which programming language does your team use?

That is the point, the programs were very simple and as close to identical as we could possibly program using Labview and C++ FRC required libraries.

We use Victors, all classes in the labview program are based upon the victor motor control block and all classes in C++ are based on the Victor base class in the WPI C++ library. (The victors on the robot go all the way from Red to Green, full power range with each program.)

The CRIO speed is what is set in the WPI base classes. We did not program for that with either C++ or Labview. (As I said, very simple programs using the foundations supplied by FRC and WPI.)

We used the same iterations per second in our C++ code as Labview uses.

Labview was completely compiled and downloaded to the CRIO, no extra communications. And we did not see any errors while running these simple programs.

We did not measure the CPU load, but I find it hard to believe the CPU was pegged with such a simple program.

But I agree with your objection, it comes down to the compiled code on the CPU. I do not know what overhead Labview adds (or for that mater the WPI library), but it is very noticeable on our robot.

We had 2 very very simple programs using the FRC required foundation for C++ and Labview.

As for teams not noticing any lag. Neither did we for the past 5 years. We are not saying that there is any error in Labview. We have successfully used Labview for years. And I will say we have had very complex programs that functioned very well.
 


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 04:35.

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