diff --git a/sot_pyrene_bringup/CMakeLists.txt b/sot_pyrene_bringup/CMakeLists.txt index 8e0722e0e94f4514d96c1b906bbace297c5333f6..53e4a1175bf720b0816027054f82fde13c472ba9 100644 --- a/sot_pyrene_bringup/CMakeLists.txt +++ b/sot_pyrene_bringup/CMakeLists.txt @@ -23,6 +23,11 @@ INSTALL( DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch ) +INSTALL( + FILES + sot/pyrene.yaml + DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/sot +) INSTALL( FILES diff --git a/sot_pyrene_bringup/launch/geometric_simu_context.launch b/sot_pyrene_bringup/launch/geometric_simu_context.launch index 7eb2f752050aed1e721d804c792240fc22f60484..fdd62d1c90467ec9b970b83799283dbfe7d1fcc7 100644 --- a/sot_pyrene_bringup/launch/geometric_simu_context.launch +++ b/sot_pyrene_bringup/launch/geometric_simu_context.launch @@ -11,6 +11,11 @@ <!-- Load robot model. --> <param name="robot_description" textfile="$(find talos_data)/urdf/talos_reduced.urdf" /> + + + <!-- Load robot sot params. --> + <rosparam command="load" + file="$(find sot_pyrene_bringup)/sot/pyrene.yaml" /> <machine name="geometric_simu_machine" address="localhost"> diff --git a/sot_pyrene_bringup/sot/pyrene.yaml b/sot_pyrene_bringup/sot/pyrene.yaml index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..8beec08089a7419e64051471191761edc3060437 100644 --- a/sot_pyrene_bringup/sot/pyrene.yaml +++ b/sot_pyrene_bringup/sot/pyrene.yaml @@ -0,0 +1,7 @@ +sot: + state_vector_map: [leg_left_1_joint, leg_left_2_joint, leg_left_3_joint, leg_left_4_joint, leg_left_5_joint, leg_left_6_joint, + leg_right_1_joint, leg_right_2_joint, leg_right_3_joint, leg_right_4_joint, leg_right_5_joint, leg_right_6_joint, + torso_1_joint, torso_2_joint, + arm_left_1_joint, arm_left_2_joint, arm_left_3_joint, arm_left_4_joint, arm_left_5_joint, arm_left_6_joint, arm_left_7_joint, gripper_left_joint, + arm_right_1_joint, arm_right_2_joint, arm_right_3_joint, arm_right_4_joint, arm_right_5_joint, arm_right_6_joint, arm_right_7_joint, gripper_right_joint, + head_1_joint,head_2_joint]