Skip to content

Commit 36d9056

Browse files
author
Gabriele
committed
added home positions for the yarpmotorgui
1 parent 272941b commit 36d9056

File tree

113 files changed

+4636
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+4636
-0
lines changed
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
add_subdirectory(robots)

utilities/homePositions/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Home positions
2+
3+
Home positions of the iCub robots to be used with the `yarpmotorgui`. Follow the instructions in the `WBC main README`.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
set(ROBOT_NAME "$ENV{YARP_ROBOT_NAME}" CACHE PATH
2+
"Name of your robot")
3+
4+
set(ROBOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/${ROBOT_NAME}")
5+
6+
# If no env variable YARP_ROBOT_NAME is defined
7+
if(WBC_INSTALL_ALL_HOME_POS)
8+
add_subdirectory(bigman)
9+
add_subdirectory(bigman_only_legs)
10+
add_subdirectory(iCubGenova01)
11+
add_subdirectory(iCubGenova02)
12+
add_subdirectory(iCubGenova03)
13+
add_subdirectory(iCubGenova04)
14+
add_subdirectory(iCubGenova05)
15+
add_subdirectory(iCubParis01)
16+
add_subdirectory(iCubParis02)
17+
add_subdirectory(iCubHeidelberg01)
18+
add_subdirectory(icubGazeboSim)
19+
add_subdirectory(iCubDarmstadt01)
20+
add_subdirectory(iCubNancy01)
21+
add_subdirectory(iCubGazeboV2_5_plus)
22+
add_subdirectory(iCubGazeboV2_5)
23+
else()
24+
if(ROBOT_NAME)
25+
add_subdirectory(${ROBOT_NAME})
26+
endif()
27+
endif()
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
set(robotname bigman)
2+
3+
file(GLOB ini ${CMAKE_CURRENT_SOURCE_DIR}/*.ini)
4+
5+
yarp_install(FILES ${ini} DESTINATION ${WBC_ROBOTS_INSTALL_DIR}/${robotname})
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//name of the robot
2+
robot bigman
3+
//parts to be opened by the GUI
4+
parts (head torso left_arm right_arm right_leg left_leg)
5+
6+
[customPosition_YogaPP]
7+
/$robot/head_Position 0 0
8+
/$robot/head_Velocity 5 5
9+
/$robot/torso_Position 1 0 -1
10+
/$robot/torso_Velocity 5 5 5
11+
/$robot/left_arm_Position 13 6 -14 -7 5.5 0 0
12+
/$robot/left_arm_Velocity 5 5 5 5 5 5 5
13+
/$robot/right_arm_Position 13 -6 14 -7 -5.5 0 0
14+
/$robot/right_arm_Velocity 5 5 5 5 5 5 5
15+
/$robot/right_leg_Position 0 0 -14 17 -1.5 0
16+
/$robot/right_leg_Velocity 5 5 5 5 5 5
17+
/$robot/left_leg_Position 0 0 -14 17 1.5 0
18+
/$robot/left_leg_Velocity 5 5 5 5 5 5
19+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
//name of the robot
2+
robot bigman
3+
//parts to be opened by the GUI
4+
parts (head torso left_arm right_arm right_leg left_leg)
5+
6+
[customPosition_calibAir]
7+
/$robot/head_Position 0 0
8+
/$robot/head_Velocity 5 5
9+
/$robot/torso_Position 0 0 0
10+
/$robot/torso_Velocity 5 5 5
11+
/$robot/left_arm_Position 0 20 0 0 0 0 0
12+
/$robot/left_arm_Velocity 5 5 5 5 5 5 5
13+
/$robot/right_arm_Position 0 -20 0 0 0 0 0
14+
/$robot/right_arm_Velocity 5 5 5 5 5 5 5
15+
/$robot/right_leg_Position -20 0 0 0 0 0
16+
/$robot/right_leg_Velocity 5 5 5 5 5 5
17+
/$robot/left_leg_Position 20 0 0 0 0 0
18+
/$robot/left_leg_Velocity 5 5 5 5 5 5
19+
20+
[customPosition_calibPole]
21+
/$robot/head_Position 0 0
22+
/$robot/head_Velocity 5 5
23+
/$robot/torso_Position 0 0 0
24+
/$robot/torso_Velocity 5 5 5
25+
/$robot/left_arm_Position 0 20 0 0 0 0 0
26+
/$robot/left_arm_Velocity 5 5 5 5 5 5 5
27+
/$robot/right_arm_Position 0 -20 0 0 0 0 0
28+
/$robot/right_arm_Velocity 5 5 5 5 5 5 5
29+
/$robot/right_leg_Position 0.2388 0 -39.5112 62.9325 -23.4216 -0.2646
30+
/$robot/right_leg_Velocity 5 5 5 5 5 5
31+
/$robot/left_leg_Position -0.2388 0 -39.5112 62.9325 -23.4216 0.2646
32+
/$robot/left_leg_Velocity 5 5 5 5 5 5
33+
34+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
//name of the robot
2+
name bigman
3+
4+
//parts to be opened by the GUI
5+
parts (head torso left_arm right_arm right_leg left_leg)
6+
7+
[head_zero]
8+
// 0 1
9+
PositionZero 0 0
10+
VelocityZero 5 5
11+
12+
[torso_zero]
13+
// 0 1 2
14+
PositionZero 1 0 -1
15+
VelocityZero 5 5 5
16+
17+
[left_arm_zero]
18+
//Joint 0 1 2 3 4 5 6
19+
PositionZero 13 6 -14 -7 5.5 0 0
20+
VelocityZero 5 5 5 5 5 5 5
21+
22+
[right_arm_zero]
23+
//Joint 0 1 2 3 4 5 6
24+
PositionZero 13 -6 14 -7 -5.5 0 0
25+
VelocityZero 5 5 5 5 5 5 5
26+
27+
[right_leg_zero]
28+
//Joint 0 1 2 3 4 5
29+
PositionZero 0 0 -14 17 -1.5 0
30+
VelocityZero 5 5 5 5 5 5
31+
32+
[left_leg_zero]
33+
//Joint 0 1 2 3 4 5
34+
PositionZero 0 0 -14 17 1.5 0
35+
VelocityZero 5 5 5 5 5 5
36+
37+
//DO NOT REMOVE THIS LINE
38+
39+
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
62+
63+
64+
65+
66+
67+
68+
69+
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+
80+
81+
82+
83+
84+
85+
86+
87+
88+
89+
90+
91+
92+
93+
94+
95+
96+
97+
98+
99+
100+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name torqueBalancing
2+
robot bigman
3+
period 10
4+
modulePeriod 0.01
5+
6+
wbi_config_file yarpWholeBodyInterface.ini
7+
wbi_joint_list ROBOT_TORQUE_CONTROL_JOINTS
8+
9+
constraint_links ("l_sole" "r_sole")
10+
smooth ("joints", 1.0)
11+
12+
comKp (30 30 30)
13+
comKd (11 11 11)
14+
comKi (0 0 0)
15+
16+
kw 1
17+
kImp (20 20 10 20 20 20 20 20 20 20 20 20 20 30 30 30 60 10 10 30 30 30 60 10 10 )
18+
19+
tsat (250 250 250 250 250 250 250 250 250 250 250 250 250 250 250 250 250 250 250 250 250 250 250 250 250 )
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
set(robotname bigman_only_legs)
2+
3+
file(GLOB ini ${CMAKE_CURRENT_SOURCE_DIR}/*.ini)
4+
5+
yarp_install(FILES ${ini} DESTINATION ${WBC_ROBOTS_INSTALL_DIR}/${robotname})
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
//name of the robot
2+
robot bigman
3+
//parts to be opened by the GUI
4+
parts (right_leg left_leg)
5+
6+
[customPosition_YogaPP]
7+
/$robot/right_leg_Position 0 0 0 0 1.4 0
8+
/$robot/right_leg_Velocity 10 10 10 10 10 10
9+
/$robot/left_leg_Position 0 0 0 0 1.4 0
10+
/$robot/left_leg_Velocity 10 10 10 10 10 10
11+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
//name of the robot
2+
name bigman
3+
4+
//parts to be opened by the GUI
5+
parts (right_leg left_leg)
6+
7+
[right_leg_zero]
8+
//Joint 0 1 2 3 4 5
9+
PositionZero 0 0 0 15 -10 0
10+
VelocityZero 5 5 5 5 5 5
11+
12+
[left_leg_zero]
13+
//Joint 0 1 2 3 4 5
14+
PositionZero 0 0 0 15 -10 0
15+
VelocityZero 5 5 5 5 5 5
16+
17+
//DO NOT REMOVE THIS LINE
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
28+
29+
30+
31+
32+
33+
34+
35+
36+
37+
38+
39+
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
62+
63+
64+
65+
66+
67+
68+
69+
70+
71+
72+
73+
74+
75+
76+
77+
78+
79+
80+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name torqueBalancing
2+
robot bigman
3+
period 10
4+
modulePeriod 0.01
5+
6+
wbi_config_file yarpWholeBodyInterface.ini
7+
wbi_joint_list ROBOT_TORQUE_CONTROL_JOINTS
8+
9+
constraint_links ("l_sole" "r_sole")
10+
smooth ("joints", 1.0)
11+
12+
comKp (30 30 30)
13+
comKd (11 11 11)
14+
comKi (0 0 0)
15+
16+
kw 1
17+
kImp (30 30 30 60 10 10 30 30 30 60 10 10 )
18+
19+
tsat (250 250 250 250 250 250 250 250 250 250 250 250 )
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
set(robotname iCubDarmstadt01)
2+
3+
file(GLOB ini ${CMAKE_CURRENT_SOURCE_DIR}/*.ini)
4+
5+
yarp_install(FILES ${ini} DESTINATION ${WBC_ROBOTS_INSTALL_DIR}/${robotname})
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
//name of the robot
2+
name icub
3+
//parts to be opened by the GUI
4+
parts (head torso left_arm right_arm right_leg left_leg)
5+
6+
[head_zero]
7+
// 0 1 2
8+
PositionZero 0 0 0 0 0 0
9+
VelocityZero 10 10 10 10 10 10
10+
11+
[torso_zero]
12+
// 0 1 2
13+
PositionZero 0 0 0
14+
VelocityZero 10 10 10
15+
16+
[left_arm_zero]
17+
//Joint 0 1 2 3 4 5 6
18+
PositionZero -35.97 29.97 0.06 50.00 0.00 0.00 -0.00 15 30 10 0 0 0 10 0 10
19+
VelocityZero 10 10 10 10 30 30 30 10 10 10 10 10 10 10 10 10
20+
21+
[right_arm_zero]
22+
//Joint 0 1 2 3 4 5 6
23+
PositionZero -35.97 29.97 0.06 50.00 0.00 0.00 -0.00 15 30 10 0 0 0 10 0 10
24+
VelocityZero 10 10 10 10 30 30 30 10 10 10 10 10 10 10 10 10
25+
26+
[right_leg_zero]
27+
//Joint 0 1 2 3 4 5
28+
PositionZero 0 0 0 0 0 0
29+
VelocityZero 10.00 10.00 10.00 10.00 10.00 10.00
30+
31+
[left_leg_zero]
32+
//Joint 0 1 2 3 4 5
33+
PositionZero 0 0 0 0 0 0
34+
VelocityZero 10 10 10 10 10 10
35+
36+
//DO NOT REMOVE THIS LINE
37+

0 commit comments

Comments
 (0)