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

Small lift jumps when changing mode #31

Open
hello-binit opened this issue Aug 5, 2024 · 0 comments
Open

Small lift jumps when changing mode #31

hello-binit opened this issue Aug 5, 2024 · 0 comments

Comments

@hello-binit
Copy link
Contributor

hello-binit commented Aug 5, 2024

When a command is sent that changes the mode the lift stepper is in, you'll occasionally see a small jump. For example, the following script can sometimes cause a jump to appear:

import stretch_body.robot
r = stretch_body.robot.Robot()
r.startup()

# This can cause the small jump
r.lift.motor.enable_safety()
r.push_command()

# This can also cause the small jump
r.lift.move_to(0.3)
r.push_command()

# So can this
r.lift.motor.enable_pos_traj_waypoint()
r.push_command()

Turn the volume up to hear the jumps in these videos:

  • Video 1: Changing from MODE_SAFETY to MODE_POS_TRAJ
  • Video 2: Changing from MODE_POS_TRAJ TO MODE_POS_TRAJ_WAYPOINT
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

1 participant