7 | | * 4: float distance, how far the bot should walk. The bot will hit the spot precisely (if it is possible to), and will spend a few frames making sure that it does (usually by shuffling back and forth to deal with slippery surfaces, overshooting the distance, etc). Negative distances are reset to 0: if you want to move a "negative distance", just increase theta by 180 degrees. |
| 7 | * 4: float distance, how far the bot should walk. The bot will hit the spot precisely (if it is possible to), and will spend an extra frame making sure that it does (usually by shuffling back to deal with slippery surfaces, overshooting the distance, etc). Negative distances are reset to 0: if you want to move a "negative distance", just increase theta by 180 degrees. |