Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functional explanation #1

Open
correderadiego opened this issue Mar 30, 2018 · 1 comment
Open

Functional explanation #1

correderadiego opened this issue Mar 30, 2018 · 1 comment

Comments

@correderadiego
Copy link
Collaborator

It would be great to create a functional definition with the basic working modes of the robot. I am thinking about a description of the different walking modes and what to do in each mode. I have realized that it has declared from line 73 to 93 but I would need further explanation.

@correderadiego correderadiego changed the title Global code explanation Functional explanation Mar 30, 2018
@borntoleave
Copy link
Owner

borntoleave commented Mar 31, 2018

I'm shrinking the bytes of code by using abbreviations for different gaits.

  • bd: bound
  • tr: trot
  • wk: walk
  • cr: crawl
  • bk: back
  • L/R means left/right.
  • from bound to back, it (roughly) follows a trend of reducing speed.

Full gait names are now added to catMini.ino, after those abbreviations.

The control could be organized in another way, such as:

  • forward/backward to change the gaits corresponding to different speeds.
  • left/right key for turning left and right
  • number keys for different postures or behaviors

Different gait modes are the servo angles in different time frames and are periodical. They are derived with my algorithm stored elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants