Go to Post The more you cling to the misfortunes that have already befallen you, the less you'll be able move forward from here. - Kevin Sevcik [more]
Home
Go Back   Chief Delphi > Technical > Programming > Python
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 24-03-2015, 17:25
TimTheGreat's Avatar
TimTheGreat TimTheGreat is offline
ArchdukeTim
FRC #1418 (Vae Victis)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Falls Church
Posts: 231
TimTheGreat will become famous soon enoughTimTheGreat will become famous soon enough
Re: NEW TO PYTHON

Quote:
Originally Posted by FrankenmuthK View Post
Where would I find the simulator
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
__________________
There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.



2012 - Gracious Professionalism - Greater DC
2014 - Regional Finalist - Virginia | Industrial Design - Virginia | Regional Finalist - Greater DC
2015 - Innovation in Control - Greater DC
2016 - District Event Winner - VAHAY | Innovation in Control - VAHAY | District Event Winner - MDBET | Industrial Design - MDBET | District Champion - CHCMP | Innovation in Control - CHCMP

Last edited by TimTheGreat : 24-03-2015 at 17:26. Reason: Clarification
Reply With Quote
  #17   Spotlight this post!  
Unread 24-03-2015, 22:05
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,032
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: NEW TO PYTHON

Quote:
Originally Posted by FrankenmuthK View Post
Where would I find the simulator
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.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
  #18   Spotlight this post!  
Unread 25-03-2015, 22:14
tcjinaz tcjinaz is offline
Tim
FRC #3853
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2011
Location: Arizona
Posts: 205
tcjinaz has a spectacular aura abouttcjinaz has a spectacular aura about
Re: NEW TO PYTHON

Quote:
Originally Posted by TimTheGreat View Post
Why do you find it heavy? Is there something wrong with earth's gravitational pull where you live?


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.
__________________
Software Mentor
3853 Pridetronics[

Reply With Quote
  #19   Spotlight this post!  
Unread 26-03-2015, 10:29
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
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.
Reply With Quote
  #20   Spotlight this post!  
Unread 27-03-2015, 10:57
Aero Aero is offline
consumes pizza, produces code
AKA: Ari Lotter
FRC #0865 (Warp7)
Team Role: Programmer
 
Join Date: May 2013
Rookie Year: 2013
Location: Toronto
Posts: 30
Aero is on a distinguished road
Re: NEW TO PYTHON

Quote:
Originally Posted by Fauge7 View Post
For python you should not use eclipse...
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!
__________________
2014 Waterloo Regional Winner (254 & 2056)
2014 Curie Semifinalist (118, 359 & 4334)
2014 Fall Fiesta Finalist (2056, 4476)
6 X Gracious Professionalism Award Winner
Reply With Quote
  #21   Spotlight this post!  
Unread 04-05-2015, 08:21
mistersands mistersands is offline
Registered User
FRC #4528 (Automatons)
Team Role: Coach
 
Join Date: Aug 2013
Rookie Year: 2013
Location: NYC
Posts: 26
mistersands has a spectacular aura aboutmistersands has a spectacular aura aboutmistersands has a spectacular aura about
Re: NEW TO PYTHON

Is the free community version of PyCharm sufficient for FRC purposes?
Reply With Quote
  #22   Spotlight this post!  
Unread 04-05-2015, 08:34
TimTheGreat's Avatar
TimTheGreat TimTheGreat is offline
ArchdukeTim
FRC #1418 (Vae Victis)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Falls Church
Posts: 231
TimTheGreat will become famous soon enoughTimTheGreat will become famous soon enough
Re: NEW TO PYTHON

Yes but you should definitely use eclipse so you can make use of the pyfrc plugins
__________________
There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.



2012 - Gracious Professionalism - Greater DC
2014 - Regional Finalist - Virginia | Industrial Design - Virginia | Regional Finalist - Greater DC
2015 - Innovation in Control - Greater DC
2016 - District Event Winner - VAHAY | Innovation in Control - VAHAY | District Event Winner - MDBET | Industrial Design - MDBET | District Champion - CHCMP | Innovation in Control - CHCMP
Reply With Quote
  #23   Spotlight this post!  
Unread 04-05-2015, 09:25
x86_4819's Avatar
x86_4819 x86_4819 is offline
computer-whisperer
AKA: Christian Balcom
FRC #4819 (Flat Mountain Mechanics)
Team Role: Programmer
 
Join Date: Sep 2014
Rookie Year: 2013
Location: Shepherd MI
Posts: 92
x86_4819 is on a distinguished road
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.
__________________




My Github Repositories
Reply With Quote
  #24   Spotlight this post!  
Unread 04-05-2015, 10:20
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,032
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: NEW TO PYTHON

Quote:
Originally Posted by x86_4819 View Post
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.
This is correct. If you're not used to configuring things for yourself, Eclipse is the way to go. However, I've heard good things about PyCharm too.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
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 21:36.

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