Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a PID Controller with Roadrunner 0.5.6 #10

Open
Vivexplorer opened this issue Jan 25, 2024 · 2 comments
Open

Using a PID Controller with Roadrunner 0.5.6 #10

Vivexplorer opened this issue Jan 25, 2024 · 2 comments

Comments

@Vivexplorer
Copy link

To use a PID(f) controller with Roadrunner trajectories, you need to use async trajectories so that the PID controller can run in the background. You can do this by "
drive.followTrajectoryAsync(trajectory); "
You will also need to add another line of code inside of your loop:
drive.followTrajectoryAsync(trajectory);

For more information, consider looking at the roadrunner page on async following.

@RuckusRoboticsCode
Copy link
Contributor

RuckusRoboticsCode commented Jan 25, 2024

this is being reviewed rn already

@Vivexplorer
Copy link
Author

Okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants