-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
path follower go vroom vroom v1.0 #338
Comments
I sketched an approach here: https://rr.brott.dev/docs/v1-0/guides/path-following/. Not all of the details are filled in, and I would only recommend this to advanced teams. |
Hi, I'm trying to follow the path following guide (pun semi-intented), but I'm having a hard time understanding the exercise to the reader part:
Could the guide maybe be expanded with a more in-depth explanation and more code examples? I'm really interested in implementing path following even if it takes a more custom approach. I'm also a bit confused about the last part about:
What I managed to understand from the explanation until now is written bellow: val pathDisplacement = project(timeTrajectory.path, pose.position, lastDisplacement)
val targetPoseArc = timeTrajectory.path[pathDisplacement, 3]
val timeDisplacement = timeTrajectory.profile.dispProfile[pathDisplacement]
val targetPos = targetPoseArc.reparam(timeDisplacement) |
Perhaps in the future. I do like it in its current form as an invitation to experimentation instead of dogmatically prescribing best practices. The trajectory following system that people usually associate Road Runner with is the ordained approach and comes with the benefit of elaborated instructions.
This is a hint toward a possible enhancement to simpler path followers. It's not something I would recommend starting with. I would focus on getting the most basic path follower running on your robot and observing how it runs. In fact, I would probably start with a pure feedback controller that chooses a pose setpoint by projecting the pose estimate onto the path and adding a fixed lookahead distance. Start playing around with that and go from there.
This is also gesturing at another enhancement that you don't need (and shouldn't have!) to start. |
I was told to make this so ok
The text was updated successfully, but these errors were encountered: