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

(V2.1) Raw vs Offset Input/Output is complicated #29

Open
apockill opened this issue Oct 12, 2016 · 2 comments
Open

(V2.1) Raw vs Offset Input/Output is complicated #29

apockill opened this issue Oct 12, 2016 · 2 comments
Labels

Comments

@apockill
Copy link
Member

Problem:
We need to simplify the "offset" or "raw" servo angles.

Why:
There are so many commands for doing the same thing, and they are confusing.
[sSerN#V#]
[sAngN#V#]
[gAng]
[gSer]

It's confusing what commands do what.

Does [gIKX#Y#Z#] return angles WITH offset or WITHOUT offset? Does [gFKT#L#R#] expect angles with an offset or no offset?

Solution:
I'm not sure. What do you suggest?

@yuntian1019
Copy link
Contributor

[gAng] [sAng] return ideal angles but [gSer] [sSer] return raw angles.
idea angle = raw angle + assembly offset
So user should alway use ideal angles.

[gIKX#Y#Z#] and [gFKT#L#R#] return ideal angles(with offset).

@apockill
Copy link
Member Author

Thanks for clearing that up. I think the documentation for [gIKX#Y#Z#] and [gFKT#L#R#] should mention that they return ideal angles.

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