Skip to content

Fixed base velocity commands overriding each other, which was causing erratic motion when subsequent commands were sent. #64

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

Merged

Conversation

hello-robot-shehab
Copy link
Contributor

@hello-robot-shehab hello-robot-shehab commented May 15, 2025

Resolves #63

Bug: Notice that the speed of the base is slow while the W key is held at the beginning, then it jumps when the key is released. This is not the expected behavior:

base-bad-motion.webm.mp4

Fix: The motion is smooth while the key is held down:

base-better-motion-fix.webm.mp4

@hello-robot-shehab hello-robot-shehab changed the base branch from main to feature/wait-for-move-to-finish May 15, 2025 20:16
@hello-robot-shehab hello-robot-shehab force-pushed the bugfix/base-better-motion branch from c9f907c to b3b9d8f Compare May 15, 2025 20:20
@hello-robot-shehab hello-robot-shehab force-pushed the feature/wait-for-move-to-finish branch from 1a9d62b to 83e9f15 Compare May 15, 2025 20:20
@hello-robot-shehab hello-robot-shehab force-pushed the bugfix/base-better-motion branch from b3b9d8f to 1d43259 Compare May 15, 2025 20:21
@hello-robot-shehab hello-robot-shehab force-pushed the feature/wait-for-move-to-finish branch from 83e9f15 to 514f03d Compare May 15, 2025 21:30
@hello-robot-shehab hello-robot-shehab force-pushed the bugfix/base-better-motion branch from 6db90c5 to bb1361c Compare May 15, 2025 21:35
@hello-robot-shehab hello-robot-shehab changed the title Bugfix/base better motion Fixed base velocity commands overriding each other, which was causing erratic motion when subsequent commands were sent. May 15, 2025
@hello-robot-shehab hello-robot-shehab marked this pull request as ready for review May 15, 2025 21:58
Copy link
Contributor

@hello-binit hello-binit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! LGTM

@hello-robot-shehab hello-robot-shehab merged commit 33fc48f into feature/wait-for-move-to-finish May 28, 2025
1 check passed
@hello-robot-shehab hello-robot-shehab deleted the bugfix/base-better-motion branch May 28, 2025 01:49
@hello-robot-shehab hello-robot-shehab restored the bugfix/base-better-motion branch May 28, 2025 01:55
hello-robot-shehab added a commit that referenced this pull request May 28, 2025
… erratic motion when subsequent commands were sent. (#64)

* Added a BaseController than uses the physics callback to update the base motion

* The keyboard teleop example now stops the motion when the base control keys are released
This commit is a manual commit after the merge and rebase of 33fc48f
hello-robot-shehab added a commit that referenced this pull request May 28, 2025
… erratic motion when subsequent commands were sent. (#64)

* Added a BaseController than uses the physics callback to update the base motion

* The keyboard teleop example now stops the motion when the base control keys are released
This commit is a manual commit after the merge and rebase of 33fc48f
@hello-robot-shehab hello-robot-shehab deleted the bugfix/base-better-motion branch May 28, 2025 02:23
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

Successfully merging this pull request may close these issues.

Sending consecutive move commands to the base makes the robot rock or not move at the intended velocity.
2 participants