darwin_walk_backward
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
darwin_walk_backward [2017/11/21 10:43] – yuhanghe | darwin_walk_backward [2017/11/21 11:37] (current) – [Programming] yuhanghe | ||
---|---|---|---|
Line 31: | Line 31: | ||
Darwin OP 2's Walking class calculates motor positions for walking algorithm internally based on parameters. Most of these parameters can be edited through walking_tuner program. Here is a detailed [[http:// | Darwin OP 2's Walking class calculates motor positions for walking algorithm internally based on parameters. Most of these parameters can be edited through walking_tuner program. Here is a detailed [[http:// | ||
\\ \\ | \\ \\ | ||
+ | There are 3 parameter in walking_tuner that cannot be saved: '' | ||
+ | \\ \\ | ||
Below is a sample program that demonstrates Darwin OP 2 walking backward. Place both '' | Below is a sample program that demonstrates Darwin OP 2 walking backward. Place both '' | ||
Line 130: | Line 131: | ||
Walking:: | Walking:: | ||
// | // | ||
- | //each unit corresponds to approximately 1 cm. Set X_MOVE_AMPLITUDE to negative numbers to program | + | //each unit corresponds to approximately 1 mm. Set X_MOVE_AMPLITUDE to negative numbers to program |
//Darwin OP 2 to walk backwards. The Walking class calculates corresponding motor positions | //Darwin OP 2 to walk backwards. The Walking class calculates corresponding motor positions | ||
// | // | ||
Line 136: | Line 137: | ||
Walking:: | Walking:: | ||
// | // | ||
- | //unit correspond approximately to 1 degree. | + | //unit correspond approximately to 1 degree. Positive degrees for Darwin OP 2 to turn |
+ | // | ||
| | ||
Walking:: | Walking:: | ||
Line 190: | Line 192: | ||
===== Demonstration ===== | ===== Demonstration ===== | ||
- | In this demonstration, | + | In this demonstration, |
- | {{ youtube>HaZladeEsJo?large }} | + | {{ youtube>GQ8AyZpQ9NU?large }} |
===== Final Words ===== | ===== Final Words ===== | ||
- | This tutorial' | + | This tutorial' |
\\ | \\ | ||
\\ | \\ |
darwin_walk_backward.1511289830.txt.gz · Last modified: by yuhanghe