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

Changing the speed of "Walk" #36

Closed
Jakob0330 opened this issue Jan 25, 2023 · 1 comment
Closed

Changing the speed of "Walk" #36

Jakob0330 opened this issue Jan 25, 2023 · 1 comment

Comments

@Jakob0330
Copy link

I'm currently working on a project with Bittle. I want to change the speed of walking but haven't found parameters for speed of this action in the skillfile. Does anyone solve this problem before?

@borntoleave
Copy link
Collaborator

You can change the walking speed in many ways:

  • Use faster gaits such as trot.
  • Add delays between frames to slow the speed down.

delayInSkills

  • Re-generate the walking gait with different numbers of frames. The fewer frames, the faster; the more frames, the slower and smoother. However, due to the limited memory size of NyBoard, the frames should be less than (450-4)/8 = 55, as the array to store the gait is defined by int8_t *dataBuffer = new int8_t[450]; in src/OpenCat.h
  • Buy the ESP32-based BiBoard with a faster CPU and a larger memory. The code can be found in https://github.com/PetoiCamp/OpenCatEsp32

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