-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UR robot + generalize example to every robot (#76)
* add UR robot * generalise exemples for every robots
- Loading branch information
1 parent
3ecad18
commit b9b82b8
Showing
12 changed files
with
87 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
from typing import List | ||
|
||
MOVE_GROUP_ARM: str = "ur_manipulator" | ||
MOVE_GROUP_GRIPPER: str = "gripper" | ||
|
||
prefix: str = "" | ||
|
||
OPEN_GRIPPER_JOINT_POSITIONS: List[float] = [0.04, 0.04] | ||
CLOSED_GRIPPER_JOINT_POSITIONS: List[float] = [0.0, 0.0] | ||
|
||
|
||
def joint_names(prefix: str = prefix) -> List[str]: | ||
return [ | ||
prefix + "shoulder_pan_joint", | ||
prefix + "shoulder_lift_joint", | ||
prefix + "elbow_joint", | ||
prefix + "wrist_1_joint", | ||
prefix + "wrist_2_joint", | ||
prefix + "wrist_3_joint", | ||
] | ||
|
||
|
||
def base_link_name(prefix: str = prefix) -> str: | ||
return prefix + "base_link" | ||
|
||
|
||
def end_effector_name(prefix: str = prefix) -> str: | ||
return prefix + "tool0" | ||
|
||
|
||
def gripper_joint_names(prefix: str = prefix) -> List[str]: | ||
return [ | ||
|
||
] |