For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pedro Commands

package com.seattlesolvers.solverslib.pedroCommand

One of SolversLib's modern features is easy integration with Pedro Pathing, a popular path following library for Autonomous. To use this, make sure you have both the pedroPathing module installed as well as the Pedro Pathing library installed. This dependency is completely separate from core, meaning that it is not installed by default, and should only be used if you are using Pedro Pathing.

SolversLib includes commands for using Pedro Pathing's Follower class, allowing you to fully use command base in your Autonomous OpModes.

These commands are for following Pedro Pathing's Path class (com.pedropathing.paths.Path), not SolversLib's Path class. Pedro Pathing 3 removed PathChain: a chain of paths is also a Path, built with Paths.path(path1, path2, ...).

All of the commands need follower.update() to be called every loop (for example in your CommandOpMode's run() method), just like when you use Pedro Pathing without commands.