Skip to content

Unexpected behavior with raw trajectories #968

Answered by krichardsson
natesimon asked this question in Q&A
Discussion options

You must be logged in to vote

When I run the same trajectory twice in a row, the yaw is not relative (despite setting relative=True).

I think the simple answer is that the relative only is used for the position and not the yaw. You can check out the implementation in the firmware where the trajectory is started

If I plot the desired and actual values vs. time, I am curious why the trajectory has a "delay" in the X and Y values. I would expect a faster increase in forward velocity.

It depends on which controller you use, I guess you use the PID controller? The high level commander generates setpoints with position, velocity and acceleration, but the PID controller does not use all the data, it also has an upper lim…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@natesimon
Comment options

@krichardsson
Comment options

Answer selected by natesimon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants