From 708dff5a5e20b8ad91743a8e6ba25da386b61006 Mon Sep 17 00:00:00 2001 From: Ayham Alharbat <44285656+ayhamalharbat@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:07:38 +0200 Subject: [PATCH] fixing the links and joints names in typhoon model to reflect the numbers of the motors in the px4's hex x airframe (#1043) --- models/typhoon_h480/typhoon_h480.sdf.jinja | 96 +++++++++++----------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/models/typhoon_h480/typhoon_h480.sdf.jinja b/models/typhoon_h480/typhoon_h480.sdf.jinja index bdab369a6f..95490b0fe3 100644 --- a/models/typhoon_h480/typhoon_h480.sdf.jinja +++ b/models/typhoon_h480/typhoon_h480.sdf.jinja @@ -694,7 +694,7 @@ 1 - + 0.211396 0.119762 0.082219 0 0 0 0 0 0 0 0 0 @@ -708,7 +708,7 @@ 0.000274004 - + 0 0 0 0 0 0 @@ -725,7 +725,7 @@ - + -0.211396 -0.119762 -0.082219 0 0 0 @@ -744,8 +744,8 @@ 0 - - rotor_3 + + rotor_2 base_link 0 0 1 @@ -766,7 +766,7 @@ - + -0.209396 0.122762 0.082219 0 0 2.09439510239 0 0 0 0 0 0 @@ -780,7 +780,7 @@ 0.000274004 - + 0 0 0 0 0 0 @@ -797,7 +797,7 @@ - + -0.211396 -0.119762 -0.082219 0 0 0 @@ -816,8 +816,8 @@ 0 - - rotor_0 + + rotor_5 base_link 0 0 1 @@ -838,7 +838,7 @@ - + -0.00187896 0.242705 0.0822169 0 0 0 0 0 0 0 0 0 @@ -852,7 +852,7 @@ 0.000274004 - + 0 0 0 0 0 0 @@ -869,7 +869,7 @@ - + 0.00187896 -0.242705 -0.0822169 0 0 0 @@ -888,8 +888,8 @@ 0 - - rotor_4 + + rotor_1 base_link 0 0 1 @@ -910,7 +910,7 @@ - + 0.211396 -0.119762 0.082219 0 0 -2.09439510239 0 0 0 0 0 0 @@ -924,7 +924,7 @@ 0.000274004 - + 0 0 0 0 0 0 @@ -941,7 +941,7 @@ - + 0.00187896 -0.242705 -0.0822169 0 0 0 @@ -960,8 +960,8 @@ 0 - - rotor_1 + + rotor_4 base_link 0 0 1 @@ -983,7 +983,7 @@ - + -0.00187896 -0.242705 0.0822169 0 0 -2.09439510239 0 0 0 0 0 0 @@ -997,7 +997,7 @@ 0.000274004 - + 0 0 0 0 0 0 @@ -1014,7 +1014,7 @@ - + -0.211396 -0.119762 -0.082219 0 0 0 @@ -1033,8 +1033,8 @@ 0 - - rotor_5 + + rotor_0 base_link 0 0 1 @@ -1055,7 +1055,7 @@ - + -0.209396 -0.122762 0.082219 0 0 2.09439510239 0 0 0 0 0 0 @@ -1069,7 +1069,7 @@ 0.000274004 - + 0 0 0 0 0 0 @@ -1086,7 +1086,7 @@ - + 0.00187896 -0.242705 -0.0822169 0 0 0 @@ -1105,8 +1105,8 @@ 0 - - rotor_2 + + rotor_3 base_link 0 0 1 @@ -1161,10 +1161,10 @@ base_link 10 - + - rotor_0_joint - rotor_0 + rotor_5_joint + rotor_5 cw 0.0125 0.025 @@ -1178,10 +1178,10 @@ /motor_speed/5 10 - + - rotor_1_joint - rotor_1 + rotor_4_joint + rotor_4 ccw 0.0125 0.025 @@ -1195,10 +1195,10 @@ /motor_speed/4 10 - + - rotor_2_joint - rotor_2 + rotor_3_joint + rotor_3 ccw 0.0125 0.025 @@ -1212,10 +1212,10 @@ /motor_speed/3 10 - + - rotor_3_joint - rotor_3 + rotor_2_joint + rotor_2 cw 0.0125 0.025 @@ -1229,10 +1229,10 @@ /motor_speed/2 10 - + - rotor_4_joint - rotor_4 + rotor_1_joint + rotor_1 ccw 0.0125 0.025 @@ -1246,10 +1246,10 @@ /motor_speed/1 10 - + - rotor_5_joint - rotor_5 + rotor_0_joint + rotor_0 cw 0.0125 0.025