|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||
|
||||
|
Re: NEW TO PYTHON
Once you code, in eclipse you can create a runtime environment with 'sim' as the argument, or in terminal, type
Code:
python robot.py --sim Last edited by TimTheGreat : 24-03-2015 at 17:26. Reason: Clarification |
|
#17
|
||||
|
||||
|
Re: NEW TO PYTHON
What Tim said. Plus, to actually install it, you should install pyfrc. See the website for installation instructions, and you can read about simulator usage there too.
|
|
#18
|
|||
|
|||
|
Re: NEW TO PYTHON
Quote:
![]() It's a resource hog, therefore it places a heavy load on its host, so it makes the world seem like gravity is exceeding 1G At work, we can pile more Emacs users on a VNC server than Eclipse users. |
|
#19
|
|||
|
|||
|
Re: NEW TO PYTHON
For python you should not use eclipse and probably use some other ide. It is a resource hog but if you have a computer made in the last 3-4 years your should be able to use it. Don't use a classmate to run eclipse and you should be fine.
|
|
#20
|
|||
|
|||
|
Re: NEW TO PYTHON
I disagree. If you're familiar with Eclipse, it's not a terrible Python IDE, and familiarity will make your development much easier. If you've never used Eclipse or any other Python-supporting IDE, I'd recommend JetBrains' PyCharm. They'll also give you full educational licenses of all their software if you email em and ask!
|
|
#21
|
|||
|
|||
|
Re: NEW TO PYTHON
Is the free community version of PyCharm sufficient for FRC purposes?
|
|
#22
|
||||
|
||||
|
Re: NEW TO PYTHON
Yes but you should definitely use eclipse so you can make use of the pyfrc plugins
|
|
#23
|
||||
|
||||
|
Re: NEW TO PYTHON
Correct me if I'm wrong, but the only thing that the plugins do for you is give you nice pre-configured buttons to launch your code with the various runtime options (run, deploy, sim, etc) -- which you can easily setup run configurations to do this in PyCharm. I have found PyCharm Community edition to work very well, and have used it exclusively over the past FRC season.
|
|
#24
|
||||
|
||||
|
Re: NEW TO PYTHON
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|