Replies: 1 comment 3 replies
-
|
A few more questions:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks for your help, we use logging to subscribe to the
odomtopic, get their position and velocity. In each callback, calculate acceleration, updateposandvelto get new ones forcmdFullState(). However, what we want does not occur.acc = (-1.0,0,0), it almost does not move.count += 1after each callback,pos[0] = 0-count/rateis updated with increasingcount,vel = (-1.0,0,0),acc = (-1.0,0,0). It moves to the negative axis of X, but it move much slower than expected. From x = 0 to reach x = -1, spends about 3 seconds.(-1.0,0,0), change parameters to constantacc = (-1.0,0,0)in case 1. Calculate newposandvel, althoughvelhas large value(but limited explicitly for safety),posis moving away from origin, it becomes slower and does not move soon.It seems like
cmdFullStatehas slow or little effect when displacement (desired position-estimated position) is small, so the velocity part becomes smaller and smaller until it becomes 0, a kind of bad positive feedback.Beta Was this translation helpful? Give feedback.
All reactions