Go to Post Edison was once asked "how do you come up so many good ideas?" to which he responded "for every good idea, I have 99 bad ideas first." - dlavery [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 12-12-2013, 00:36
mechanical_robot's Avatar
mechanical_robot mechanical_robot is offline
Registered User
no team
Team Role: Driver
 
Join Date: Jul 2013
Rookie Year: 2013
Location: United States
Posts: 92
mechanical_robot will become famous soon enough
Question about Python?

I am confuse looking at the programming the forums. Are we allowed to use Python on our robots for the competitions? Or no
Also how would we set Python up to be able to use it on the cRio.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-12-2013, 01:07
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Question about Python?

Well I've heard of some teams using Python but it's not official

Check out these forums

http://www.chiefdelphi.com/forums/sh...ad.php?t=94413

Here's Team 2423 robot code written in Python

http://www.virtualroadside.com/FRC/#KwarqsDashboard
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
Reply With Quote
  #3   Spotlight this post!  
Unread 12-12-2013, 06:06
mechanical_robot's Avatar
mechanical_robot mechanical_robot is offline
Registered User
no team
Team Role: Driver
 
Join Date: Jul 2013
Rookie Year: 2013
Location: United States
Posts: 92
mechanical_robot will become famous soon enough
Re: Question about Python?

Quote:
Originally Posted by geomapguy View Post
Well I've heard of some teams using Python but it's not official

Check out these forums

http://www.chiefdelphi.com/forums/sh...ad.php?t=94413

Here's Team 2423 robot code written in Python

http://www.virtualroadside.com/FRC/#KwarqsDashboard
So we can use it fort competitions , but python is not official or supported yet.
Reply With Quote
  #4   Spotlight this post!  
Unread 12-12-2013, 08:22
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Question about Python?

Quote:
Originally Posted by antimatter_john View Post
So we can use it fort competitions , but python is not official or supported yet.
Don't quote me, but I'm 100% positive
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
Reply With Quote
  #5   Spotlight this post!  
Unread 12-12-2013, 18:59
seg9585's Avatar
seg9585 seg9585 is offline
Registered User
AKA: Eric
FRC #4276 (Surf City Vikings)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2001
Location: Boeing (Seal Beach, CA)
Posts: 520
seg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond repute
Re: Question about Python?

Quote:
Originally Posted by antimatter_john View Post
So we can use it fort competitions , but python is not official or supported yet.
Yes, you can use Python in competition, as I saw teams using it last year. You still have to use the FRC Utilities software on the controller laptop. Just don't expect to get help troubleshooting from other teams or the volunteers at the competition if you choose to go that route.
I'm still trying to figure out why teams feel Java or C++ is not sufficient that they need to go Python. Just to do things differently and prove a point?

Someone feel free to enlighten me...

By the way, interesting observation on SpaceX regarding patents. I didn't know that...but Tesla (and Paypal) do have plenty of patents so I'm not sure why Elon is being inconsistent in his psychology.
__________________
My FIRST legacy:

Team 204 Student 2001, 2002 (Voorhees, NJ)
Team 1493 College Mentor 2006 - 2008 (Troy, NY)
Team 2150 Intern/Professional Mentor 2007, 2009 (Palos Verdes)
Team 4123 Lead Engineering Mentor 2012 (Bellflower, CA)
Team 4276 Engineering Mentor 2012-2016 (Huntington Beach, CA)
Reply With Quote
  #6   Spotlight this post!  
Unread 12-12-2013, 19:10
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: Question about Python?

Well, Python is a Simple and "elegant-syntaxed" language. It is very easy to teach to newbies, many times easier than Java or C! Other than that, it is cross-platform because it is interpreted!

There are also lots of tutorials to teach it.
Learning it is also inexpensive. The Raspberry Pi is a good way to learn Python because that is the most encouraged language for the platform!
Reply With Quote
  #7   Spotlight this post!  
Unread 12-12-2013, 19:19
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Question about Python?

Quote:
Originally Posted by yash101 View Post
Well, Python is a Simple and "elegant-syntaxed" language. It is very easy to teach to newbies, many times easier than Java or C!
Don't forget LabVIEW is super easy to teach and is regarded as the newbie language.(and also a very complex language)

Quote:
Originally Posted by yash101 View Post
There are also lots of tutorials to teach it.
I'm pretty sure the other FRC languages are well documented by FRC, NI, WPI, and various teams.
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)
Reply With Quote
  #8   Spotlight this post!  
Unread 12-12-2013, 19:41
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: Question about Python?

