You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ become increasingly more difficult to introduce all of the pieces to new
6
6
users. This is the foundation for a unified documentation site for all
7
7
RobotPy projects, in hopes of reducing that confusion.
8
8
9
+
Now that Python is an officialy supported language, this site still aims to unify the various API documentation for RobotPy projects. However, much of our documentation has been moved to the [WPILib documentation](https://docs.wpilib.org).
10
+
9
11
All of our documentation is built using Sphinx, and is hosted at
As of 2024 the ``robotpy`` command (also accessed via ``python -m robotpy``) is located in the `robotpy-cli <https://github.com/robotpy/robotpy-cli>`__ package. Instructions for adding custom subcommands is located in the README file.
Python is not an official FRC language yet, but we are working with
93
-
the WPILib team to make it official in 2024. See
94
-
https://wpilib.org/blog/bringing-python-to-frc for the announcement.
95
-
96
-
As RobotPy was not written by anyone involved with the GDC, we can't
97
-
provide a guaranteed answer (particularly not for future years).
98
-
However, we see no reason that RobotPy would not be legal: to the
99
-
cRIO/RoboRIO, it looks just like any other C++ WPILib-using program that
100
-
reads text files. RobotPy itself should be considered COTS software as
101
-
it is freely available to all teams. Teams have been using RobotPy since
102
-
2010 without any problems from FIRST, and we expect that to continue.
103
-
104
-
Caveat emptor: while RobotPy is almost certainly legal to use, your team
105
-
should carefully consider the risk of using such a large piece of
106
-
unofficial software; unless RobotPy is used by many teams, if you run
107
-
into trouble at a competition, there may not be anyone else there to
108
-
help! However, we've found that most problems teams run into are
109
-
problems with WPILib itself, and not RobotPy.
110
-
111
-
Also, be sure to keep in mind the fact that Python is a dynamic language
112
-
and is NOT compiled. This means that typos can easily go undetected
113
-
until your robot runs that particular line of code, resulting in an
114
-
exception and 5 second restart. Make sure to test your code thoroughly
115
-
(see our :ref:`unit testing documentation <unit_tests>`).
116
-
96
+
As of 2024, Python is officially supported for use in FRC.
117
97
118
98
.. _is_stable:
119
99
120
100
Is RobotPy stable?
121
101
~~~~~~~~~~~~~~~~~~
122
102
123
-
Yes! While Python is not an officially supported language, teams have been
103
+
Yes! Teams have been
124
104
using RobotPy since 2010, and the maintainer of RobotPy is a member of the
125
105
WPILib team. Much of the time when bugs are found, they are found in the
126
106
underlying WPILib, instead of RobotPy itself.
127
107
128
-
One caveat to this is that because RobotPy doesn't have a beta period like
129
-
WPILib does, bugs tend to be found during the first half of competition season.
130
-
However, by the time build season ends, RobotPy is just as stable as any of
131
-
the officially suported languages.
108
+
One caveat to this is that because RobotPy is not yet widely adopted, bugs tend to be found during the first half of competition season. However, by the time build season ends, RobotPy is just as stable.
132
109
133
110
How often does RobotPy get updated?
134
111
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -170,8 +147,17 @@ Ross Light, FRC Team 973. Peter is a member of the FIRST WPILib team,
170
147
and also created the `ntcore <https://github.com/wpilibsuite/ntcore/>`_
171
148
and `cscore <https://github.com/wpilibsuite/cscore/>`_ libraries.
172
149
173
-
The current RobotPy maintainer is `Dustin
174
-
Spicuzza <http://github.com/virtuald>`_, also a member of the FIRST WPILib team.
150
+
How is RobotPy different from WPILib?
151
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
152
+
153
+
All current RobotPy developers are members of the FIRST WPILib team, so in some sense RobotPy is a subgroup of WPILib. However, RobotPy is still separate from WPILib in many ways and has it's own shiny logo, but as time goes on we are aiming to integrate more into the greater WPILib whole.
154
+
155
+
One thing that makes RobotPy different from WPILib is that we also maintain separate libraries for interacting with various 3rd party vendors, but we expect as Python gets more traction in FRC that vendors will develop and maintain their own libraries.
156
+
157
+
Who develops RobotPy?
158
+
---------------------
159
+
160
+
The current RobotPy maintainer is `Dustin Spicuzza <http://github.com/virtuald>`_.
175
161
176
162
Current RobotPy developers include:
177
163
@@ -186,6 +172,7 @@ RobotPy is an open project that all members of the FIRST community can
186
172
easily and quickly contribute to. If you find a bug, or have an idea
187
173
that you think others can use:
188
174
175
+
- Add Python documentation to :doc:`the official WPILib documentation <frc:index>`
189
176
- Test and report any issues you find.
190
177
- Port and test a useful library.
191
178
- Write a Python module and share it with others (and contribute it to
0 commit comments