wiki:v2:lego_chase_demo

This shows you the differences between two versions of the page.

Both sides previous revision Previous revision | |||

wiki:v2:lego_chase_demo [2019/01/30 23:24] pixycam |
wiki:v2:lego_chase_demo [2019/01/30 23:28] (current) pixycam |
||
---|---|---|---|

Line 131: | Line 131: | ||

translation = left_motor + right_motor | translation = left_motor + right_motor | ||

</code> | </code> | ||

- | If you've ever driven a tank, these equations probably make sense. But we're interested in the "inverted" equations. We want expressions for the left_wheel and the right_wheel in terms of rotation and translation. That is, we already know how we want our robot to rotate and translate -- these are the outputs of our PID controllers. So rotation and translation are our **knowns**. Our **unknowns** are left_wheel and right_wheel. Using some algebra, we get the inverted equations. | + | If you've ever driven a tank, these equations probably make sense. But we're interested in the "inverted" equations. We want expressions for the left\_wheel and the right\_wheel in terms of rotation and translation. That is, we already know how we want our robot to rotate and translate -- these are the outputs of our PID controllers. So rotation and translation are our **knowns**. Our **unknowns** are left\_wheel and right\_wheel. Using some algebra, we get the inverted equations. |

<code> | <code> |

wiki/v2/lego_chase_demo.txt ยท Last modified: 2019/01/30 23:28 by pixycam

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International