turtlebot:adventures:sensing101_thetaerror
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
turtlebot:adventures:sensing101_thetaerror [2015/10/27 19:38] – pvela | turtlebot:adventures:sensing101_thetaerror [2024/08/20 21:38] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
It turns out that these two parts used correspond to a planar quaternion, which is basically just a complex number $ z = x + jy$. Be careful though because the quaternion version has half the phase. | It turns out that these two parts used correspond to a planar quaternion, which is basically just a complex number $ z = x + jy$. Be careful though because the quaternion version has half the phase. | ||
OK, let's assume that you have a desired orientation that gets created as a complex number | OK, let's assume that you have a desired orientation that gets created as a complex number | ||
- | $$ z_{des} = e^{j \theta_{des}} = \cos(\theta_{dsc}) + j \sin(\theta_{des})$$ | + | $$ z_{des} = e^{j \theta_{des}} = \cos(\theta_{des}) + j \sin(\theta_{des})$$ |
In python, one would use the [[https:// | In python, one would use the [[https:// | ||
turtlebot/adventures/sensing101_thetaerror.1445989121.txt.gz · Last modified: 2024/08/20 21:38 (external edit)