Skip to content

Commit

Permalink
A variety of 2022 specific changes
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Jan 18, 2022
1 parent 75c90a7 commit 0c99b47
Show file tree
Hide file tree
Showing 16 changed files with 81 additions and 361 deletions.
193 changes: 0 additions & 193 deletions 2020_notes.rst

This file was deleted.

2 changes: 1 addition & 1 deletion faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ documentation <https://docs.python.org/3/>`__ instead of the Python
2.x documentation.

- RobotPy WPILib on the roboRIO uses the latest version of Python 3 at kickoff.
In 2020, this was Python 3.8. When using pyfrc or similar projects,
In 2022, this was Python 3.10. When using pyfrc or similar projects,
you should use a Python 3.6 or newer interpreter (the latest is recommended).
- RobotPy 2014.x is based on Python 3.2.5.

Expand Down
6 changes: 0 additions & 6 deletions getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ enable you to use Python as your main programming language for FIRST Robotics
robot development. It includes support for almost all components that are
supported by WPILib's C++ implementation.

.. note:: Work on 2020 RobotPy is ongoing, but we're hoping to support all
WPILib C++ features by the end of the season!

See the :ref:`2020 Notes <2020_notes>` for important information about
RobotPy in 2020.

You can run RobotPy-based programs either on your computer or on a robot. There
are a lot of different ways you can get started with RobotPy, but we recommend
the following steps:
Expand Down
Binary file removed guide/sim-ss.png
Binary file not shown.
3 changes: 2 additions & 1 deletion guide/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
Unit testing robot code
=======================

.. warning:: Testing is currently still broken for RobotPy 2020
.. warning:: Testing is currently still broken, but expected to be available
later in the 2022 season

pyfrc comes with robot.py extensions that support testing robot code using the
py.test python testing tool. To run the unit tests for your robot, just run your
Expand Down
8 changes: 2 additions & 6 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ students dedicated to developing python-related projects for the FIRST Robotics
Competition. This documentation site contains information about various projects
that RobotPy supports, including guides and API references.

.. note:: RobotPy is available for 2020, but some of our documentation is out of
date due to significant changes in RobotPy this year. We'll try to
update the docs soon.

See the :ref:`2020 Notes <2020_notes>` for important information about
RobotPy in 2020.
Please read our :ref:`Upgrade Notes<upgrade_notes>` page for things that have
changed this season that you should be aware of.

.. note:: RobotPy is a community project and the tools we create are not
officially supported by FIRST. Please see the
Expand Down
60 changes: 0 additions & 60 deletions install/adi.rst

This file was deleted.

3 changes: 3 additions & 0 deletions install/components.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ Vendor categories:
* ``adi`` - Analog Devices 6-axis accelerometer support
* ``ctre`` - Cross The Road Electronics motor controllers
* ``navx`` - Kauai Labs NavX MXP Robotics Navigation
* ``playingwithfusion`` - PlayingWithFusion motor controllers
* ``photonvision`` - PhotonVision computer vision vendor library
* ``rev`` - REV Robotics motor controllers and color sensors

Optional WPILib component categories:

* ``commands2`` - WPILib Commands framework (2020+)
* ``commands`` - WPILib old Commands framework
* ``romi`` - Romi robot specific components
* ``sim`` - WPILib extra simulation support

Install all vendors and WPILib optional components:
Expand Down
7 changes: 4 additions & 3 deletions install/computer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ Computer Installation

.. note:: installation via pip typically requires internet access

RobotPy requires Python 3.6/3.7/3.8/3.9 to be installed on your computer. It
is highly recommended to install a 64-bit version of Python.
RobotPy requires Python 3.7/3.8/3.9/3.10 to be installed on your computer. We
no longer support 32-bit installations of Python, you must have a 64-bit
python installed.

* `Python for Windows <https://www.python.org/downloads/windows/>`_
* `Python for macOS <https://www.python.org/downloads/mac-osx/>`_
Expand Down Expand Up @@ -50,7 +51,7 @@ not recommended nor is it supported.
.. tab:: macOS

.. warning:: Due to WPILib dependencies, RobotPy only supports non-ARM OSX 10.14+
.. warning:: Due to WPILib dependencies, RobotPy only supports non-ARM MacOS 10.15+

On a macOS system that has pip installed, just run the following command from the
Terminal application (may require admin rights):
Expand Down
2 changes: 0 additions & 2 deletions install/ctre.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ robotpy-ctre install
Setup (tests/simulator)
-----------------------

.. note:: CTRE is only installable on 64-bit Windows, 64-bit Linux, and OSX

If you intend to use robotpy-ctre in your *robot tests* or via the robot
*simulator*, you must install this package locally. It is recommended to
install using the robotpy meta package:
Expand Down
3 changes: 1 addition & 2 deletions install/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ Notes specific to individual packages
commands
ctre
navx
photonvision
pwfusion
rev
revcolor
adi
packages

0 comments on commit 0c99b47

Please sign in to comment.