Go to Post [In FIRST]...Arab and Israeli students speak on the same level, because they are alliance partners. - Tottanka [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
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 21-09-2008, 16:31
Connor's Avatar
Connor Connor is offline
Registered User
FTC #3768 (Crusading Cucumbers)
Team Role: Leadership
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Texas
Posts: 12
Connor is an unknown quantity at this point
[FTC]: Pros/ cons of programming languages

Im new at this this year and i was wondering what the pros and cons were of the different programming languages we can use. My team is probably going to use RobotC, is this a good one to use?
Reply With Quote
  #2   Spotlight this post!  
Unread 21-09-2008, 16:42
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: [FTC]: Pros/ cons of programming languages

RobotC is great! I don't recommend NXT-G though as it is limited and I can only imagine the size of the program for an entire FTC robot. As for LabVIEW, I have no comment, great tool, can be confusing to new programmers though and might take a while to become at a level where you can easily program the full code for your robot.

Robot C:
Pros:
Advanced Firmware!
Faster
Uses less memory
Floating point math
Just more math functions in general
Simple little things that NXT-G can't do (i.e. wait for a random amount of time)
Some great debugging tools
Simple interface
Good ol' C
Reply With Quote
  #3   Spotlight this post!  
Unread 22-09-2008, 18:36
dickswan dickswan is offline
Registered User
no team
 
Join Date: Feb 2006
Location: dallas, TX
Posts: 13
dickswan is an unknown quantity at this point
Re: [FTC]: Pros/ cons of programming languages

Here's a few other "Pros" for ROBOTC.

The elapsed time from when you move a joystick or push a button on the PC Game controller until a motor speed or servo position is changed is much faster. ROBOTC has an optimized Bluetooth messaging mode that is about 50% faster than NXT-G. And ROBOTC messaging to the HiTechnic motor controller is about twice as fast. The cumulative effect is tens of milliseconds faster. Your robot will be more responsive to game controller movements.

Many sample programs specifically focussed on FTC robotcs and game operation.

A PC "dashboard" that gives you continuously refreshed views of all the motor speeds and encoder positions, the servo positions and sensor values. You can even change motor speeds and servo positions via dashboard controls. The dashboard display operates simultaneous with your program running and the built-in Controller Station (i.e. Game Controller testing) function.

A Controller Station (CS) "application" built-in to the ROBOTC development environment (IDE) for easy testing of user control game mode. You can use the single ROBOTC IDE for you edit code, compile, download, test cycles; there's no need to switch between mutually exclusive IDE environment and standalone CS environment.

NOTE: I may be a little biased. I'm involved in ROBOTC development.
Reply With Quote
  #4   Spotlight this post!  
Unread 23-09-2008, 11:08
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: Pros/ cons of programming languages

As much as I love C, we're going to use LabVIEW this year.

Why...

Because we're also using it for FRC.

And why are we using it for FRC?

Because we're also using it for FTC

Seriously, NI is destined to become a force in the robotics industry, now that they've captured FIRST's mind and soul.

I see C and C++ as the "programmer's" language, but LabVIEW as the "Scientist and Engineer's" language. Since the later is a bigger part of the the pie... I thought it best to bite the bullet and lead the charge.

If using labVIEW encourages more students to become programmers, they can learn C++ in their CS classes
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #5   Spotlight this post!  
Unread 16-10-2008, 18:49
stea1thk1ll stea1thk1ll is offline
Registered User
no team
 
Join Date: Oct 2008
Location: San Diago
Posts: 1
stea1thk1ll is an unknown quantity at this point
Re: [FTC]: Pros/ cons of programming languages

Hey...me and my team is doing FRC this year for the first time. Our fabricators/engineers know how their job works but as a programmer I really don't know to much on "Robot Programming". I do VB/html web based programming but do not know much on other types. I am willing to learn how and want to be ready.
So first of all, it seems like either RobotC or lab view are the most popular ones to use. For a programmer like me, which one should I use. I can easily learn in like a month all about it so I just want to know which one is better to use. Please reply.
Reply With Quote
  #6   Spotlight this post!  
Unread 16-10-2008, 19:21
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: [FTC]: Pros/ cons of programming languages

Hey stealthkill,

I'm sure you have some basics of programming down, so I would suggest that you go through and try to learn RobotC. RobotC is easy to learn and even easier to use. Visit www.ftctraining.com to get started.

After that, I would suggest you expand your knowledge to Labview. Labview may be difficult, I think it would be beneficial for you to create a strong base in RobotC before you go testing Labview.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
Reply With Quote
  #7   Spotlight this post!  
Unread 16-10-2008, 21:59
Richard Wallace's Avatar
Richard Wallace Richard Wallace is offline
I live for the details.
FRC #3620 (Average Joes)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1996
Location: Southwestern Michigan
Posts: 3,646
Richard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond repute
Re: [FTC]: Pros/ cons of programming languages

Quote:
Originally Posted by PhilBot View Post
... we're going to use LabVIEW this year. ...
So are we, and for many of the same reasons.

Please try out our FTC LabView Programming Template, and let the community know about anything you find there that needs fixing, or that could be helpfully changed or added.
__________________
Richard Wallace

Mentor since 2011 for FRC 3620 Average Joes (St. Joseph, Michigan)
Mentor 2002-10 for FRC 931 Perpetual Chaos (St. Louis, Missouri)
since 2003

I believe in intuition and inspiration. Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution. It is, strictly speaking, a real factor in scientific research.
(Cosmic Religion : With Other Opinions and Aphorisms (1931) by Albert Einstein, p. 97)
Reply With Quote
  #8   Spotlight this post!  
Unread 16-10-2008, 23:14
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: Pros/ cons of programming languages

Hi Richard...

That's pretty cool and useful. In many ways it mimics the template that shipped with the FRC LabVIEW beta test. Lots of good comments too.

I've been playing with the encoder controls a bit, and your code would be easilly adapted to that to (constant speed vs move motor)

My only trivial suggestion is that instead of inverting the drive signal to one motor, you can set the "Invert" input to "true" for that wheel.

The only reason I mention this is because if you do end up using the encoder based motor drives, the "invert" input is also used by the encoder code, so both motors will count in the same direction, even though one is running in "reverse".

Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #9   Spotlight this post!  
Unread 17-10-2008, 09:22
Richard Wallace's Avatar
Richard Wallace Richard Wallace is offline
I live for the details.
FRC #3620 (Average Joes)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1996
Location: Southwestern Michigan
Posts: 3,646
Richard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond repute
Re: [FTC]: Pros/ cons of programming languages

Thanks for the suggestions, Phil. I will pass them along to the team's software developers.

To avoid further hijacking of this thread, can I ask that further discussion of ways improve the template be moved to the other thread?
__________________
Richard Wallace

Mentor since 2011 for FRC 3620 Average Joes (St. Joseph, Michigan)
Mentor 2002-10 for FRC 931 Perpetual Chaos (St. Louis, Missouri)
since 2003

I believe in intuition and inspiration. Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution. It is, strictly speaking, a real factor in scientific research.
(Cosmic Religion : With Other Opinions and Aphorisms (1931) by Albert Einstein, p. 97)
Reply With Quote
  #10   Spotlight this post!  
Unread 21-10-2008, 12:58
Team 288's Avatar
Team 288 Team 288 is offline
Team 288 - Spare Parts
FTC #0288 (Spare Parts)
Team Role: Coach
 
Join Date: Oct 2008
Rookie Year: 2004
Location: St. Louis
Posts: 32
Team 288 is a jewel in the roughTeam 288 is a jewel in the roughTeam 288 is a jewel in the roughTeam 288 is a jewel in the rough
Re: [FTC]: Pros/ cons of programming languages

What programming language are we going to use this year?
I asked myself the same question at the beginning of the season. Then I took my two programmers to a LabVIEW Users Group meeting a few weeks later and one of the people from Innoventor asked my students if they would be interested in an internship once they had learned LabVIEW. I immediately understood that LabVIEW was the right choice. It is the industry standard and to learn anything else would be a waste of time. So we have jumped headfirst into it and haven't looked back since.
__________________
Charlie Blair
Electronics Instructor at Gateway Institute of Technology High School
Head Coach for FTC teams at Gateway Institute of Technology High School since 2005
Planning Committee Member, St. Louis Regional FTC
Mentor to Team 931 Perpetual Chaos since 2004
FRC Volunteer
Reply With Quote
  #11   Spotlight this post!  
Unread 21-10-2008, 14:22
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: [FTC]: Pros/ cons of programming languages

Quote:
Originally Posted by Team 288 View Post
It is the industry standard and to learn anything else would be a waste of time.
What industry is that?
Reply With Quote
  #12   Spotlight this post!  
Unread 21-10-2008, 16:23
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: [FTC]: Pros/ cons of programming languages

I Don't know. Labview seems a tad bit complex from generic programming. I'm wondering, is there some sort of advantage to Labview compared to RobotC?
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
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
PROS and CONS of Removable Electronics BlackShadowFox Electrical 13 14-01-2008 12:29
6WD Pros and Cons ChuckDickerson General Forum 59 13-01-2008 02:20
Kitbot pros and cons Jaybee1405 Kit & Additional Hardware 16 06-01-2008 23:57
Pros and Cons of Using Pneumatics Joe_Widen Pneumatics 22 30-06-2006 10:16
Motor Placement Pros and Cons Pattie Motors 17 24-01-2005 15:40


All times are GMT -5. The time now is 11:28.

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