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

Moving the robot while in ImpedanceMotion mode #39

Open
MiguelASTavares opened this issue Jun 8, 2022 · 0 comments
Open

Moving the robot while in ImpedanceMotion mode #39

MiguelASTavares opened this issue Jun 8, 2022 · 0 comments

Comments

@MiguelASTavares
Copy link

Hi, I would like to know if it is possible to send a JointMotion command while the robot is in ImpedanceMotion mode.
I see that you have in the example (impedance.py), the robot moving to a new target while maintaining the ImpedandeMotion, I want to do something similar but using the JointMotion command.

I try using the combination of:

q = [-1.53,0.508, -0.051, -1.796, -0.094, 3.386, -0.646]
x = Affine(Kinematics.forward(q))
impedance_motion.target = x

but when a new movement is initiated it doesn't move all the joints to the desired value, it only moves the end effector to the final position. Also, I can't seem to be able to control the velocity between movements (Always move at full speed), even using the robot.set_dynamic_rel(0.2) or data = MotionData(0.1) follow by robot.move_async(impedance, data)

Thanks in advance

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