diff --git a/gym_ignition/__init__.py b/gym_ignition/__init__.py index 9ad65309c..aeb90363d 100644 --- a/gym_ignition/__init__.py +++ b/gym_ignition/__init__.py @@ -53,7 +53,7 @@ max_episode_steps=5000, kwargs={'task_cls': pendulum_swingup.PendulumSwingUp, 'robot_cls': sim.gazebo.pendulum.PendulumGazeboRobot, - 'model': "Pendulum/Pendulum.sdf", + 'model': "Pendulum/Pendulum.urdf", 'world': "DefaultEmptyWorld.world", 'rtf': max_float, 'agent_rate': 1000, @@ -67,7 +67,7 @@ max_episode_steps=5000, kwargs={'task_cls': cartpole_discrete.CartPoleDiscrete, 'robot_cls': sim.gazebo.cartpole.CartPoleGazeboRobot, - 'model': "CartPole/CartPole.sdf", + 'model': "CartPole/CartPole.urdf", 'world': "DefaultEmptyWorld.world", 'rtf': max_float, 'agent_rate': 1000, @@ -81,7 +81,7 @@ max_episode_steps=5000, kwargs={'task_cls': cartpole_continuous.CartPoleContinuous, 'robot_cls': sim.gazebo.cartpole.CartPoleGazeboRobot, - 'model': "CartPole/CartPole.sdf", + 'model': "CartPole/CartPole.urdf", 'world': "DefaultEmptyWorld.world", 'rtf': max_float, 'agent_rate': 1000, diff --git a/gym_ignition/gympp/cartpole.py b/gym_ignition/gympp/cartpole.py index 47db1abba..11d847fac 100644 --- a/gym_ignition/gympp/cartpole.py +++ b/gym_ignition/gympp/cartpole.py @@ -21,7 +21,7 @@ def _plugin_metadata(self) -> bindings.PluginMetadata: md.setLibraryName("CartPolePlugin") md.setClassName("gympp::plugins::CartPole") md.setWorldFileName("DefaultEmptyWorld.world") - md.setModelFileName("CartPole/CartPole.sdf") + md.setModelFileName("CartPole/CartPole.urdf") md.setAgentRate(1000) diff --git a/gym_ignition_data/CartPole/CartPole.sdf b/gym_ignition_data/CartPole/CartPole.sdf deleted file mode 100644 index 725ea76cf..000000000 --- a/gym_ignition_data/CartPole/CartPole.sdf +++ /dev/null @@ -1,170 +0,0 @@ - - - - 0 0 1.2 0 -0 0 - - 0 0 0 1.5708 -0 0 - 5 - - 10.4167 - 0 - 0 - 10.4167 - 0 - 6.25e-05 - - - - 0 0 0 1.5708 -0 0 - - - 5 - 0.005 - - - - 0 0 0 0.8 - 0 0 0 0.8 - 0 0 0 0.8 - 0 0 0 0.8 - - - 1 - - - - rail - world - - - 0 0 1.2 0 -0 0 - - 0 0 0 0 -0 0 - 1 - - 0.00354167 - 0 - 0 - 0.00104167 - 0 - 0.00416667 - - - - 0 0 0 0 -0 0 - - - 0.1 0.2 0.05 - - - - - - - - - - - - - 0 0 0 0 -0 0 - - - 0.1 0.2 0.05 - - - - 0.2 0.2 0.2 0.8 - 0.2 0.2 0.2 0.8 - 0.2 0.2 0.2 0.8 - 0.2 0.2 0.2 0.8 - - - 1 - - - - cart - rail - - 0 1 0 - - -2.4 - 2.4 - 500 - 10 - - - 0 - 0 - - 0 - - - - 0 0 1.225 0 -0 0 - - 0 0 0.5 0 -0 0 - 0.1 - - 0.00833396 - 0 - 0 - 0.00833396 - 0 - 1.25e-06 - - - - 0 0 0.5 0 -0 0 - - - 1 - 0.005 - - - - - - - - - - - - - 0 0 0.5 0 -0 0 - - - 1 - 0.005 - - - - 1 0 0 0.8 - 1 0 0 0.8 - 1 0 0 0.8 - 1 0 0 0.8 - - - 1 - - - - pole - cart - - 1 0 0 - - -1e+16 - 1e+16 - - - 0 - 0 - - 0 - - - - diff --git a/gym_ignition_data/CartPole/CartPole.urdf b/gym_ignition_data/CartPole/CartPole.urdf index 88b028fd7..39d0d8820 100644 --- a/gym_ignition_data/CartPole/CartPole.urdf +++ b/gym_ignition_data/CartPole/CartPole.urdf @@ -3,48 +3,39 @@ - + - + - + - + - 0 0 0 0.8 - 0 0 0 0.8 - 0 0 0 0.8 - 0 0 0 0.8 + 0 0 0 1 - 0.2 0.2 0.2 0.8 - 0.2 0.2 0.2 0.8 - 0.2 0.2 0.2 0.8 - 0.2 0.2 0.2 0.8 + 0.2 0.2 0.2 1 - 1 0 0 0.8 - 1 0 0 0.8 - 1 0 0 0.8 - 1 0 0 0.8 + 1 0 0 1 @@ -64,7 +55,7 @@ - + @@ -80,7 +71,7 @@ - + @@ -102,7 +93,7 @@ - + @@ -111,7 +102,7 @@ - + diff --git a/gym_ignition_data/CartPole/CartPole.urdf.xacro b/gym_ignition_data/CartPole/CartPole.urdf.xacro index 92034e18b..43f0f44c4 100644 --- a/gym_ignition_data/CartPole/CartPole.urdf.xacro +++ b/gym_ignition_data/CartPole/CartPole.urdf.xacro @@ -22,10 +22,10 @@ - - - - + + + + @@ -62,10 +62,7 @@ - ${rgba} ${rgba} - ${rgba} - ${rgba} diff --git a/gym_ignition_data/CartPole/model.config b/gym_ignition_data/CartPole/model.config index 4c8c8f32d..7d7658be9 100644 --- a/gym_ignition_data/CartPole/model.config +++ b/gym_ignition_data/CartPole/model.config @@ -1,9 +1,9 @@ - CartPole World for Ignition + CartPole 1.0 - CartPole.sdf + CartPole.urdf Diego Ferigo @@ -11,6 +11,6 @@ - World for the CartPole. + SDF model of a simple cartpole. diff --git a/gym_ignition_data/Pendulum/Pendulum.sdf b/gym_ignition_data/Pendulum/Pendulum.sdf deleted file mode 100644 index e1d4538eb..000000000 --- a/gym_ignition_data/Pendulum/Pendulum.sdf +++ /dev/null @@ -1,117 +0,0 @@ - - - - 0 0 0 0 -0 0 - - 0 0 0.3 0 -0 0 - 1000 - - 30.8333 - 0 - 0 - 30.2083 - 0 - 1.04167 - - - - 0 0 0.3 0 -0 0 - - - 0.05 0.1 0.6 - - - - - 0 0 0.3 0 -0 0 - - - 0.05 0.1 0.6 - - - - - - 0.035 0 0.57 0 -0 0 - - 0 0 0.25 0 -0 0 - 1 - - 0.0208583 - 0 - 0 - 0.0208583 - 0 - 5e-05 - - - - 0 0 0.25 0 -0 0 - - - 0.5 - 0.01 - - - - - - - - - - - - - 0 0 0.25 0 -0 0 - - - 0.5 - 0.01 - - - - 1 0 0 0.8 - 1 0 0 0.8 - 1 0 0 0.8 - 1 0 0 0.8 - - - - 0 0 0 3.14159 1.57079 3.14159 - - - 0.02 - 0.03 - - - - 1 0 0 0.8 - 1 0 0 0.8 - 1 0 0 0.8 - 1 0 0 0.8 - - - 1 - - - - pendulum - support - - 1 0 0 - - -1e+16 - 1e+16 - - - 0 - 0 - 0 - 0 - - 0 - - - - diff --git a/gym_ignition_data/Pendulum/Pendulum.urdf b/gym_ignition_data/Pendulum/Pendulum.urdf index a2b713a3b..13677d316 100644 --- a/gym_ignition_data/Pendulum/Pendulum.urdf +++ b/gym_ignition_data/Pendulum/Pendulum.urdf @@ -3,27 +3,21 @@ - + - 1 0 0 0.8 - 1 0 0 0.8 - 1 0 0 0.8 - 1 0 0 0.8 + 1 0 0 1 - 0.2 0.2 0.2 0.8 - 0.2 0.2 0.2 0.8 - 0.2 0.2 0.2 0.8 - 0.2 0.2 0.2 0.8 + 0.2 0.2 0.2 1 @@ -42,7 +36,7 @@ - + @@ -64,7 +58,7 @@ - + @@ -73,7 +67,7 @@ - + diff --git a/gym_ignition_data/Pendulum/Pendulum.urdf.xacro b/gym_ignition_data/Pendulum/Pendulum.urdf.xacro index eb84625e2..e730f744f 100644 --- a/gym_ignition_data/Pendulum/Pendulum.urdf.xacro +++ b/gym_ignition_data/Pendulum/Pendulum.urdf.xacro @@ -12,10 +12,10 @@ - - - - + + + + @@ -56,10 +56,7 @@ - ${rgba} ${rgba} - ${rgba} - ${rgba} diff --git a/gym_ignition_data/Pendulum/model.config b/gym_ignition_data/Pendulum/model.config index 13b88011c..6eff1b533 100644 --- a/gym_ignition_data/Pendulum/model.config +++ b/gym_ignition_data/Pendulum/model.config @@ -1,9 +1,9 @@ - Pendulum model for Ignition Gazebo + Pendulum 1.0 - Pendulum.sdf + Pendulum.urdf Diego Ferigo @@ -11,6 +11,6 @@ - SDF model of a simple Pendulum. + SDF model of a simple pendulum. diff --git a/gym_ignition_data/iCubGazebo/model.config b/gym_ignition_data/iCubGazebo/model.config index 26b42c143..24e376e06 100644 --- a/gym_ignition_data/iCubGazebo/model.config +++ b/gym_ignition_data/iCubGazebo/model.config @@ -1,6 +1,6 @@ - Gympp icub-gazebo + icub-gazebo 1.0 icub.sdf diff --git a/gym_ignition_data/iCubGazeboV2_5/iCubGazeboV2_5.sdf b/gym_ignition_data/iCubGazeboV2_5/iCubGazeboV2_5.sdf index 0e04c290d..2dd0b07f9 100644 --- a/gym_ignition_data/iCubGazeboV2_5/iCubGazeboV2_5.sdf +++ b/gym_ignition_data/iCubGazeboV2_5/iCubGazeboV2_5.sdf @@ -2,9 +2,9 @@ - 0 0 0 0 -0 0 + 0 0 0 0 -0 0 - 0.024882 0.000104 -0.044081 0 -0 0 + 0.024882 0.000104 -0.044081 0 -0 0 5.09143 0.0249124 @@ -16,7 +16,7 @@ - -0.0364 0 0.032 1.5708 0 -1.5708 + -0.0364 0 0.032 1.5708 0 -1.5708 0.001 0.001 0.001 @@ -33,39 +33,23 @@ - -0.0364 0 0.032 1.5708 0 -1.5708 + -0.0364 0 0.032 1.5708 0 -1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_root_link_prt-binary.stl - + + 1 1 1 1 + - - 1 - 100 - - 0 0 0 0 -0 0 - - 1 - - - 1 - 100 - 0 0 0 0 -0 0 - - 0.006452 -0.026 -0.119913 0 -0 3.14159 + 0.006452 -0.026 -0.119913 0 -0 3.14159 - -0.000511 0.038092 -8.3e-05 1.5708 -0 1.5708 + -0.000511 0.038092 -8.3e-05 1.5708 -0 1.5708 0.919725 0.000404539 @@ -77,7 +61,7 @@ - 0.042852 -0.026 0.151913 1.5708 -0 1.5708 + 0.042852 -0.026 0.151913 1.5708 -0 1.5708 0.001 0.001 0.001 @@ -86,20 +70,23 @@ - 0.042852 -0.026 0.151913 1.5708 -0 1.5708 + 0.042852 -0.026 0.151913 1.5708 -0 1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_hip_1_prt-binary.stl + + 1 1 1 1 + l_hip_1 base_link - 0 1 0 + -0 -1 0 -0.785398 2.33874 @@ -112,7 +99,7 @@ 0 0 - 1 + 0 @@ -126,9 +113,9 @@ - 0.006452 -0.0701 -0.119913 0 -0 3.14159 + 0.006452 -0.0701 -0.119913 0 -0 3.14159 - -0.001576 -1.9e-05 -0.044053 1.5708 -0 1.5708 + -0.001576 -1.9e-05 -0.044053 1.5708 -0 1.5708 0.421106 0.000494284 @@ -140,7 +127,7 @@ - 0.042852 -0.0701 0.151913 1.5708 -0 1.5708 + 0.042852 -0.0701 0.151913 1.5708 -0 1.5708 0.001 0.001 0.001 @@ -149,20 +136,23 @@ - 0.042852 -0.0701 0.151913 1.5708 -0 1.5708 + 0.042852 -0.0701 0.151913 1.5708 -0 1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_hip_2_prt-binary.stl + + 1 1 1 1 + l_hip_2 l_hip_1 - -1 0 0 + 1 0 0 -0.349066 2.0944 @@ -175,7 +165,7 @@ 0 0 - 1 + 0 @@ -189,9 +179,9 @@ - 0.007309 -0.0701 -0.194213 -3.14159 -0 3.14159 + 0.007309 -0.0701 -0.194213 -3.14159 -0 3.14159 - -0.000123 -0.000282 0.008718 -1.5708 -0 -1.5708 + -0.000123 -0.000282 0.008718 -1.5708 -0 -1.5708 0.126212 0.01 @@ -203,7 +193,7 @@ - 0.043709 0.0701 -0.226213 -1.5708 -0 -1.5708 + 0.043709 0.0701 -0.226213 -1.5708 -0 -1.5708 0.001 0.001 0.001 @@ -212,13 +202,16 @@ - 0.043709 0.0701 -0.226213 -1.5708 -0 -1.5708 + 0.043709 0.0701 -0.226213 -1.5708 -0 -1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_upper_thigh_prt-binary.stl + + 1 1 1 1 + @@ -235,8 +228,8 @@ 0 0 - 1 0 0 1 + 0 @@ -246,22 +239,11 @@ - - 1 - 100 - - child - child_to_parent - - - file://iCub/conf/FT/gazebo_icub_left_leg_ft.ini - - - 0.007309 -0.0701 -0.208613 0 -0 3.14159 + 0.007309 -0.0701 -0.208613 0 -0 3.14159 - 0.003387 0.000102 -0.078916 1.5708 -0 1.5708 + 0.003387 0.000102 -0.078916 1.5708 -0 1.5708 1.8084 0.00648513 @@ -273,7 +255,7 @@ - 0.043709 -0.0701 0.240813 1.5708 -0 1.5708 + 0.043709 -0.0701 0.240813 1.5708 -0 1.5708 0.001 0.001 0.001 @@ -290,102 +272,23 @@ - 0.043709 -0.0701 0.240813 1.5708 -0 1.5708 + 0.043709 -0.0701 0.240813 1.5708 -0 1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_thigh_prt-binary.stl - + + 1 1 1 1 + - - - 1 - 100 - -0.012577 -0.040407 -0.083407 1.5708 1.5708 0 - - - - - 1 - 100 - -0.012575 0.040407 -0.040227 -1.5708 -1.5708 0 - - - - - 1 - 100 - -0.013081 -0.040407 -0.087979 1.5708 1.5708 0 - - - - 1 - 100 - -0.013079 0.040407 -0.035655 -1.5708 -1.5708 0 - - - - 1 - 100 - 0.042002 0.031565 0.049132 -1.5708 -1.57068 -0.733039 - - - - - 1 - 100 - 0.053521 0.007766 0.039252 -1.5708 -1.57068 -1.309 - - - - - 1 - 100 - 0.053785 0.015071 0.004182 -3.14159 -1.5708 0 - - - - - 1 - 100 - 0.053785 -0.014429 0.004182 -3.14159 -1.5708 0 - - - - - 1 - 100 - 0.034129 -0.0415 -0.004858 1.95477 -1.5708 0 - - - - - 1 - 100 - -0.043785 0.017811 -0.026411 -1.5708 1.57077 1.5708 - - - 1 - - - 1 - 100 - -0.043785 -0.014192 -0.026411 1.5708 1.57065 -1.5708 - - l_upper_leg l_hip_3 - -0 -0 1 + 0 0 1 -1.39626 1.39626 @@ -398,7 +301,7 @@ 0 0 - 1 + 0 @@ -412,9 +315,9 @@ - 0.007309 -0.0701 -0.354438 0 -0 3.14159 + 0.007309 -0.0701 -0.354438 0 -0 3.14159 - 0.001 0.003497 -0.088567 1.5708 -0 1.5708 + 0.001 0.003497 -0.088567 1.5708 -0 1.5708 1.4724 0.00423699 @@ -426,7 +329,7 @@ - 0.043709 -0.0701 0.386638 1.5708 -0 1.5708 + 0.043709 -0.0701 0.386638 1.5708 -0 1.5708 0.001 0.001 0.001 @@ -443,68 +346,24 @@ - 0.043709 -0.0701 0.386638 1.5708 -0 1.5708 + 0.043709 -0.0701 0.386638 1.5708 -0 1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_shank_prt-binary.stl - + + 1 1 1 1 + - - 1 - 100 - 0.043514 0.011315 -0.092765 3.14159 -1.35263 -0 - - - - - 1 - 100 - 0.044503 0.011819 -0.088301 3.14159 -1.35263 -0 - - - - 1 - 100 - 0.053133 0.017184 -0.004318 -2.89725 -1.5708 0 - - - - - 1 - 100 - 0.054452 -0.013799 -0.004318 -1.5708 -1.57068 -1.91986 - - - - - 1 - 100 - 0.025915 0.042744 -0.043468 -1.57079 -1.57068 -0.261802 - - - 1 - - - 1 - 100 - 0.018459 -0.041719 -0.092958 1.57079 -1.57077 0.2618 - - l_lower_leg l_upper_leg - 0 1 0 + -0 -1 0 -2.16421 0.0698132 @@ -517,7 +376,7 @@ 0 0 - 1 + 0 @@ -531,9 +390,9 @@ - 0.007309 -0.0701 -0.554938 0 -0 3.14159 + 0.007309 -0.0701 -0.554938 0 -0 3.14159 - 0.015153 0.000902 4.2e-05 1.5708 -0 1.5708 + 0.015153 0.000902 4.2e-05 1.5708 -0 1.5708 0.6798 0.000404474 @@ -545,7 +404,7 @@ - 0.043709 -0.0701 0.587138 1.5708 -0 1.5708 + 0.043709 -0.0701 0.587138 1.5708 -0 1.5708 0.001 0.001 0.001 @@ -554,20 +413,23 @@ - 0.043709 -0.0701 0.587138 1.5708 -0 1.5708 + 0.043709 -0.0701 0.587138 1.5708 -0 1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_ankle_prt-binary.stl + + 1 1 1 1 + l_ankle_1 l_lower_leg - -0 -1 -0 + 0 1 0 -0.610865 0.610865 @@ -580,7 +442,7 @@ 0 0 - 1 + 0 @@ -594,9 +456,9 @@ - 0.007309 -0.0701 -0.554938 0 -0 3.14159 + 0.007309 -0.0701 -0.554938 0 -0 3.14159 - 0.000767 -8e-06 -0.038202 1.5708 -0 1.5708 + 0.000767 -8e-06 -0.038202 1.5708 -0 1.5708 0.267485 0.01 @@ -608,7 +470,7 @@ - 0.043709 -0.0701 0.587138 1.5708 -0 1.5708 + 0.043709 -0.0701 0.587138 1.5708 -0 1.5708 0.001 0.001 0.001 @@ -617,20 +479,23 @@ - 0.043709 -0.0701 0.587138 1.5708 -0 1.5708 + 0.043709 -0.0701 0.587138 1.5708 -0 1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_foot_prt-binary.stl + + 1 1 1 1 + l_ankle_2 l_ankle_1 - -1 0 0 + 1 0 0 -0.436332 0.436332 @@ -643,7 +508,7 @@ 0 0 - 1 + 0 @@ -657,9 +522,9 @@ - 0.010809 -0.0701 -0.615438 -3.14159 -0 3.14159 + 0.010809 -0.0701 -0.615438 -3.14159 -0 3.14159 - 0.033667 -0.005374 -0.001164 -1.5708 -0 -1.5708 + 0.033667 -0.005374 -0.001164 -1.5708 -0 -1.5708 0.382968 0.00121242 @@ -671,7 +536,7 @@ - 0.03 -0.005 0.014 0 -0 0 + 0.03 -0.005 0.014 0 -0 0 0.16 0.072 0.001 @@ -701,36 +566,19 @@ 4 - 0.047209 0.0701 -0.647438 -1.5708 -0 -1.5708 + 0.047209 0.0701 -0.647438 -1.5708 -0 -1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_sole_prt-binary.stl - + + 1 1 1 1 + - - 1 - 100 - 0.105527 0.000812 -0.001215 0 -0 1.5708 - - - 1 - - - 1 - 100 - 0.080527 0.011812 -0.001215 0 -0 1.5708 - - l_foot @@ -746,8 +594,8 @@ 0 0 - 1 0 0 1 + 0 @@ -757,22 +605,11 @@ - - 1 - 100 - - child - child_to_parent - - - file://iCub/conf/FT/gazebo_icub_left_foot_ft.ini - - - 0.006452 0.026 -0.119913 0 -0 3.14159 + 0.006452 0.026 -0.119913 0 -0 3.14159 - -0.000515 -0.038075 -7.1e-05 1.5708 -0 1.5708 + -0.000515 -0.038075 -7.1e-05 1.5708 -0 1.5708 0.919978 0.000404268 @@ -784,7 +621,7 @@ - 0.042852 0.026 0.151913 1.5708 -0 1.5708 + 0.042852 0.026 0.151913 1.5708 -0 1.5708 0.001 0.001 0.001 @@ -793,20 +630,23 @@ - 0.042852 0.026 0.151913 1.5708 -0 1.5708 + 0.042852 0.026 0.151913 1.5708 -0 1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_hip_1_prt-binary.stl + + 1 1 1 1 + r_hip_1 base_link - 0 1 0 + -0 -1 0 -0.785398 2.33874 @@ -819,7 +659,7 @@ 0 0 - 1 + 0 @@ -833,9 +673,9 @@ - 0.006452 0.0701 -0.119913 0 -0 3.14159 + 0.006452 0.0701 -0.119913 0 -0 3.14159 - -0.001375 4e-06 -0.044282 1.5708 -0 1.5708 + -0.001375 4e-06 -0.044282 1.5708 -0 1.5708 0.418361 0.000487866 @@ -847,7 +687,7 @@ - 0.042852 0.0701 0.151913 1.5708 -0 1.5708 + 0.042852 0.0701 0.151913 1.5708 -0 1.5708 0.001 0.001 0.001 @@ -856,20 +696,23 @@ - 0.042852 0.0701 0.151913 1.5708 -0 1.5708 + 0.042852 0.0701 0.151913 1.5708 -0 1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_hip_2_prt-binary.stl + + 1 1 1 1 + r_hip_2 r_hip_1 - 1 -0 -0 + -1 0 -0 -0.349066 2.0944 @@ -882,7 +725,7 @@ 0 0 - 1 + 0 @@ -896,9 +739,9 @@ - 0.007309 0.0701 -0.194213 -3.14159 -0 3.14159 + 0.007309 0.0701 -0.194213 -3.14159 -0 3.14159 - -0.000123 -0.000282 0.008718 -1.5708 -0 -1.5708 + -0.000123 -0.000282 0.008718 -1.5708 -0 -1.5708 0.126212 0.01 @@ -910,7 +753,7 @@ - 0.043709 -0.0701 -0.226213 -1.5708 -0 -1.5708 + 0.043709 -0.0701 -0.226213 -1.5708 -0 -1.5708 0.001 0.001 0.001 @@ -919,13 +762,16 @@ - 0.043709 -0.0701 -0.226213 -1.5708 -0 -1.5708 + 0.043709 -0.0701 -0.226213 -1.5708 -0 -1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_upper_thigh_prt-binary.stl + + 1 1 1 1 + @@ -942,8 +788,8 @@ 0 0 - 1 0 0 1 + 0 @@ -953,22 +799,11 @@ - - 1 - 100 - - child - child_to_parent - - - file://iCub/conf/FT/gazebo_icub_right_leg_ft.ini - - - 0.007309 0.0701 -0.208613 0 -0 3.14159 + 0.007309 0.0701 -0.208613 0 -0 3.14159 - 0.0034 -2.9e-05 -0.078954 1.5708 -0 1.5708 + 0.0034 -2.9e-05 -0.078954 1.5708 -0 1.5708 1.8035 0.00647751 @@ -980,7 +815,7 @@ - 0.043709 0.0701 0.240813 1.5708 -0 1.5708 + 0.043709 0.0701 0.240813 1.5708 -0 1.5708 0.001 0.001 0.001 @@ -997,102 +832,24 @@ - 0.043709 0.0701 0.240813 1.5708 -0 1.5708 + 0.043709 0.0701 0.240813 1.5708 -0 1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_thigh_prt-binary.stl - + + 1 1 1 1 + - - 1 - 100 - -0.012575 0.040407 -0.040227 1.5708 1.5708 0 - - - - - 1 - 100 - -0.012577 -0.040407 -0.083407 1.5708 1.5708 0 - - - - - 1 - 100 - -0.013079 0.040407 -0.035655 1.5708 1.5708 0 - - - - 1 - 100 - -0.013081 -0.040407 -0.087979 1.5708 1.5708 0 - - - - 1 - 100 - 0.043589 -0.030195 0.04894 2.52671 -1.57045 -0.222874 - - - - - 1 - 100 - 0.053947 -0.006407 0.039056 -3.1294 -1.57038 -0.27399 - - - - - 1 - 100 - 0.053831 -0.013021 0.003986 -2.87731 -1.57035 -0.264282 - - - - - 1 - 100 - 0.032272 0.042268 -0.005045 -1.87391 -1.57026 -0.080859 - - - - - 1 - 100 - 0.053831 0.016479 0.003986 -2.87731 -1.57035 -0.264282 - - - - - 1 - 100 - -0.043752 -0.015759 -0.026565 0 1.57037 3.14159 - - - 1 - - - 1 - 100 - -0.043752 0.016239 -0.026566 0.264253 1.57035 -2.87734 - - r_upper_leg r_hip_3 - 0 0 -1 + 0 -0 -1 -1.39626 1.39626 @@ -1105,7 +862,7 @@ 0 0 - 1 + 0 @@ -1119,9 +876,9 @@ - 0.007309 0.0701 -0.354438 0 -0 3.14159 + 0.007309 0.0701 -0.354438 0 -0 3.14159 - 0.001236 -0.003513 -0.088794 1.5708 -0 1.5708 + 0.001236 -0.003513 -0.088794 1.5708 -0 1.5708 1.472 0.00423993 @@ -1133,7 +890,7 @@ - 0.043709 0.0701 0.386638 1.5708 -0 1.5708 + 0.043709 0.0701 0.386638 1.5708 -0 1.5708 0.001 0.001 0.001 @@ -1150,68 +907,24 @@ - 0.043709 0.0701 0.386638 1.5708 -0 1.5708 + 0.043709 0.0701 0.386638 1.5708 -0 1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_shank_prt-binary.stl - + + 1 1 1 1 + - - 1 - 100 - 0.043514 0.01384 -0.092765 3.14159 -1.35263 -0 - - - - - 1 - 100 - 0.044503 0.014344 -0.088301 3.14159 -1.35263 -0 - - - - 1 - 100 - 0.053629 -0.015196 -0.004318 -1.5708 -1.57068 -1.81514 - - - - - 1 - 100 - 0.053752 0.015723 -0.004318 -1.5708 -1.57068 -1.22173 - - - - - 1 - 100 - 0.027895 -0.042214 -0.043468 1.8326 -1.5708 0 - - - 1 - - - 1 - 100 - 0.01648 0.042249 -0.092958 -1.57079 -1.57068 -0.261802 - - r_lower_leg r_upper_leg - 0 1 0 + -0 -1 0 -2.16421 0.0698132 @@ -1224,7 +937,7 @@ 0 0 - 1 + 0 @@ -1238,9 +951,9 @@ - 0.007309 0.0701 -0.554938 0 -0 3.14159 + 0.007309 0.0701 -0.554938 0 -0 3.14159 - 0.015144 -0.000869 4.2e-05 1.5708 -0 1.5708 + 0.015144 -0.000869 4.2e-05 1.5708 -0 1.5708 0.6803 0.000404619 @@ -1252,7 +965,7 @@ - 0.043709 0.0701 0.587138 1.5708 -0 1.5708 + 0.043709 0.0701 0.587138 1.5708 -0 1.5708 0.001 0.001 0.001 @@ -1261,20 +974,23 @@ - 0.043709 0.0701 0.587138 1.5708 -0 1.5708 + 0.043709 0.0701 0.587138 1.5708 -0 1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_ankle_prt-binary.stl + + 1 1 1 1 + r_ankle_1 r_lower_leg - -0 -1 -0 + 0 1 0 -0.610865 0.610865 @@ -1287,7 +1003,7 @@ 0 0 - 1 + 0 @@ -1301,9 +1017,9 @@ - 0.007309 0.0701 -0.554938 0 -0 3.14159 + 0.007309 0.0701 -0.554938 0 -0 3.14159 - 0.000767 -8e-06 -0.038202 1.5708 -0 1.5708 + 0.000767 -8e-06 -0.038202 1.5708 -0 1.5708 0.267485 0.01 @@ -1315,7 +1031,7 @@ - 0.043709 0.0701 0.587138 1.5708 -0 1.5708 + 0.043709 0.0701 0.587138 1.5708 -0 1.5708 0.001 0.001 0.001 @@ -1324,20 +1040,23 @@ - 0.043709 0.0701 0.587138 1.5708 -0 1.5708 + 0.043709 0.0701 0.587138 1.5708 -0 1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_foot_prt-binary.stl + + 1 1 1 1 + r_ankle_2 r_ankle_1 - 1 -0 -0 + -1 0 -0 -0.436332 0.436332 @@ -1350,7 +1069,7 @@ 0 0 - 1 + 0 @@ -1364,9 +1083,9 @@ - 0.010809 0.0701 -0.615438 -3.14159 -0 3.14159 + 0.010809 0.0701 -0.615438 -3.14159 -0 3.14159 - 0.0336 0.005372 -0.001147 -1.5708 -0 -1.5708 + 0.0336 0.005372 -0.001147 -1.5708 -0 -1.5708 0.382866 0.00120946 @@ -1378,7 +1097,7 @@ - 0.03 0.005 0.014 0 -0 0 + 0.03 0.005 0.014 0 -0 0 0.16 0.072 0.001 @@ -1408,36 +1127,19 @@ 4 - 0.047209 -0.0701 -0.647438 -1.5708 -0 -1.5708 + 0.047209 -0.0701 -0.647438 -1.5708 -0 -1.5708 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_sole_prt-binary.stl - + + 1 1 1 1 + - - 1 - 100 - 0.103479 -0.000812 -0.001215 0 0 -1.5708 - - - 1 - - - 1 - 100 - 0.078479 -0.011812 -0.001215 0 0 -1.5708 - - r_foot @@ -1453,8 +1155,8 @@ 0 0 - 1 0 0 1 + 0 @@ -1464,22 +1166,11 @@ - - 1 - 100 - - child - child_to_parent - - - file://iCub/conf/FT/gazebo_icub_right_foot_ft.ini - - - 0 0.027046 0 1.5708 0 -1.5708 + 0 0.027046 0 1.5708 0 -1.5708 - 0.027092 0.029148 -0.00044 0 -0 0 + 0.027092 0.029148 -0.00044 0 -0 0 0.67144 0.00040911 @@ -1491,7 +1182,7 @@ - 0.027046 0.032 0.0364 0 -0 0 + 0.027046 0.032 0.0364 0 -0 0 0.001 0.001 0.001 @@ -1500,20 +1191,23 @@ - 0.027046 0.032 0.0364 0 -0 0 + 0.027046 0.032 0.0364 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_lap_belt_1_prt-binary.stl + + 1 1 1 1 + torso_1 base_link - 0 -1 -0 + 1 0 0 -0.349066 1.22173 @@ -1526,7 +1220,7 @@ 0 0 - 1 + 0 @@ -1540,9 +1234,9 @@ - 0.057345 0 0.032 1.5708 0 -1.5708 + 0.057345 0 0.032 1.5708 0 -1.5708 - -0.000114 0.036153 0.057096 0 -0 0 + -0.000114 0.036153 0.057096 0 -0 0 0.425685 0.000829234 @@ -1554,7 +1248,7 @@ - 0 0.1433 0.038653 0 -0 0 + 0 0.1433 0.038653 0 -0 0 0.001 0.001 0.001 @@ -1563,20 +1257,23 @@ - 0 0.1433 0.038653 0 -0 0 + 0 0.1433 0.038653 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_lap_belt_2_prt-binary.stl + + 1 1 1 1 + torso_2 torso_1 - 1 0 -0 + 0 0 -1 -0.523599 0.523599 @@ -1589,7 +1286,7 @@ 0 0 - 1 + 0 @@ -1603,9 +1300,9 @@ - -0.005498 0 0.082 1.5708 0 -1.5708 + -0.005498 0 0.082 1.5708 0 -1.5708 - 0.000189 0.073091 -0.047238 0 -0 0 + 0.000189 0.073091 -0.047238 0 -0 0 7.638 0.0430325 @@ -1617,7 +1314,7 @@ - 0 0.0928 -0.024189 0 -0 0 + 0 0.0928 -0.024189 0 -0 0 0.001 0.001 0.001 @@ -1634,107 +1331,24 @@ - 0 0.0928 -0.024189 0 -0 0 + 0 0.0928 -0.024189 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_chest_bb_prt-binary.stl - + + 1 1 1 1 + - - 1 - 100 - 0.064786 0.064043 -0.064709 3.14152 -0.261799 0.000293 - - - - - 1 - 100 - 0.069202 0.064548 -0.063526 3.14152 -0.261799 0.000293 - - - - 1 - 100 - 0.020453 0.088063 -0.064165 3.14159 0.261799 3.14158 - - - - - 1 - 100 - 0.016037 0.087559 -0.065348 3.14159 0.261799 3.14158 - - - - 1 - 100 - -0.023059 0.064019 -0.075899 3.14111 0.261101 -0.000309 - - - - - 1 - 100 - -0.018642 0.064521 -0.077079 3.14111 0.261101 -0.000309 - - - - 1 - 100 - -0.062162 0.088063 -0.052989 -3.14159 -0.261799 3.14158 - - - - - 1 - 100 - -0.066578 0.087559 -0.051805 -3.14159 -0.261799 3.14158 - - - - 1 - 100 - -0.060754 -0.001784 0.044234 0.875168 0.116364 -1.48597 - - - - - 1 - 100 - -0.045705 -0.001846 0.056743 0.50096 0.107314 -1.47783 - - - - - 1 - 100 - 0.043904 -0.001784 0.057722 -0.50096 0.107315 -1.66376 - - - 1 - - - 1 - 100 - 0.059429 -0.001854 0.045798 -0.875168 0.116362 -1.65562 - - chest torso_2 - -0 0 -1 + 0 -1 0 -0.872665 0.872665 @@ -1747,7 +1361,7 @@ 0 0 - 1 + 0 @@ -1761,9 +1375,9 @@ - -0.013467 -0.120016 0.1748 1.5708 0 -1.5708 + -0.013467 -0.120016 0.1748 1.5708 0 -1.5708 - -0.008985 -3.3e-05 -0.0089 0 -0 0 + -0.008985 -3.3e-05 -0.0089 0 -0 0 0.114882 0.01 @@ -1775,7 +1389,7 @@ - -0.120257 0 -0.032223 0 -0 0 + -0.120257 0 -0.032223 0 -0 0 0.001 0.001 0.001 @@ -1784,20 +1398,23 @@ - -0.120257 0 -0.032223 0 -0 0 + -0.120257 0 -0.032223 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_shoulder_1_prt-binary.stl + + 1 1 1 1 + l_shoulder_1 chest - -0.258819 -0.965926 0 + 0.965926 0 0.258819 -1.66679 0.174533 @@ -1810,7 +1427,7 @@ 0 0 - 1 + 0 @@ -1824,9 +1441,9 @@ - -0.021987 -0.106345 0.1748 -3.14159 1.309 -0.261799 + -0.021987 -0.106345 0.1748 -3.14159 1.309 -0.261799 - 0.021475 0.000269 -0.019411 0 -0 0 + 0.021475 0.000269 -0.019411 0 -0 0 0.238162 0.01 @@ -1838,7 +1455,7 @@ - -0.106587 0 -0.040743 0 -0 0 + -0.106587 0 -0.040743 0 -0 0 0.001 0.001 0.001 @@ -1847,20 +1464,23 @@ - -0.106587 0 -0.040743 0 -0 0 + -0.106587 0 -0.040743 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_shoulder_2_prt-binary.stl + + 1 1 1 1 + l_shoulder_2 l_shoulder_1 - -0.965926 0.258819 0 + -0.258819 0 0.965926 0 2.80649 @@ -1873,7 +1493,7 @@ 0 0 - 1 + 0 @@ -1887,9 +1507,9 @@ - -0.01062 -0.109391 0.151746 -3.14159 1.309 0 + -0.01062 -0.109391 0.151746 -3.14159 1.309 0 - 0.026798 -1.6e-05 0.014696 0 -0 0 + 0.026798 -1.6e-05 0.014696 0 -0 0 0.35913 0.01 @@ -1901,7 +1521,7 @@ - -0.131901 0 -0.035343 0 -0 0 + -0.131901 0 -0.035343 0 -0 0 0.001 0.001 0.001 @@ -1910,20 +1530,23 @@ - -0.131901 0 -0.035343 0 -0 0 + -0.131901 0 -0.035343 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_upper_arm_prt-binary.stl + + 1 1 1 1 + l_shoulder_3 l_shoulder_2 - -0 0 -1 + 0.965926 0 0.258819 -0.645772 1.39626 @@ -1936,7 +1559,7 @@ 0 0 - 1 + 0 @@ -1950,9 +1573,9 @@ - -0.02562 -0.109391 0.095 3.14159 -0 -3.14159 + -0.02562 -0.109391 0.095 3.14159 -0 -3.14159 - -0.006121 -0.000189 0.029368 0 -1.309 3.14159 + -0.006121 -0.000189 0.029368 0 -1.309 3.14159 0.746799 0.000509731 @@ -1964,7 +1587,7 @@ - -0.015 0 -0.1933 0 -1.309 3.14159 + -0.015 0 -0.1933 0 -1.309 3.14159 0.001 0.001 0.001 @@ -1981,49 +1604,18 @@ - -0.015 0 -0.1933 0 -1.309 3.14159 + -0.015 0 -0.1933 0 -1.309 3.14159 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_elbow_prt-binary.stl - + + 1 1 1 1 + - - 1 - 100 - -0.043055 -0.028681 0.029528 -1.5708 -1.5705 2.68257 - - - - - 1 - 100 - -0.041218 -0.029589 0.07606 -1.5708 -1.5705 2.68257 - - - - - 1 - 100 - -0.041219 -0.029588 0.004992 -1.5708 -1.57078 2.68257 - - - 1 - - - 1 - 100 - 0.010593 -0.028351 -0.008691 -1.5708 0.000215 -2.47804 - - l_upper_arm @@ -2039,8 +1631,8 @@ 0 0 - 1 0 0 1 + 0 @@ -2050,22 +1642,11 @@ - - 1 - 100 - - child - child_to_parent - - - file://iCub/conf/FT/gazebo_icub_left_arm_ft.ini - - - -0.02562 -0.075391 0.01574 -3.14159 1.309 0 + -0.02562 -0.075391 0.01574 -3.14159 1.309 0 - 0.006739 0.030302 -0.004658 0 -0 0 + 0.006739 0.030302 -0.004658 0 -0 0 0.267903 0.01 @@ -2077,7 +1658,7 @@ - -0.25939 0.034 -0.085033 0 -0 0 + -0.25939 0.034 -0.085033 0 -0 0 0.001 0.001 0.001 @@ -2086,20 +1667,23 @@ - -0.25939 0.034 -0.085033 0 -0 0 + -0.25939 0.034 -0.085033 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_elbow_prosup_prt-binary.stl + + 1 1 1 1 + l_elbow_1 l_upper_arm - -0 1 0 + 0 -1 0 0.261799 1.85005 @@ -2112,7 +1696,7 @@ 0 0 - 1 + 0 @@ -2126,9 +1710,9 @@ - -0.01062 -0.109391 -0.02006 -3.14159 1.309 0 + -0.01062 -0.109391 -0.02006 -3.14159 1.309 0 - 0.040451 -0.000686 0.005324 0 -0 0 + 0.040451 -0.000686 0.005324 0 -0 0 0.636185 0.000371447 @@ -2140,7 +1724,7 @@ - -0.296887 0 -0.079551 0 -0 0 + -0.296887 0 -0.079551 0 -0 0 0.001 0.001 0.001 @@ -2157,48 +1741,23 @@ - -0.296887 0 -0.079551 0 -0 0 + -0.296887 0 -0.079551 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_forearm_prt-binary.stl - + + 1 1 1 1 + - - - 1 - 100 - 0.076873 -0.005483 -0.011048 0.261799 0.00037 -1.57033 - - - - - 1 - 100 - 0.051424 -0.018028 0.040751 -0.661144 0.147825 -3.04952 - - - 1 - - - 1 - 100 - 0.022099 0.025657 -0.015117 1.76682 0.2611 3.08752 - - l_forearm l_elbow_1 - -0 0 -1 + 0.965926 0 0.258819 -1.0472 1.0472 @@ -2211,7 +1770,7 @@ 0 0 - 1 + 0 @@ -2225,9 +1784,9 @@ - -0.00847 -0.109398 -0.12656 -3.14159 1.309 0 + -0.00847 -0.109398 -0.12656 -3.14159 1.309 0 - -0.000981 -0.001178 0.004083 0 -0 0 + -0.000981 -0.001178 0.004083 0 -0 0 0.0362152 0.01 @@ -2239,7 +1798,7 @@ - -0.400315 -7e-06 -0.105038 0 -0 0 + -0.400315 -7e-06 -0.105038 0 -0 0 0.001 0.001 0.001 @@ -2248,20 +1807,23 @@ - -0.400315 -7e-06 -0.105038 0 -0 0 + -0.400315 -7e-06 -0.105038 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_wrist_pitch_prt-binary.stl + + 1 1 1 1 + l_wrist_1 l_forearm - 1 0 -0 + 0.258819 0 -0.965926 -1.39626 0.436332 @@ -2274,7 +1836,7 @@ 0 0 - 1 + 0 @@ -2288,9 +1850,9 @@ - -0.01092 -0.089898 -0.12656 -3.14159 1.309 0 + -0.01092 -0.089898 -0.12656 -3.14159 1.309 0 - 0.064768 0.00563 0.02266 0 -0 0 + 0.064768 0.00563 0.02266 0 -0 0 0.247806 0.01 @@ -2302,7 +1864,7 @@ - -0.39968 0.019493 -0.107405 0 -0 0 + -0.39968 0.019493 -0.107405 0 -0 0 0.001 0.001 0.001 @@ -2311,20 +1873,23 @@ - -0.39968 0.019493 -0.107405 0 -0 0 + -0.39968 0.019493 -0.107405 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_l_hand_prt-binary.stl + + 1 1 1 1 + l_hand l_wrist_1 - 0 -1 -0 + -0 1 0 -0.349066 0.436332 @@ -2337,7 +1902,7 @@ 0 0 - 1 + 0 @@ -2351,9 +1916,9 @@ - -0.010809 0.0143 0.254797 1.5708 0 -1.5708 + -0.010809 0.0143 0.254797 1.5708 0 -1.5708 - 0.014371 0.006567 -0.006384 0 -0 0 + 0.014371 0.006567 -0.006384 0 -0 0 0.125793 0.01 @@ -2365,7 +1930,7 @@ - 0.0143 -0.079997 -0.029501 0 -0 0 + 0.0143 -0.079997 -0.029501 0 -0 0 0.001 0.001 0.001 @@ -2374,20 +1939,23 @@ - 0.0143 -0.079997 -0.029501 0 -0 0 + 0.0143 -0.079997 -0.029501 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_neck_1_prt-binary.stl + + 1 1 1 1 + neck_1 chest - -0 1 0 + -1 0 0 -0.698132 0.383972 @@ -2400,7 +1968,7 @@ 0 0 - 1 + 0 @@ -2414,9 +1982,9 @@ - -0.031609 0 0.264297 1.5708 0 -1.5708 + -0.031609 0 0.264297 1.5708 0 -1.5708 - -8.9e-05 0.035225 -0.019545 0 -0 0 + -8.9e-05 0.035225 -0.019545 0 -0 0 0.177087 0.01 @@ -2428,7 +1996,7 @@ - 0 -0.089497 -0.050301 0 -0 0 + 0 -0.089497 -0.050301 0 -0 0 0.001 0.001 0.001 @@ -2437,20 +2005,23 @@ - 0 -0.089497 -0.050301 0 -0 0 + 0 -0.089497 -0.050301 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_neck_2_prt-binary.stl + + 1 1 1 1 + neck_2 neck_1 - -1 -0 0 + 0 0 1 -0.349066 0.349066 @@ -2463,7 +2034,7 @@ 0 0 - 1 + 0 @@ -2477,9 +2048,9 @@ - -0.010809 0 0.241953 1.5708 0 -1.5708 + -0.010809 0 0.241953 1.5708 0 -1.5708 - -0.000574 0.113511 -0.007539 0 -0 0 + -0.000574 0.113511 -0.007539 0 -0 0 1.50691 0.00680478 @@ -2491,7 +2062,7 @@ - 0 -0.067153 -0.029501 0 -0 0 + 0 -0.067153 -0.029501 0 -0 0 0.001 0.001 0.001 @@ -2508,36 +2079,25 @@ - 0 -0.067153 -0.029501 0 -0 0 + 0 -0.067153 -0.029501 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_head_prt-binary.stl - + + 1 1 1 1 + 1 - - 1 - 100 - 0.0095 0.133444 0.0093 -1.5708 1.5708 0 - - file://iCub/conf/gazebo_icub_inertial.ini - - head neck_2 - 0 -0 1 + 0 1 0 -0.872665 0.872665 @@ -2550,7 +2110,7 @@ 0 0 - 1 + 0 @@ -2564,9 +2124,9 @@ - -0.013467 0.120016 0.1748 -1.5708 -0 2.0944 + -0.013467 0.120016 0.1748 -1.5708 0 2.0944 - -0.012266 3.2e-05 -0.003211 0 -0 0 + -0.012266 3.2e-05 -0.003211 0 -0 0 0.114862 0.01 @@ -2578,7 +2138,7 @@ - 0.099008 0 -0.026529 0 -0 0 + 0.099008 0 -0.026529 0 -0 0 0.001 0.001 0.001 @@ -2587,20 +2147,23 @@ - 0.099008 0 -0.026529 0 -0 0 + 0.099008 0 -0.026529 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_shoulder_1_prt-binary.stl + + 1 1 1 1 + r_shoulder_1 chest - 0.258819 -0.965926 -0 + -0.965926 0 0.258819 -1.66679 0.174533 @@ -2613,7 +2176,7 @@ 0 0 - 1 + 0 @@ -2627,9 +2190,9 @@ - -0.021983 0.106346 0.1748 -3.14159 -1.309 -2.87979 + -0.021983 0.106346 0.1748 -3.14159 -1.309 -2.87979 - -0.021414 0.000272 -0.01944 0 -0 0 + -0.021414 0.000272 -0.01944 0 -0 0 0.238162 0.01 @@ -2641,7 +2204,7 @@ - 0.106588 0 -0.040739 0 -0 0 + 0.106588 0 -0.040739 0 -0 0 0.001 0.001 0.001 @@ -2650,20 +2213,23 @@ - 0.106588 0 -0.040739 0 -0 0 + 0.106588 0 -0.040739 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_shoulder_2_prt-binary.stl + + 1 1 1 1 + r_shoulder_2 r_shoulder_1 - 0.965926 0.258819 -0 + -0.258819 -0 -0.965926 0 2.80649 @@ -2676,7 +2242,7 @@ 0 0 - 1 + 0 @@ -2690,9 +2256,9 @@ - -0.01062 0.109391 0.151712 -3.14159 -1.309 -3.14159 + -0.01062 0.109391 0.151712 -3.14159 -1.309 -3.14159 - -0.026762 -7e-06 0.0147 0 -0 0 + -0.026762 -7e-06 0.0147 0 -0 0 0.35913 0.01 @@ -2704,7 +2270,7 @@ - 0.131934 0 -0.035352 0 -0 0 + 0.131934 0 -0.035352 0 -0 0 0.001 0.001 0.001 @@ -2713,20 +2279,23 @@ - 0.131934 0 -0.035352 0 -0 0 + 0.131934 0 -0.035352 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_upper_arm_prt-binary.stl + + 1 1 1 1 + r_shoulder_3 r_shoulder_2 - 0 0 1 + 0.965926 -0 -0.258819 -0.645772 1.39626 @@ -2739,7 +2308,7 @@ 0 0 - 1 + 0 @@ -2753,9 +2322,9 @@ - -0.02562 0.109391 0.095 -3.14159 -0 -3.14159 + -0.02562 0.109391 0.095 -3.14159 -0 -3.14159 - -0.006087 0.000126 0.029312 0 1.309 0 + -0.006087 0.000126 0.029312 0 1.309 0 0.745104 0.000509527 @@ -2767,7 +2336,7 @@ - -0.015 0 -0.1933 0 1.309 0 + -0.015 0 -0.1933 0 1.309 0 0.001 0.001 0.001 @@ -2784,49 +2353,17 @@ - -0.015 0 -0.1933 0 1.309 0 + -0.015 0 -0.1933 0 1.309 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_elbow_prt-binary.stl - + + 1 1 1 1 + - - - 1 - 100 - -0.041219 0.029588 0.029528 1.57079 1.57078 -2.68257 - - - - - 1 - 100 - -0.043057 0.02868 0.07606 -1.5708 -1.5705 0.459022 - - - - - 1 - 100 - -0.043055 0.028681 0.004992 -1.11177 -1.5708 0 - - - 1 - - - 1 - 100 - 0.010593 0.02835 -0.010738 1.5708 -0.000215 2.47804 - - r_upper_arm @@ -2842,8 +2379,8 @@ 0 0 - 1 0 0 1 + 0 @@ -2853,22 +2390,11 @@ - - 1 - 100 - - child - child_to_parent - - - file://iCub/conf/FT/gazebo_icub_right_arm_ft.ini - - - -0.02562 0.086891 0.01574 -3.14159 -1.309 -3.14159 + -0.02562 0.086891 0.01574 -3.14159 -1.309 -3.14159 - -0.006739 0.018802 -0.004658 0 -0 0 + -0.006739 0.018802 -0.004658 0 -0 0 0.267903 0.01 @@ -2880,7 +2406,7 @@ - 0.25939 0.0225 -0.085033 0 -0 0 + 0.25939 0.0225 -0.085033 0 -0 0 0.001 0.001 0.001 @@ -2889,20 +2415,23 @@ - 0.25939 0.0225 -0.085033 0 -0 0 + 0.25939 0.0225 -0.085033 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_elbow_prosup_prt-binary.stl + + 1 1 1 1 + r_elbow_1 r_upper_arm - -0 1 -0 + 0 1 0 0.261799 1.85005 @@ -2915,7 +2444,7 @@ 0 0 - 1 + 0 @@ -2929,9 +2458,9 @@ - -0.01062 0.109391 -0.02006 -3.14159 -1.309 -3.14159 + -0.01062 0.109391 -0.02006 -3.14159 -1.309 -3.14159 - -0.040439 -0.000328 0.005327 0 -0 0 + -0.040439 -0.000328 0.005327 0 -0 0 0.6347 0.000370044 @@ -2943,7 +2472,7 @@ - 0.296887 0 -0.079551 0 -0 0 + 0.296887 0 -0.079551 0 -0 0 0.001 0.001 0.001 @@ -2960,48 +2489,24 @@ - 0.296887 0 -0.079551 0 -0 0 + 0.296887 0 -0.079551 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_forearm_prt-binary.stl - + + 1 1 1 1 + - - 1 - 100 - -0.076873 0.005497 -0.011048 0.261799 0.00037 1.57126 - - - - - 1 - 100 - -0.051419 0.015786 0.040752 -0.661144 0.147825 0.09207 - - - 1 - - - 1 - 100 - -0.021638 0.027924 -0.013249 -1.76683 0.261191 0.054048 - - r_forearm r_elbow_1 - 0 0 1 + 0.965926 -0 -0.258819 -1.0472 1.0472 @@ -3014,7 +2519,7 @@ 0 0 - 1 + 0 @@ -3028,9 +2533,9 @@ - -0.00817 0.109398 -0.12656 -3.14159 -1.309 -3.14159 + -0.00817 0.109398 -0.12656 -3.14159 -1.309 -3.14159 - 0.000986 -0.001176 0.004101 0 -0 0 + 0.000986 -0.001176 0.004101 0 -0 0 0.0362615 0.01 @@ -3042,7 +2547,7 @@ - 0.400392 -7e-06 -0.104748 0 -0 0 + 0.400392 -7e-06 -0.104748 0 -0 0 0.001 0.001 0.001 @@ -3051,20 +2556,23 @@ - 0.400392 -7e-06 -0.104748 0 -0 0 + 0.400392 -7e-06 -0.104748 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_wrist_pitch_prt-binary.stl + + 1 1 1 1 + r_wrist_1 r_forearm - -1 -0 0 + 0.258819 0 0.965926 -1.39626 0.436332 @@ -3077,7 +2585,7 @@ 0 0 - 1 + 0 @@ -3091,9 +2599,9 @@ - -0.01062 0.089898 -0.12656 -3.14159 -1.309 -3.14159 + -0.01062 0.089898 -0.12656 -3.14159 -1.309 -3.14159 - -0.064668 0.0056 0.022681 0 -0 0 + -0.064668 0.0056 0.022681 0 -0 0 0.248289 0.01 @@ -3105,7 +2613,7 @@ - 0.399758 0.019493 -0.107115 0 -0 0 + 0.399758 0.019493 -0.107115 0 -0 0 0.001 0.001 0.001 @@ -3114,20 +2622,23 @@ - 0.399758 0.019493 -0.107115 0 -0 0 + 0.399758 0.019493 -0.107115 0 -0 0 0.001 0.001 0.001 file://iCub/meshes/simmechanics/sim_sea_2-5_r_hand_prt-binary.stl + + 1 1 1 1 + r_hand r_wrist_1 - -0 1 -0 + 0 1 0 -0.349066 0.436332 @@ -3140,7 +2651,7 @@ 0 0 - 1 + 0 @@ -3153,45 +2664,7 @@ - - file://iCub/conf/MTB/gazebo_icub_left_leg_mtb.ini - - - file://iCub/conf/MTB/gazebo_icub_right_leg_mtb.ini - - - file://iCub/conf/MTB/gazebo_icub_left_arm_mtb.ini - - - file://iCub/conf/MTB/gazebo_icub_right_arm_mtb.ini - - - file://iCub/conf/MTB/gazebo_icub_torso_mtb.ini - - - file://iCub/conf/gazebo_icub_torso.ini - - - file://iCub/conf/gazebo_icub_head_without_eyes.ini - - - file://iCub/conf/gazebo_icub_left_arm_no_hand_for_no_hand_model.ini - -0.52 0.52 0 0.785 0 0 0.0 - - - file://iCub/conf/gazebo_icub_right_arm_no_hand_for_no_hand_model.ini - -0.52 0.52 0 0.785 0 0 0.0 - - - file://iCub/conf/gazebo_icub_right_leg.ini - - - file://iCub/conf/gazebo_icub_left_leg.ini - - - file://iCub/conf/gazebo_icub_robotname.ini - 0 - 0 0 0.63 0 -0 3.14 + 0 0 0.63 0 -0 3.14 diff --git a/gym_ignition_data/iCubGazeboV2_5/model.config b/gym_ignition_data/iCubGazeboV2_5/model.config index 204ad26b6..6c13168c1 100644 --- a/gym_ignition_data/iCubGazeboV2_5/model.config +++ b/gym_ignition_data/iCubGazeboV2_5/model.config @@ -1,6 +1,6 @@ - iCub for Ignition + iCubGazeboV2_5 1.0 iCubGazeboV2_5.sdf diff --git a/gym_ignition_data/worlds/DefaultEmptyWorld.world b/gym_ignition_data/worlds/DefaultEmptyWorld.world index a1e07fc40..b24d261f5 100644 --- a/gym_ignition_data/worlds/DefaultEmptyWorld.world +++ b/gym_ignition_data/worlds/DefaultEmptyWorld.world @@ -25,8 +25,6 @@ name="gympp::plugins::ECMProvider"> - - @@ -39,7 +37,7 @@ scene 0.4 0.4 0.4 0.8 0.8 0.8 - 6 0 6 0 0.5 3.14 + -6 0 6 0 0.5 0 /world/default/scene/info /world/default/pose/info @@ -91,7 +89,7 @@ true - 0 0 10 0 0 0 + 10 0 3 0 0 0 0.8 0.8 0.8 1 0.2 0.2 0.2 1 @@ -100,7 +98,7 @@ 0.01 0.001 - -0.5 0.1 -0.9 + 0.75 0.075 -0.667 diff --git a/plugins/GymFactory/include/gympp/PluginDatabase.h b/plugins/GymFactory/include/gympp/PluginDatabase.h index 331704bb6..ca3213b0b 100644 --- a/plugins/GymFactory/include/gympp/PluginDatabase.h +++ b/plugins/GymFactory/include/gympp/PluginDatabase.h @@ -27,7 +27,7 @@ class GymppPluginRegistrator_CartPole cartPoleMetadata.setEnvironmentName("CartPole"); cartPoleMetadata.setLibraryName("CartPolePlugin"); cartPoleMetadata.setClassName("gympp::plugins::CartPole"); - cartPoleMetadata.setModelFileName("CartPole/CartPole.sdf"); + cartPoleMetadata.setModelFileName("CartPole/CartPole.urdf"); cartPoleMetadata.setWorldFileName("DefaultEmptyWorld.world"); gympp::SpaceMetadata actionSpaceMetadata; diff --git a/tests/python/test_bindings.py b/tests/python/test_bindings.py index 1665b1950..5e87bd983 100644 --- a/tests/python/test_bindings.py +++ b/tests/python/test_bindings.py @@ -189,7 +189,7 @@ def test_gymfactory(): md.setLibraryName("CartPolePlugin") md.setClassName("gympp::plugins::CartPole") md.setWorldFileName("DefaultEmptyWorld.world") - md.setModelFileName("CartPole/CartPole.sdf") + md.setModelFileName("CartPole/CartPole.urdf") md.setAgentRate(1000) md.setPhysicsData(bindings.PhysicsData(1.0, 0.001)) action_space_md = bindings.SpaceMetadata() diff --git a/tests/python/test_pendulum_wrt_ground_truth.py b/tests/python/test_pendulum_wrt_ground_truth.py index 7af26dadc..3b5666658 100644 --- a/tests/python/test_pendulum_wrt_ground_truth.py +++ b/tests/python/test_pendulum_wrt_ground_truth.py @@ -89,7 +89,7 @@ def theta_from_obs(observation: np.ndarray) -> float: max_episode_steps=1000, kwargs={'task_cls': PendulumSwingUp, 'robot_cls': gazebo.pendulum.PendulumGazeboRobot, - 'model': "Pendulum/Pendulum.sdf", + 'model': "Pendulum/Pendulum.urdf", 'world': "DefaultEmptyWorld.world", 'rtf': 100, 'agent_rate': 4000, diff --git a/tests/python/test_robot_base.py b/tests/python/test_robot_base.py index fbe74c6e2..b88aad56f 100644 --- a/tests/python/test_robot_base.py +++ b/tests/python/test_robot_base.py @@ -70,14 +70,15 @@ def get_simulator(simulator_name: str) -> Simulator: def get_robot(simulator: Simulator, **kwargs): if simulator.simulator_name == "gazebo": - return gazebo.pendulum.PendulumGazeboRobot(model_file="Pendulum/Pendulum.sdf", + return gazebo.pendulum.PendulumGazeboRobot(model_file="Pendulum/Pendulum.urdf", gazebo=simulator._gazebo, **kwargs) elif simulator.simulator_name == "pybullet": - return pybullet.pendulum.PendulumPyBulletRobot(model_file="Pendulum/Pendulum.sdf", - p=simulator._pybullet, - plane_id=simulator.plane_id, - **kwargs) + return pybullet.pendulum.PendulumPyBulletRobot( + model_file="Pendulum/Pendulum.urdf", + p=simulator._pybullet, + plane_id=simulator.plane_id, + **kwargs) else: raise Exception(f"Simulator {simulator.simulator_name} not recognized") diff --git a/tests/python/test_robot_controller.py b/tests/python/test_robot_controller.py index 052552beb..da13b2cc7 100644 --- a/tests/python/test_robot_controller.py +++ b/tests/python/test_robot_controller.py @@ -22,7 +22,7 @@ def test_joint_controller(): plugin_data.setClassName("gympp::plugins::RobotController") # Find and load the model SDF file - model_sdf_file = resource_finder.find_resource("CartPole/CartPole.sdf") + model_sdf_file = resource_finder.find_resource("CartPole/CartPole.urdf") with open(model_sdf_file, "r") as stream: model_sdf_string = stream.read() diff --git a/tests/python/test_runtimes.py b/tests/python/test_runtimes.py index 8eff8226d..55ec305a2 100644 --- a/tests/python/test_runtimes.py +++ b/tests/python/test_runtimes.py @@ -22,7 +22,7 @@ max_episode_steps=1000, kwargs={'task_cls': PendulumSwingUp, 'robot_cls': gazebo.pendulum.PendulumGazeboRobot, - 'model': "Pendulum/Pendulum.sdf", + 'model': "Pendulum/Pendulum.urdf", 'world': "DefaultEmptyWorld.world", 'rtf': 100, 'agent_rate': 4000, @@ -52,7 +52,7 @@ max_episode_steps=500, kwargs={'task_cls': CartPoleDiscrete, 'robot_cls': gazebo.cartpole.CartPoleGazeboRobot, - 'model': "CartPole/CartPole.sdf", + 'model': "CartPole/CartPole.urdf", 'world': "DefaultEmptyWorld.world", 'rtf': 100, 'agent_rate': 4000,