![]() |
NEW TO PYTHON
New programmer to python... Looking for tips, instructions on how to program for FRC, and anything else I need! Thanks
Steagles 5215 |
Re: NEW TO PYTHON
Welcome. You have made a great choice in switching to python.
http://robotpy.readthedocs.org/en/la...ide/index.html This is documentation for wpilib, python style. Most of what you are looking for is in here. For choosing a 'method' of robot programming, iterative is pretty straightforward, and if you are up to it go with sample robot. Stay away from command though. If you have any more questions, just ask. Robotpy (the libraries for FRC python) has a freenode channel, http://webchat.freenode.net/ #robotpy and 1418 programmers are generally on, and we're always glad to help. |
Re: NEW TO PYTHON
Quote:
|
Re: NEW TO PYTHON
Quote:
|
Re: NEW TO PYTHON
Quote:
|
Re: NEW TO PYTHON
Now i'm curious, did you see my team's display about python at the Great Lakes Bay Reigon Competition?
If you have never programmed in python before, you might want to start by learning the basics of the language before diving into programming FRC robots. I have found that codeacademy.com has a pretty good primer for learning basic python. |
Re: NEW TO PYTHON
Dustin Spicuzza (virtualD) has also created a python learning package called pybasictraining. You can find it in Team 1418's github, https://github.com/frc1418/pybasictraining.
|
Re: NEW TO PYTHON
Quote:
|
Re: NEW TO PYTHON
Quote:
Python in FRC has a simulator that you can use to test the programs out that you create, and there's a number of examples available to look at: |
Re: NEW TO PYTHON
Command based is made for more object orientedness. If you really want to do those the simplest way would be to use java/c++. Stick to iterative though because you seem many teams trying to do their own stuff in simple and it ends up not being simple. Python is still a great language for frc and i hope to see it more developed.
|
Re: NEW TO PYTHON
This year we used Java and command based. For the most part we love how command based allows us to have the appearance of doing multiple things at the same time. A couple of the student members have got a pretty good handle on how to write command based code.
As the programming mentor I find java to be very verbose. We find eclipse to be very cumbersome and heavy. I severely miss the days of netbeans. We were thinking about trying python with JetBrains pyCharm. @x86_4819 Quote:
|
Re: NEW TO PYTHON
Quote:
|
Re: NEW TO PYTHON
Quote:
|
Re: NEW TO PYTHON
Quote:
|
Re: NEW TO PYTHON
Quote:
|
| All times are GMT -5. The time now is 19:49. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi