# Recommended firmware version for the XRP robot for using both the XRP Code Editor and WPILib

**URL:** https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81
**Category:** Support
**Created:** [October 4, 2023, 9:28pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81 "2023-10-04T21:28:36Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![sfong21](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sfong21](https://xrp.discourse.group/u/sfong21)
#### Post date: [October 4, 2023, 9:28pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/1 "2023-10-04T21:28:36Z")

</div>

I have been using the following two firmware versions (firmware.uf2 and RPI\_PICO\_W-20230426-v1.20.0.uf2) for the XRP Code Editor ([https://xrpcode.wpi.edu/](https://xrpcode.wpi.edu/)) (blockly and micro python).

When I upgrade the firmware to versions 0.5.1, 0.50 or 0.40, I am not able to connect to the XRP robot via the micro USB. The XRP robot provides an SSID of XRP-xxxx-xxxx.

May I ask, is anyone else experiencing this issue? I look forward to any recommendations on how to resolve this issue. Thank you.

---

<div class="post-metadata">

### Author: ![SparkFro](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/sparkfro/32/12_2.png) [@SparkFro](https://xrp.discourse.group/u/SparkFro)
#### Post date: [October 4, 2023, 10:20pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/2 "2023-10-04T22:20:14Z")

</div>

Hi there!

Unfortunately, XRPCode doesn’t work when the WPILib firmware is flashed to the control board. These are 2 separate use cases:

1. Flash MicroPython onto the XRP, and interact with it via XRPCode
2. Flash the WPILib firmware onto the XRP, and interact with it via WPILib

It’s currently not possible to mix the firmware and editor, they have to match each other.

Hope this helps!

---

<div class="post-metadata">

### Author: ![sfong21](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sfong21](https://xrp.discourse.group/u/sfong21)
#### Post date: [October 5, 2023, 12:32pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/3 "2023-10-05T12:32:41Z")

</div>

Good morning Dryw. A special thank you to you and David for hosting the informative “Get started with robotics and the Experiential Robotics Platform (XRP)” webinar yesterday.

Shortly, I will be training 7 students (grades 5 to 12) on how to build, program and test 2 XRP robots. In the later part of the program, I will be switching between the XRP Code Editor (beginner) and the WPILib (intermediate / advance) activities.

When you have a moment, could you please recommend the firmware file (\*.uf2) that comes with a brand new XRP robot? At times, we may need to factory reset the XRP robot.

Also, I would like to train the students on how to use a game controller to operate the XRP robot using WPILib (java or python). May I ask, are there step by step instructions available including, recommended firmware on control board, recommended version of the WPILib tool, build.gradle, supported game controllers, etc.)? Thank you.

---

<div class="post-metadata">

### Author: ![sfong21](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sfong21](https://xrp.discourse.group/u/sfong21)
#### Post date: [October 5, 2023, 12:35pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/4 "2023-10-05T12:35:16Z")

</div>

Thank you for your guidance. The XRP robot is a clever way to introduce robotics to students. Great job to you and your team.

---

<div class="post-metadata">

### Author: ![SparkFro](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/sparkfro/32/12_2.png) [@SparkFro](https://xrp.discourse.group/u/SparkFro)
#### Post date: [October 5, 2023, 9:18pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/5 "2023-10-05T21:18:17Z")

</div>

Thank you, glad you could attend the webinar!

If you want to completely reset the control board, this is what I’d suggest:

1. Erase the entire flash memory
  - Download the [flash\_nuke.uf2 file from Raspberry Pi here](https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html#resetting-flash-memory), and put that onto the control board (see RPi’s instructions in that link).

2. Flash MicroPython
  - Download the latest version of [MicroPython for the Pico W here](https://projects.raspberrypi.org/en/projects/get-started-pico-w/1) and put it onto the control board (see RPi’s instructions). This is not the same exact uf2 that the XRP ships with (that’s an outdated version), but I’d really recommend just getting the latest version from RPi (this is what XRPCode does anyways, so it saves a step).

3. (Optional) Make the LED blink
  - This is only needed if you want a true “new out of box” state for the control board. If so, create a `main.py` file that just blinks the LED indefinitely.

~~[This repository](https://github.com/wpilibsuite/xrp-wpilib-firmware) includes recommended steps for getting the XRP working with WPILib. As of right now, [v0.5.1](https://github.com/wpilibsuite/xrp-wpilib-firmware/releases/tag/v0.5.1) is the latest WPILib firmware for the XRP, and is intended to be used with [WPILib 2024 Alpha 1, available here](https://github.com/wpilibsuite/allwpilib/releases/tag/v2024.0.0-alpha-1).~~

~~There is an [example WPILib project available here](https://github.com/bb-frc-workshops/xrp-2024-alpha-example) to help you get started; it has a correctly configured `build.gradle`, though you’ll need to change the IP address in line 64 of `build.gradle` to `192.168.42.1`.~~

As for supported controllers, I believe basically any USB controller should work in WPILib. You can even use your keyboard if needed.

Hope this helps!

Edit:

Use the new 2024 Beta 1 release of WPILib, it has an example project for the XRP. More info here:

> [@Recommended firmware version for the XRP robot for using both the XRP Code Editor and WPILib](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/18):
>
> Hi folks, the beta version of WPILib is now available (with support for the XRP running the firmware on [GitHub - wpilibsuite/xrp-wpilib-firmware](https://github.com/wpilibsuite/xrp-wpilib-firmware)) You can download the latest beta installer here: [Release WPILib 2024.1.1 Beta 1 Release · wpilibsuite/allwpilib · GitHub](https://github.com/wpilibsuite/allwpilib/releases/tag/v2024.1.1-beta-1) Additionally, docs on how to use the XRP with WPILib are now available here: [Getting Started with XRP — FIRST Robotics Competition documentation](https://docs.wpilib.org/en/latest/docs/xrp-robot/index.html)

---

<div class="post-metadata">

### Author: ![sfong21](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sfong21](https://xrp.discourse.group/u/sfong21)
#### Post date: [October 6, 2023, 3:06pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/6 "2023-10-06T15:06:28Z")

</div>

Happy Friday Dryw.

As always, thank you this wonderful guidance. This weekend, I will build the WPILib environment and test a USB joystick. Thereafter, I will revert back to the XRP Code Editor.

Have an incredible weekend.

Steven

---

<div class="post-metadata">

### Author: ![Debbie386](https://avatars.discourse-cdn.com/v4/letter/d/50afbb/32.png) [@Debbie386](https://xrp.discourse.group/u/Debbie386)
#### Post date: [October 6, 2023, 3:53pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/7 "2023-10-06T15:53:12Z")

</div>

Thank you for the detailed instructions. And thank you for the webinar which I also attended.

I have a follow-on question.  
Is it possible to have multiple versions of WPIlib on my laptop?  
For example, we are using the 2023 version of WPILib for our “real” FRC robot. But I also want to use the same laptop to do training with the XRP which is using the 2024 alpha.  
Can that be done? And if so, how do I ensure I’m pointing to the correct version within my VS Code projects?

Thanks

---

<div class="post-metadata">

### Author: ![SparkFro](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/sparkfro/32/12_2.png) [@SparkFro](https://xrp.discourse.group/u/SparkFro)
#### Post date: [October 6, 2023, 4:24pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/8 "2023-10-06T16:24:37Z")

</div>

Happy to help!

Yes, I believe you can have multiple versions of WPILib installed on the same computer, I actually have both 2023 and 2024 Alpha 1 on my computer:

![image](https://canada1.discourse-cdn.com/flex011/uploads/xrp/original/1X/0794a81d0f6fda1687765168023f208fb01f760b.png)

I think you just need to make sure when you install WPILib on your computer, have it download a new copy of VS Code instead of making it use an already installed version. I’m actually not very experienced with WPILib, so if you run into trouble with your WPILib installation, I won’t be able to help much there unfortunately.

---

<div class="post-metadata">

### Author: ![Ultrablox](https://avatars.discourse-cdn.com/v4/letter/u/a587f6/32.png) [@Ultrablox](https://xrp.discourse.group/u/Ultrablox)
#### Post date: [October 7, 2023, 2:19am UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/9 "2023-10-07T02:19:48Z")

</div>

> [@SparkFro](#):
>
> If you want to completely reset the control board, this is what I’d suggest:
> 
> 1. Erase the entire flash memory
> 
> - Download the [flash\_nuke.uf2 file from Raspberry Pi here](https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html#resetting-flash-memory), and put that onto the control board (see RPi’s instructions in that link).
> 
> 1. Flash MicroPython
> 
> - Download the latest version of [MicroPython for the Pico W here](https://projects.raspberrypi.org/en/projects/get-started-pico-w/1) and put it onto the control board (see RPi’s instructions). This is not the same exact uf2 that the XRP ships with (that’s an outdated version), but I’d really recommend just getting the latest version from RPi (this is what XRPCode does anyways, so it saves a step).
> 
> 1. (Optional) Make the LED blink
> 
> - This is only needed if you want a true “new out of box” state for the control board. If so, create a `main.py` file that just blinks the LED indefinitely.

I thought the webinar was very helpful - I’ve ordered my XRP kit from DigiKey - but while waiting for it to arrive, I’d be interested in trying out XRPCode with a bare Pico-W (which was mentioned as a viable approach during the webinar).

Would those instructions suffice for getting started with XRPCode and a Pico-W? Or would I be ahead of the game with a new Pico-W and not need to handle the first few steps?

---

<div class="post-metadata">

### Author: ![SparkFro](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/sparkfro/32/12_2.png) [@SparkFro](https://xrp.discourse.group/u/SparkFro)
#### Post date: [October 9, 2023, 3:16pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/10 "2023-10-09T15:16:04Z")

</div>

Yes, you can also use a bare Pico W with XRPCode if you want. If it’s brand new, there’s no need to nuke the flash, just install MicroPython then connect with XRPCode.

---

<div class="post-metadata">

### Author: ![sfong21](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sfong21](https://xrp.discourse.group/u/sfong21)
#### Post date: [October 9, 2023, 7:55pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/11 "2023-10-09T19:55:20Z")

</div>

The reset of the control board worked well. Thank you.

I installed the latest WPILib firmware (v0.5.1) on the XRP robot. The XRP robot has enabled its access point: XRP-xxxx-xxxx.

On a Windows 10 computer, I installed the WPILib 2024.0.0 Alpha 1 Release, installed Visual Studio - Community 2022 with the Desktop Development with C++ and restarted my computer. I launched the WPILib application, opened and built the “xrp-2024-alpha-example-main” example, connected to the XRP robot’s SSID network, changed the mode to teleoperated in the simulator and the USB joystick (playstation) is working properly.

On a Windows 11 computer, I followed the same steps and I am receiving the following “cscorejni.dll: Can’t find dependent libraries” error message when it tries to open the simulator:

PS C:\xrp-2024-alpha-example-main\> ${env:HALSIM\_EXTENSIONS}=‘C:\xrp-2024-alpha-example-main\build\jni\release\halsim\_gui.dll;C:\xrp-2024-alpha-example-main\build\jni\release\halsim\_xrp.dll;’; ${env:PATH}='C:\xrp-2024-alpha-example-main\build\jni\release;C:\WINDOWS\system32'; ${env:HALSIMXRP\_HOST}=‘192.168.42.1’; & ‘C:\Users\Public\wpilib\2024\jdk\bin\java.exe’ ‘-agentlib:jdwp=transport=dt\_socket,server=n,suspend=y,address=localhost:51453’ ‘@C:\Users\sfong\AppData\Local\Temp\cp\_7wazojfk4h2vn6fnzwza9tqk7.argfile’ ‘frc.robot.Main’  
HAL Extensions: Attempting to load: halsim\_gui  
Simulator GUI Initializing.  
Simulator GUI Initialized!  
HAL Extensions: Successfully loaded extension  
HAL Extensions: Attempting to load: halsim\_xrp  
HALSim XRP Extension Initializing  
HALSimXRP Initialized  
HALSim XRP Extention Initialized  
HAL Extensions: Successfully loaded extension  
java.io.IOException: cscorejni could not be loaded from path or an embedded resource.  
attempted to load for platform /windows/x86-64/  
Last Load Error:  
C:\xrp-2024-alpha-example-main\build\jni\release\cscorejni.dll: Can’t find dependent libraries  
A common cause of this error is missing the C++ runtime.  
Download the latest at [Latest supported Visual C++ Redistributable downloads | Microsoft Learn](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads)

```
    at edu.wpi.first.util.RuntimeLoader.loadLibrary(RuntimeLoader.java:93)
    at edu.wpi.first.cscore.CameraServerJNI.<clinit>(CameraServerJNI.java:37)
    at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:423)
    at frc.robot.Main.main(Main.java:23)

```

Thereafter, I downloaded and installed the latest C++ runtime from [Latest supported Visual C++ Redistributable downloads | Microsoft Learn](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) website. Currently, I have Microsoft Visual C++ 2015-2022 Redistributable (x64 and x86) - 14.36.32532 version installed. Unfortunately, I receive the same error message.

I look forward to your guidance on how to resolve the “cscorejni.dll: Can’t find dependent libraries” issue.

PS: On the Windows 10 computer, driving the XRP robot with a joystick is quite amazing. My students will love it.

Steven

---

<div class="post-metadata">

### Author: ![jwiens](https://avatars.discourse-cdn.com/v4/letter/j/df705f/32.png) [@jwiens](https://xrp.discourse.group/u/jwiens)
#### Post date: [October 9, 2023, 8:30pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/12 "2023-10-09T20:30:47Z")

</div>

I have not tried this with XRP specifically, but there is a known isue in WPILib that sounds similar to what you are referring to. See here: [Known Issues — FIRST Robotics Competition documentation](https://docs.wpilib.org/en/stable/docs/yearly-overview/known-issues.html#issues-with-wpilib-dashboards-and-simulation-on-windows-n-editions)

The fix is to install the Windows Feature media pack: [https://www.microsoft.com/en-us/software-download/mediafeaturepack](https://www.microsoft.com/en-us/software-download/mediafeaturepack)

---

<div class="post-metadata">

### Author: ![sfong21](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sfong21](https://xrp.discourse.group/u/sfong21)
#### Post date: [October 10, 2023, 8:29pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/13 "2023-10-10T20:29:55Z")

</div>

John, thank you for your guidance.

My computer has the Windows 11 Home operating system with the following version - 10.0.22621 Build 22621.

The following link provides Media Feature Pack guidance for both Windows 10 and 11:

> **[Media Feature Pack for Windows N - Microsoft Support](https://support.microsoft.com/en-us/windows/media-feature-pack-for-windows-n-8622b390-4ce6-43c9-9b42-549e5328e407)**
>
> Learn how to install the Media Feature Pack on Windows 10/11 N.

- **On Windows 11 N** : Select the **Start** button, then select **Settings** \> **Apps** \> **Optional features**. Select **View features** next to **Add an optional feature** , and then select the **Media Feature Pack** in the list of available optional features.

After following the instructions stated above, the “Media Feature Pack” is not listed in the available optional features. Also, I have confirmed that both “Media Features” and “Windows Media Player” features are turned on.

I tried running the “xrp-2024-alpha-example-main” example in the WPILib 2024.0.0 Alpha 1 Release and I receive the same “cscorejni.dll: Can’t find dependent libraries” error message. The simulator does not open.

Please let me know if you require any additional information (logs, installed software, etc.). I am determined to get this to work properly.

Note: After running (F5) the “xrp-2024-alpha-example-main” example in the WPILib 2024.0.0 Alpha 1 Release on my Windows 10 computer (the computer that I could use a joystick to control the XRP robot successfully), the following message appeared during the build process: Resolved files of: nativeRelease \> UnzipTranform wpimath-cpp-2024.0.0-alpha-1-149.gfaa1e66-windowsx86-63.zip. A number of other alpha-1 files were downloading as well. Now, I am receiving the same “cscorejni.dll: Can’t find dependent libraries” error message when building this project.

---

<div class="post-metadata">

### Author: ![sfong21](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sfong21](https://xrp.discourse.group/u/sfong21)
#### Post date: [October 11, 2023, 11:01pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/14 "2023-10-11T23:01:29Z")

</div>

No action required (FYI).

I am new to the WPILib environment. I asked ChatGPT for more information on the cscorejni.dll. It provided the following information. Now, I understand the recommendation for updating the Media Feature pack.

`cscorejni.dll` is a dynamic-link library (DLL) file that is typically associated with the CameraServer library in the context of the FIRST Robotics Competition (FRC) and the WPILib (WPI Robotics Library) used by FRC teams. This library is used for camera-related functions and image processing in robotics applications. Its main purpose is to provide the infrastructure for capturing and processing images from cameras used in FRC robots.

Here are some of the main functions and features of `cscorejni.dll`:

1. **Camera Streaming** : It facilitates camera streaming, allowing you to capture video feeds from cameras attached to the robot. These camera feeds can be used for various purposes, such as driving assistance, object detection, and vision tracking.
2. **Image Processing** : `cscorejni.dll` can perform basic image processing tasks on the camera feed, such as filtering, thresholding, and contour detection. This is essential for tasks like identifying game elements or targets.
3. **NetworkTables Integration** : It integrates with NetworkTables, a key-value pair system used in FRC, to publish camera information and data. This allows for easy communication and sharing of camera data with other robot components.
4. **Cross-Platform Support** : It is designed to work across different platforms, making it compatible with various operating systems, including Windows, Linux, and macOS. This cross-platform support is essential for teams using different development environments.
5. **Integration with WPILib** : It is part of the WPILib suite, which is a comprehensive set of libraries and tools for developing FRC robot code. WPILib provides support for sensors, motor control, and robot communication, and `cscorejni.dll` is a critical part of the camera and vision processing support within WPILib.

In summary, `cscorejni.dll` plays a vital role in FRC robotics by enabling camera-based vision systems, image processing, and communication with other robot components. It is an important component for teams that want to implement camera vision systems and utilize camera feeds for various robot functionalities, including autonomous driving, target tracking, and more.

---

<div class="post-metadata">

### Author: ![ngreen](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/ngreen/32/26_2.png) [@ngreen](https://xrp.discourse.group/u/ngreen)
#### Post date: [October 12, 2023, 3:22am UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/15 "2023-10-12T03:22:45Z")

</div>

I am having this same issue with latest build.

I have a WIn10 with the alpha build and xrp-alpha code. It has worked but tonight after building it has crashed when opening the simulator with the `csorejni.dll` error.

```auto
PS C:\Users\Panther Robotics\Documents\GitHub\xrp-2024-alpha-example> c:; cd 'c:\Users\Panther Robotics\Documents\GitHub\xrp-2024-alpha-example'; ${env:HALSIM_EXTENSIONS}='C:\Users\Panther Robotics\Documents\GitHub\xrp-2024-alpha-example\build\jni\release\halsim_gui.dll;C:\Users\Panther Robotics\Documents\GitHub\xrp-2024-alpha-example\build\jni\release\halsim_xrp.dll;'; ${env:PATH}='C:\Users\Panther Robotics\Documents\GitHub\xrp-2024-alpha-example\build\jni\release;C:\Windows\system32\'; ${env:HALSIMXRP_HOST}='192.168.42.1'; & 'C:\Users\Public\wpilib\2024\jdk\bin\java.exe' '-agentlib:jdwp=transport=dt_socket,server=n,suspend=y,address=localhost:64824' '@C:\Users\PANTHE~1\AppData\Local\Temp\cp_avcvgtmq424qa50ewyssbgsz1.argfile' 'frc.robot.Main' 
HAL Extensions: Attempting to load: halsim_gui
Simulator GUI Initializing.
Simulator GUI Initialized!
HAL Extensions: Successfully loaded extension
HAL Extensions: Attempting to load: halsim_xrp
HALSim XRP Extension Initializing
HALSimXRP Initialized
HALSim XRP Extention Initialized
HAL Extensions: Successfully loaded extension
java.io.IOException: cscorejni could not be loaded from path or an embedded resource.
        attempted to load for platform /windows/x86-64/
Last Load Error:
C:\Users\Panther Robotics\Documents\GitHub\xrp-2024-alpha-example\build\jni\release\cscorejni.dll: Can't find dependent libraries
A common cause of this error is missing the C++ runtime.
Download the latest at https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

        at edu.wpi.first.util.RuntimeLoader.loadLibrary(RuntimeLoader.java:93)
        at edu.wpi.first.cscore.CameraServerJNI.<clinit>(CameraServerJNI.java:37)
        at edu.wpi.first.wpilibj.RobotBase.startRobot(RobotBase.java:423)
        at frc.robot.Main.main(Main.java:23)

```

---

<div class="post-metadata">

### Author: ![ZeeQueue](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/zeequeue/32/35_2.png) [@ZeeQueue](https://xrp.discourse.group/u/ZeeQueue)
#### Post date: [October 12, 2023, 2:14pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/16 "2023-10-12T14:14:58Z")

</div>

There will be a beta release of WPILib happening in the next day or two which will fix the build issues (and also remove the need to modify the build.gradle file). This will require v0.5.1 (and up) of the XRP-WPILib firmware.

---

<div class="post-metadata">

### Author: ![sfong21](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sfong21](https://xrp.discourse.group/u/sfong21)
#### Post date: [October 12, 2023, 2:56pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/17 "2023-10-12T14:56:38Z")

</div>

ZeeQueue, thank you for this wonderful news. We look forward to the new beta release of WPILib. Cheers.

---

<div class="post-metadata">

### Author: ![ZeeQueue](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/zeequeue/32/35_2.png) [@ZeeQueue](https://xrp.discourse.group/u/ZeeQueue)
#### Post date: [October 13, 2023, 5:54pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/18 "2023-10-13T17:54:00Z")

</div>

Hi folks, the beta version of WPILib is now available (with support for the XRP running the firmware on [GitHub - wpilibsuite/xrp-wpilib-firmware](https://github.com/wpilibsuite/xrp-wpilib-firmware))

You can download the latest beta installer here: [Release WPILib 2024.1.1 Beta 1 Release · wpilibsuite/allwpilib · GitHub](https://github.com/wpilibsuite/allwpilib/releases/tag/v2024.1.1-beta-1)

Additionally, docs on how to use the XRP with WPILib are now available here: [Getting Started with XRP — FIRST Robotics Competition documentation](https://docs.wpilib.org/en/latest/docs/xrp-robot/index.html)

---

<div class="post-metadata">

### Author: ![sfong21](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sfong21](https://xrp.discourse.group/u/sfong21)
#### Post date: [October 13, 2023, 7:37pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/19 "2023-10-13T19:37:34Z")

</div>

ZeeQueue, great news. A special thank you to you and your team.

I have retrieved the 2024 beta WPILib (~1.8 GB). Tomorrow, I will be documenting and testing it for teleoperated mode (with a USB joystick).

Have a restful and relaxing weekend.

Steven

---

<div class="post-metadata">

### Author: ![ngreen](https://yyz1.discourse-cdn.com/flex011/user_avatar/xrp.discourse.group/ngreen/32/26_2.png) [@ngreen](https://xrp.discourse.group/u/ngreen)
#### Post date: [October 13, 2023, 8:53pm UTC](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81/20 "2023-10-13T20:53:21Z")

</div>

Thanks. I just tried importing the 2024 alpha example I’ve been using. Well, it wiped out the vendordep. So I copied it manually over, but it didn’t have a frcYear field, so I added that. It seemed to pick up everything after that.

However, the pathplannerlib vendordep is throwing lots of errors. I had gotten it to work earlier on alpha build, although I am trying to figure out the necessary values and units still. If anyone get feedforward constants (ks, kv, ka) for the xrp I’d be interested. It isn’t yet able to run a sysid, and I’m not sure what direction that project is totally going in quite yet (moving towards not having a logging function – and implementing in your own projects). Lots to still do, but will have to figure out how the 2024 pathplanner changes are affecting it.

edit: Wanted to clarify that the errors I think are lots of underlying library changes and not related to bad units/values. Two separate issues.

[Next page](https://xrp.discourse.group/t/recommended-firmware-version-for-the-xrp-robot-for-using-both-the-xrp-code-editor-and-wpilib/81.md?page=2)
