Skip to content

Commit 3fb280e

Browse files
committed
Add 2024 release announcement
1 parent 6737fa1 commit 3fb280e

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
layout: post
3+
title: RobotPy 2024 is now available
4+
---
5+
6+
This is the first year that Python has been an officially supported language! Lots of changes this year.
7+
8+
* The biggest change is instead of `python robot.py XXX`, you run `python -m robotpy XXX`
9+
* The installation process will be much smoother! Just run `python -m robotpy sync` and `python -m robotpy deploy` in a directory with your robot code and everything will get downloaded and installed on the rio.
10+
* `commands2` is not available yet, but hopefully soon
11+
12+
I am still working on updating the robotpy documentation site, but lots of documentation has been done on frc-docs! See https://github.com/wpilibsuite/frc-docs/pull/2501 for new documentation on defining requirements, deploy, and more.
13+
14+
---
15+
16+
Note that there is a 2024-compatible version of robotpy-commands-v2 available, it's just marked as a beta release at this time because it's incomplete and I'm not comfortable saying that it's good to go. If you want to use it, you can set up the following `pyproject.toml` next to your `robot.py`:
17+
18+
```toml
19+
#
20+
# Use this configuration file to control what RobotPy packages are installed
21+
# on your RoboRIO
22+
#
23+
24+
[tool.robotpy]
25+
26+
# Version of robotpy this project depends on
27+
robotpy_version = "2024.1.1.1"
28+
29+
# Which extra RobotPy components should be installed
30+
# -> equivalent to `pip install robotpy[extra1, ...]
31+
robotpy_extras = [
32+
# "all"
33+
# "apriltag"
34+
# "commands2"
35+
# "cscore"
36+
# "navx"
37+
# "pathplannerlib"
38+
# "phoenix5"
39+
# "phoenix6"
40+
# "playingwithfusion"
41+
# "rev"
42+
# "romi"
43+
# "sim"
44+
]
45+
46+
# Other pip packages to install
47+
requires = [
48+
"robotpy-commands-v2==2024.0.0b4"
49+
]
50+
```
51+
52+
After that, run `python -m robotpy sync` and it should download/install commands v2 + the kickoff release.

0 commit comments

Comments
 (0)