![]() |
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. |
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 |
Re: Question about Python?
The package hosted at http://firstforge.wpi.edu/sf/frs/do/...robotpy.2013_4 on FirstForge provides instructions for setting RobotPy (Python) up on a cRIO with the C++ image.
|
Re: Question about Python?
Quote:
|
Re: Question about Python?
Quote:
|
Re: Question about Python?
Quote:
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. |
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! |
Re: Question about Python?
Quote:
Quote:
|
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! |
Re: Question about Python?
Quote:
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 :D :D 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 :( |
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).
|
Re: Question about Python?
Quote:
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. |
Re: Question about Python?
Quote:
|
Re: Question about Python?
Quote:
|
Re: Question about Python?
Quote:
|
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.
|
Re: Question about Python?
Quote:
|
Re: Question about Python?
Quote:
While Python isn't officially supported (e.g., it's completely legal, but FIRST/other teams out there probably won't be able to help you), there are several benefits. The one that sticks out most in my mind is the fact that there's no compiling or cRIO reboot needed. Changing out code is as simple as FTPing over some Python files. |
Re: Question about Python?
Quote:
|
Re: Question about Python?
Quote:
|
Re: Question about Python?
No but here's the VERY basic jist of it.
Everything that we would want to change like Auton values, what speed the shooter should run, etc. Was stored as a certain file type(don't remember what type), and when Labview used those methods they would read the vlues from the file. Changing the files just required FTPing an editted version of the file. Atleast that's how understand it. If you want to know more detail I can try to get 68's Programming mentor to post in here. |
| All times are GMT -5. The time now is 08:50. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi