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

Agent-arm Teleport v1.0 #1070

Merged
merged 4 commits into from
Sep 8, 2022
Merged

Agent-arm Teleport v1.0 #1070

merged 4 commits into from
Sep 8, 2022

Conversation

elimvb
Copy link
Collaborator

@elimvb elimvb commented Aug 31, 2022

Added command that teleports agent-arm to desired position, rotation, armHeight, and elbowOrientation.

Both IK-Arm and Stretch-Arm are supported.

Input format for IK Arm (example values are defaults when no input is given beyond "action": "TeleportArm"):
{
"action": "TeleportArm",
"position": {"x": 0.0, "y": 0.0, "z": 0.4},
// rotation input is axis-angle notation, with "w" as wrist-angle (in degrees) around axis defined by (x, y, z)
"rotation": {"x": 0.0, "y": 0.0, "z": 0.0, "w": 0.0},
"armHeight": {-0.003},
// elbowOrientation input is orientation of elbow (in degrees) around straight line between agent's shoulder and wrist
"elbowOrientation": {0},
"worldRelative": false,
"forceAction": false
}

Input for FK Arm (example values are defaults when no input is given beyond "action": "TeleportArm"):
{
"action": "TeleportArm",
"position": {"x": 0.0, "y": 0.0, "z": 0.1},
// rotation input is single angle (in degrees) of wrist around up-axis, since that is the Stretch-Robot's wrist's only axis of rotational freedom
"rotation": {-180},
"worldRelative": false,
"forceAction": false
}

@elimvb elimvb merged commit c607aed into nanna Sep 8, 2022
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

Successfully merging this pull request may close these issues.

None yet

1 participant