diff --git a/models/gimbal_small_2d/model.sdf b/models/gimbal_small_2d/model.sdf index 5d6b9921..5306e9ef 100644 --- a/models/gimbal_small_2d/model.sdf +++ b/models/gimbal_small_2d/model.sdf @@ -1,8 +1,8 @@ - 0 0 0.18 0 0 0 - + + 0.2 @@ -14,11 +14,11 @@ 0.0001 - + 0.001 0.001 0.001 - model://gimbal_small_2d/meshes/base_main.dae + package://ardupilot_gazebo/models/gimbal_small_2d/meshes/base_main.dae @@ -27,7 +27,7 @@ 0.01 0.01 0.01 1.0 - + 0.01 0.075 -0.025 0 0 0 @@ -52,7 +52,7 @@ 0.001 0.001 0.001 - model://gimbal_small_2d/meshes/base_arm.dae + package://ardupilot_gazebo/models/gimbal_small_2d/meshes/base_arm.dae @@ -65,13 +65,13 @@ 0.001 0.001 0.001 - model://gimbal_small_2d/meshes/base_arm.dae + package://ardupilot_gazebo/models/gimbal_small_2d/meshes/base_arm.dae - base_link + gimbal_link roll_link 0 0 1 @@ -102,7 +102,7 @@ 0.001 0.001 0.001 - model://gimbal_small_2d/meshes/tilt.dae + package://ardupilot_gazebo/models/gimbal_small_2d/meshes/tilt.dae @@ -116,7 +116,7 @@ 0.001 0.001 0.001 - model://gimbal_small_2d/meshes/tilt.dae + package://ardupilot_gazebo/models/gimbal_small_2d/meshes/tilt.dae diff --git a/models/iris_with_gimbal/model.sdf b/models/iris_with_gimbal/model.sdf index 960283dc..b4b97628 100755 --- a/models/iris_with_gimbal/model.sdf +++ b/models/iris_with_gimbal/model.sdf @@ -1,19 +1,20 @@ - - model://iris_with_standoffs + + package://ardupilot_gazebo/models/iris_with_standoffs + iris - - model://gimbal_small_2d + + package://ardupilot_gazebo/models/gimbal_small_2d gimbal - 0 -0.01 0.070 1.57 0 1.57 + 0 -0.01 -0.11 1.57 0 1.57 - iris_with_standoffs::base_link - gimbal::base_link + base_link + gimbal_link 0 @@ -27,6 +28,22 @@ + + true + true + true + 1 + + + + iris/odom + iris + 3 + 0.3 @@ -42,7 +59,7 @@ 0.084 0 0 0 1 0 0 0 1 - iris_with_standoffs::rotor_0 + rotor_0 @@ -59,7 +76,7 @@ -0.084 0 0 0 -1 0 0 0 1 - iris_with_standoffs::rotor_0 + rotor_0 0.084 0 0 0 1 0 0 0 1 - iris_with_standoffs::rotor_1 + rotor_1 @@ -94,7 +111,7 @@ -0.084 0 0 0 -1 0 0 0 1 - iris_with_standoffs::rotor_1 + rotor_1 0.084 0 0 0 -1 0 0 0 1 - iris_with_standoffs::rotor_2 + rotor_2 @@ -129,7 +146,7 @@ -0.084 0 0 0 1 0 0 0 1 - iris_with_standoffs::rotor_2 + rotor_2 0.084 0 0 0 -1 0 0 0 1 - iris_with_standoffs::rotor_3 + rotor_3 @@ -164,43 +181,67 @@ -0.084 0 0 0 1 0 0 0 1 - iris_with_standoffs::rotor_3 + rotor_3 - iris_with_standoffs::rotor_0_joint + rotor_0_joint - iris_with_standoffs::rotor_1_joint + rotor_1_joint - iris_with_standoffs::rotor_2_joint + rotor_2_joint - iris_with_standoffs::rotor_3_joint + rotor_3_joint + + + + roll_joint + /gimbal/cmd_roll + 2 + + + tilt_joint + /gimbal/cmd_tilt + 2 + + + + lipo_3500mAh + true + 12.6 + -2.7 + 3.5 + 12.6 + 3.5 + 200.0 + false - 127.0.0.1 9002 5 1 - - 0 0 0 3.141593 0 0 - 0 0 0 3.141593 0 0 + 0 0 0 3.141593 0 1.57079632 - iris_with_standoffs::imu_link::imu_sensor + imu_link::imu_sensor + - iris_with_standoffs::rotor_0_joint + rotor_0_joint 1 838 0 @@ -227,7 +268,7 @@ - iris_with_standoffs::rotor_1_joint + rotor_1_joint 1 838 0 @@ -245,7 +286,7 @@ - iris_with_standoffs::rotor_2_joint + rotor_2_joint 1 -838 0 @@ -263,7 +304,7 @@ - iris_with_standoffs::rotor_3_joint + rotor_3_joint 1 -838 0 @@ -281,7 +322,7 @@ - gimbal::roll_joint + roll_joint 3.14159265 -0.5 1100 @@ -292,7 +333,7 @@ - gimbal::tilt_joint + tilt_joint 3.14159265 -0.5 1100 @@ -304,20 +345,5 @@ - - gimbal::roll_joint - /gimbal/cmd_roll - 2 - - - gimbal::tilt_joint - /gimbal/cmd_tilt - 2 - - diff --git a/models/iris_with_standoffs/model.sdf b/models/iris_with_standoffs/model.sdf index 16494e1b..4531a4c4 100755 --- a/models/iris_with_standoffs/model.sdf +++ b/models/iris_with_standoffs/model.sdf @@ -1,7 +1,7 @@ - 0 0 0.194923 0 0 0 + 0.0 @@ -44,7 +44,7 @@ - model://iris_with_standoffs/meshes/iris.dae + package://ardupilot_gazebo/models/iris_with_standoffs/meshes/iris.dae @@ -129,6 +129,29 @@ 0.01 0.01 0.01 1.0 + + + + 1 + 30 + + + 1 + 30 + + + 1 + 30 + + + 1 + 30 + + + 1 + 30 + + @@ -201,7 +224,7 @@ 1 1 1 - model://iris_with_standoffs/meshes/iris_prop_ccw.dae + package://ardupilot_gazebo/models/iris_with_standoffs/meshes/iris_prop_ccw.dae @@ -209,8 +232,8 @@ Gazebo/Blue __default__ - 0 0 1 - 0 0 1 + 0 0 1 1 + 0 0 1 1 0.1 0.1 0.1 1 @@ -273,17 +296,17 @@ 1 1 1 - model://iris_with_standoffs/meshes/iris_prop_ccw.dae + package://ardupilot_gazebo/models/iris_with_standoffs/meshes/iris_prop_ccw.dae - 1 1 1 1 - 1 1 1 1 - .1 .1 .1 1 + 0 0 1 1 + 0 0 1 1 + 0.1 0.1 0.1 1 1 @@ -345,16 +368,16 @@ 1 1 1 - model://iris_with_standoffs/meshes/iris_prop_cw.dae + package://ardupilot_gazebo/models/iris_with_standoffs/meshes/iris_prop_cw.dae - 0 0 1 - 0 0 1 + 0 1 0 1 + 0 1 0 1 0.1 0.1 0.1 1 @@ -417,17 +440,17 @@ 1 1 1 - model://iris_with_standoffs/meshes/iris_prop_cw.dae + package://ardupilot_gazebo/models/iris_with_standoffs/meshes/iris_prop_cw.dae - 1 1 1 1 - 1 1 1 1 - .1 .1 .1 1 + 0 1 0 1 + 0 1 0 1 + 0.1 0.1 0.1 1 1