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

When calculating a trajectory, is it possible to set the number of waypoints or specify a time interval? #247

Open
sm3304love opened this issue Sep 11, 2024 · 1 comment

Comments

@sm3304love
Copy link

sm3304love commented Sep 11, 2024

Hello,

I am implementing a hybrid planner using TrajOpt as the global planner and MPC as the local planner. I would like to increase the number of waypoints in the trajectory calculated by TrajOpt to make the trajectory denser (e.g., having each waypoint every 0.01 seconds). I have been searching for examples that use this feature, but I haven’t been able to find any.

Does Tesseract have a feature that allows for this?

@Levi-Armstrong
Copy link
Contributor

I would recommend taking the trajectory provided by trajopt and then us something like ruckig or toppra to create the geometric trajectory which then I believe provides function to sample the trajectory a the 0.01 seconds interval and get the position, velocity, etc for executing the trajectory.

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