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

Manual motion can cause unexpected motion on startup #81

Open
dmcconachie opened this issue Feb 9, 2018 · 2 comments
Open

Manual motion can cause unexpected motion on startup #81

dmcconachie opened this issue Feb 9, 2018 · 2 comments
Labels

Comments

@dmcconachie
Copy link
Contributor

When manual motion starts, if the robot's current joints are beyond the soft limit set by manual_motion.py, then the first time that the target positions get updated, the robot can move very abruptly. This will only happen when something is adding extra force to the arm. So for example:

  1. Robot current joints are near a joint limit
  2. manual_motion.py is run, robot does not move
  3. Human moves arm enough to trigger setpoint update
  4. New setpoint is at soft joint limits (30 degress away from current position)
  5. Robot moves abruptly in unexpected direction
@dmcconachie dmcconachie added the bug label Feb 9, 2018
@bsaund
Copy link
Contributor

bsaund commented Feb 9, 2018

What behavior do you want in this situation? Brainstormingj:

  1. verbal + text warning that sudden motion could occur
  2. on startup, manual_motions slowly moves inside limits
  3. soft limits are set on startup as extrema(hardcoded soft limits, startup position)
  4. Set soft limits as in 3, but dynamically shrink as robot is pushed away from limtis

@dmcconachie
Copy link
Contributor Author

I like option 4 among the options here. I don't see any downside to it at all.

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

No branches or pull requests

2 participants