Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Question about Python? (http://www.chiefdelphi.com/forums/showthread.php?t=123029)

jlmcmchl 13-12-2013 16:04

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.

mechanical_robot 13-12-2013 19:19

Re: Question about Python?
 
Quote:

Originally Posted by seg9585 (Post 1311747)
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.

Please if you would like to continue with this conversation lets do it form messages. That way we don't clog up the forums.

brennonbrimhall 13-12-2013 20:45

Re: Question about Python?
 
Quote:

Originally Posted by antimatter_john (Post 1311144)
So we can use it fort competitions , but python is not official or supported yet.

RobotPy's implementation of Python uses the C++ image for the cRIO. Essentially, RobotPy's setup (to my understanding) simply stands in for the standard/normal C++ code that you'd write and interprets your Python.

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.

JosephC 13-12-2013 22:13

Re: Question about Python?
 
Quote:

Originally Posted by brennonbrimhall (Post 1311969)
The one that sticks out most in my mind is the fact that there's no [...] cRIO reboot needed. Changing out code is as simple as FTPing over some Python files.

Last year 68 came up with a system of FTPing labview files that didn't require a cRIO reboot.

geomapguy 13-12-2013 22:48

Re: Question about Python?
 
Quote:

Originally Posted by JosephC (Post 1311985)
Last year 68 came up with a system of FTPing labview files that didn't require a cRIO reboot.

Really? Is there a CD thread about it??

JosephC 13-12-2013 23:06

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