PathPlanner Library API Problem

Terminal says that com.pathplanner.lib.config does not exist, but it exists on the Official API website.

offseasonTraining2024\src\main\java\frc\robot\subsystems\driveTrain.java:24: error: package com.pathplanner.lib.config does not exist
import com.pathplanner.lib.config.RobotConfig;

NOTE: this is our first time using pathplanner

our github:
https://github.com/Team-5503/offseasonTraining2024

Your code link doesn’t appear to be working for me, but have you added the vendor library?

I think you need to set the repo to public for others to see it.

Still, I’m going to guess that it’s because you didn’t upgrade to PathPlanner 2025 Beta - Technical / Programming - Chief Delphi

It should be able to view now, and we didnt upgrade to that, we just got the package from the official website https://pathplanner.dev/home.html

I dont know if getting the package from the official website and not the upgrade will affect it or not.

Should be able to view now, and yes we did add the vendor library


It seems like you’ve installed the 2024 version, which is the old version. The beta version is the one below.

Alright, I will try and see if it works.

FYI you’ll need to be on the WPILib 2025 beta to use the latest beta version of PathPlannerLib. If you want to stay on 2024 WPILib, you can access the 2024 PathPlannerLib documentation using the wayback machine.

1 Like

They can use the v2025.0.0-beta-2.1 version, it uses WPILib 2024.

It’s no longer available, the packages are deleted from their github

The solution that I used was to install the vendor libraries of both the 2024 and Beta, and having both .json files in the vendordeps folder

This doesn’t work like that. GradleRIO will only resolve one version of the vendordep, and if your project built without modifying the beta vendordep json, that means it resolved the 2024 version.