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

Robot playback motion #12

Open
garimellagowtham opened this issue Apr 8, 2019 · 3 comments
Open

Robot playback motion #12

garimellagowtham opened this issue Apr 8, 2019 · 3 comments

Comments

@garimellagowtham
Copy link

Hello @smhty,
It is often cumbersome to specify exact coordinates and path the robot end effector has to take. Usually, there is a playback option for robotic arms that allows the user to cut off the power to motors to record the motion and play it back. I am wondering if there is some way of achieving this on Dorna. Is there an option to power off the motors while still allowing the user to record the position of the arm?

Thanks,
Gowtham.

@garimellagowtham garimellagowtham changed the title Teaching robot arm by allowing a user to drag end effector Robot playback motion Apr 8, 2019
@smhty
Copy link
Collaborator

smhty commented Apr 11, 2019

Hi @garimellagowtham
Unfortunately not. That requires, some kind of feedback and encoder, and Dorna does not offer any feedback.

@garimellagowtham
Copy link
Author

Is there a way to turn the arm on/off using the API? I can find external ways to get feedback such as using markers etc. I would still need to turn the robot on/off?

On a side note, I am wondering how homing works if there is no feedback?

@smhty
Copy link
Collaborator

smhty commented Apr 22, 2019

@garimellagowtham
You do not have control over the power supply through the API.
But you can still use power management tools that G2core provides to enable and disable motors:
https://github.com/synthetos/g2/wiki/Power-Managemen

For example, the g2core command {1pm:0} disables motor 1

The homing sensors are there for homing, and setting each joint to a known position.
After the homing process is done, the position of each joint is related to the steps of the associated motors.
So basically, the robot knows its position only when the motors are on, and by turning off the motors, there is no way to recover the position. That's why homing is required whenever you turn on the robot.

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