yes. That is true. LabView can be easy if you wan tit to be easy and hard if you want it to be hard.

It is true that there are all sorts of FRC tutorials. However, the Python tutorials are more generalized and from a much wider audience!
Reply With Quote
  #9   Spotlight this post!  
Unread 12-12-2013, 21:17
MaxMax161's Avatar
MaxMax161 MaxMax161 is offline
Allegedly Useful
AKA: Max Llewellyn
FRC #2791 (Shaker Robotics), FRC #1676 (Pascack π-oneers)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Montvale NJ\Troy NY
Posts: 174
MaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond repute
Re: Question about Python?

As stated above while it appears to be possible to use python it is not recomended. At the moment I think it would take more work to get python working well then to simply use one of the three supported languages (Java, C++, LabVIEW).
__________________
2791 Shaker Robotics (2013-present)
--Control Systems Mentor 2013-present
--Drive coach 2015-present

1676 The Pascack π-oneers (2010-2013)
--Drive coach 2011-2013
--Lead Programmer 2011-2013
Reply With Quote
  #10   Spotlight this post!  
Unread 12-12-2013, 21:29
JosephC's Avatar
JosephC JosephC is offline
FF: Breakfast Company
AKA: Joseph Cupchack
no team (FiM Volunteer Extraordinaire)
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Waterford, Michigan
Posts: 1,752
JosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond repute
Re: Question about Python?

Quote:
Originally Posted by yash101 View Post
It is true that there are all sorts of FRC tutorials. However, the Python tutorials are more generalized and from a much wider audience!
I strongly disagree when you say Python tutorials are more generalized and from a much wider audience. The number of C++ and Java tutorials is staggering. Python may be an easy language to learn on your own, but with less FRC tutorials for Python, one of the supported languages would be much simpler to apply to FRC.

Java and C++ are used in, to my belief at least, the majority of applications. Being used in so many different applications, it would shocking to say the least to say there are more generalized and wider audienced tutorials for Python.


To the OP: Learning how to use Python in the offseason would be a great idea! However, with Kickoff rapidly approaching, you would most likely be better off using one of the supported languages. You can compare it to building a swerve drive with no prior experience in the build season.
__________________
Referee: 2015 - ?
Field Reset/Supervisor: 2013 - ?
68 Team Member: 2011 - 2013
Reply With Quote
  #11   Spotlight this post!  
Unread 12-12-2013, 21:38
MaxMax161's Avatar
MaxMax161 MaxMax161 is offline
Allegedly Useful
AKA: Max Llewellyn
FRC #2791 (Shaker Robotics), FRC #1676 (Pascack π-oneers)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Montvale NJ\Troy NY
Posts: 174
MaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond repute
Re: Question about Python?

Quote:
Originally Posted by JosephC View Post
I strongly disagree when you say Python tutorials are more generalized and from a much wider audience. The number of C++ and Java tutorials is staggering. Python may be an easy language to learn on your own, but with less FRC tutorials for Python, one of the supported languages would be much simpler to apply to FRC.
Forgot to mention, the tutorials for nearly every single function of LabVIEW are amazing! Especially when it comes to FRC. EVERY single block has a tutorial and example it's involved in. Helped me a tremendous amount when first self teaching myself LabVIEW.
__________________
2791 Shaker Robotics (2013-present)
--Control Systems Mentor 2013-present
--Drive coach 2015-present

1676 The Pascack π-oneers (2010-2013)
--Drive coach 2011-2013
--Lead Programmer 2011-2013
Reply With Quote
  #12   Spotlight this post!  
Unread 12-12-2013, 22:28
JosephC's Avatar
JosephC JosephC is offline
FF: Breakfast Company
AKA: Joseph Cupchack
no team (FiM Volunteer Extraordinaire)
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Waterford, Michigan
Posts: 1,752
JosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond repute
Re: Question about Python?

Quote:
Originally Posted by MaxMax161 View Post
Forgot to mention, the tutorials for nearly every single function of LabVIEW are amazing! Especially when it comes to FRC. EVERY single block has a tutorial and example it's involved in. Helped me a tremendous amount when first self teaching myself LabVIEW.
Dead correct, can't believe I forgot to mention that!
__________________
Referee: 2015 - ?
Field Reset/Supervisor: 2013 - ?
68 Team Member: 2011 - 2013
Reply With Quote
  #13   Spotlight this post!  
Unread 12-12-2013, 21:11
mechanical_robot's Avatar
mechanical_robot mechanical_robot is offline
Registered User
no team
Team Role: Driver
 
