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

Catch a bug in SerialLink.fkine() #131

Open
StvLi opened this issue Jan 16, 2024 · 0 comments
Open

Catch a bug in SerialLink.fkine() #131

StvLi opened this issue Jan 16, 2024 · 0 comments

Comments

@StvLi
Copy link

StvLi commented Jan 16, 2024

When I was following the procudure in textbook Robotics, Vision and Control: Fundamental Algorithms in MATLAB, I found that the output SE(3) of SerialLink.fkine() was not it supposed to be.

the function output:
微信图片_20240116201558
what it supposed to be according to the textbook in Page 200, which had been confirmed by my own culcalation:
微信图片_20240116201659

So, I belived there must be a bug in fkine and finally found it here:
at SerialLink\fkine.m line 63:
the original one is
q = robot.todegrees(q);
and it should be:
q = robot.toradians(q);

after replacing this line, everything goes perfect:
微信图片_20240116202348
correct this bug in next version plz

Love your great works, Greeting with my best wish!

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