Join Date: Jul 2013
Rookie Year: 2013
Location: United States
Posts: 92
mechanical_robot will become famous soon enough
Re: Question about Python?

Quote:
Originally Posted by seg9585 View Post
Yes, you can use Python in competition, as I saw teams using it last year. You still have to use the FRC Utilities software on the controller laptop. Just don't expect to get help troubleshooting from other teams or the volunteers at the competition if you choose to go that route.
I'm still trying to figure out why teams feel Java or C++ is not sufficient that they need to go Python. Just to do things differently and prove a point?

Someone feel free to enlighten me...

By the way, interesting observation on SpaceX regarding patents. I didn't know that...but Tesla (and Paypal) do have plenty of patents so I'm not sure why Elon is being inconsistent in his psychology.
About the SpaceX patents, the reason is because there is nothing from stopping the chinese from stealing our rocket secrets. I mean their is a difference from cars and rockets. Rockets can be weaponized and SpaceX when they finally get to MArs the chinese will just try to steal the technology. Sorry but China can't invent they can only steal which is proven with the military technology they try to steal and replicate from our government/defense contractors.
As you can tell I am not a big fan of China to the verge of pretty much hating their government.
If I ever end of making a robotics business or something along those lines I will never work with the chinese.

Plus the technology they try to steal from us and replicate usually doesnt work

Plus the chinese have tooken American companies and their inventions and pretty much gave them to some chinese companie to benefit their economy.

Also the way the treat their people over there

Last edited by mechanical_robot : 12-12-2013 at 21:15.
Reply With Quote
  #14   Spotlight this post!  
Unread 13-12-2013, 12:58
seg9585's Avatar
seg9585 seg9585 is offline
Registered User
AKA: Eric
FRC #4276 (Surf City Vikings)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2001
Location: Boeing (Seal Beach, CA)
Posts: 520
seg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond repute
Re: Question about Python?

Quote:
Originally Posted by antimatter_john View Post
About the SpaceX patents, the reason is because there is nothing from stopping the chinese from stealing our rocket secrets. I mean their is a difference from cars and rockets. Rockets can be weaponized and SpaceX when they finally get to MArs the chinese will just try to steal the technology. Sorry but China can't invent they can only steal which is proven with the military technology they try to steal and replicate from our government/defense contractors.
As you can tell I am not a big fan of China to the verge of pretty much hating their government.
If I ever end of making a robotics business or something along those lines I will never work with the chinese.

Plus the technology they try to steal from us and replicate usually doesnt work

Plus the chinese have tooken American companies and their inventions and pretty much gave them to some chinese companie to benefit their economy.

Also the way the treat their people over there
That's true, but patents can protect from theft by others in the country and can be coordinated in European countries as well. Not having a patent may let anyone, Chinese or other Americans, to use the technology. Keep in mind rockets are ITAR controlled and therefore even if a device is patented it can still be protected from the Chinese or another country attempting to access it.
__________________
My FIRST legacy:

Team 204 Student 2001, 2002 (Voorhees, NJ)
Team 1493 College Mentor 2006 - 2008 (Troy, NY)
Team 2150 Intern/Professional Mentor 2007, 2009 (Palos Verdes)
Team 4123 Lead Engineering Mentor 2012 (Bellflower, CA)
Team 4276 Engineering Mentor 2012-2016 (Huntington Beach, CA)
Reply With Quote
  #15   Spotlight this post!  
Unread 13-12-2013, 16:04
jlmcmchl jlmcmchl is offline
FF - The Breakfast Company
AKA: Jordan McMichael
FRC #0027 (Team RUSH 27)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Clarkston,MI
Posts: 327
jlmcmchl has much to be proud ofjlmcmchl has much to be proud ofjlmcmchl has much to be proud ofjlmcmchl has much to be proud ofjlmcmchl has much to be proud ofjlmcmchl has much to be proud ofjlmcmchl has much to be proud ofjlmcmchl has much to be proud of
Re: Question about Python?

Guys, the OP had a question about python, and it's use in FRC. Go ahead and group message about his sig, please.
__________________


Field reset: Kettering Kickoff ('13, '14), Kettering ('14, '15), Bedford ('14), Woodhaven ('16), Carver ('16), Einstein! ('16)
Referee: Bedford ('15), MARC ('15, '16), Kettering Kickoff ('15, '16), Kettering District (#1&2: '16), Troy ('16)
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


All times are GMT -5. The time now is 15:37.

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