File tree Expand file tree Collapse file tree 2 files changed +58
-14
lines changed
decomposition/metav_description/urdf Expand file tree Collapse file tree 2 files changed +58
-14
lines changed Original file line number Diff line number Diff line change 33
44 <xacro : arg name =" is_simulation" default =" true" />
55
6- <link name =" base_footprint" >
7- </link >
86
97 <!-- raise the robot a bit higher to prevent it from stucking in the ground -->
108 <joint name =" joint_base_to_footprint" type =" fixed" >
119 <origin rpy =" 0 0 0" xyz =" 0 0 1" />
12- <parent link =" base_footprint " />
10+ <parent link =" l0 " />
1311 <child link =" base_link" />
1412 </joint >
13+ <!-- dummy joints&links to suppress not found in URDF error-->
14+ <link name =" l0" />
15+ <link name =" l1" />
16+ <link name =" l2" />
17+ <link name =" l3" />
18+ <link name =" l4" />
19+ <link name =" l5" />
20+ <!-- Fixed joints do not make sense in ros2_control-->
21+ <joint name =" loader_shooter_joint" type =" continuous" >
22+ <parent link =" l0" />
23+ <child link =" l1" />
24+ </joint >
25+ <joint name =" yaw_gimbal_joint" type =" continuous" >
26+ <parent link =" l0" />
27+ <child link =" l2" />
28+ </joint >
29+ <joint name =" pitch_gimbal_joint" type =" continuous" >
30+ <parent link =" l0" />
31+ <child link =" l3" />
32+ </joint >
33+ <joint name =" fric1_shooter_joint" type =" continuous" >
34+ <parent link =" l0" />
35+ <child link =" l4" />
36+ </joint >
37+ <joint name =" fric2_shooter_joint" type =" continuous" >
38+ <parent link =" l0" />
39+ <child link =" l5" />
40+ </joint >
41+
1542
1643 <xacro : include filename =" $(find metav_description)/urdf/standard/standard.chassis.xacro" />
1744 <xacro : if value =" $(arg is_simulation)" >
Original file line number Diff line number Diff line change 22<robot name =" standard" xmlns : xacro =" http://www.ros.org/wiki/xacro" >
33
44 <xacro : arg name =" is_simulation" default =" true" />
5-
6- <link name =" base_footprint" >
7- </link >
8-
9- <!-- raise the robot a bit higher to prevent it from stucking in the ground -->
10- <joint name =" joint_base_to_footprint" type =" fixed" >
11- <origin rpy =" 0 0 0" xyz =" 0 0 1" />
12- <parent link =" base_footprint" />
13- <child link =" base_link" />
5+ <!-- dummy joints&links to suppress not found in URDF error-->
6+ <link name =" l0" />
7+ <link name =" l1" />
8+ <link name =" l2" />
9+ <link name =" l3" />
10+ <link name =" l4" />
11+ <link name =" l5" />
12+ <!-- Fixed joints do not make sense in ros2_control-->
13+ <joint name =" dummy_yaw_wheel_joint" type =" continuous" >
14+ <parent link =" l0" />
15+ <child link =" l1" />
16+ </joint >
17+ <joint name =" front_left_wheel_joint" type =" continuous" >
18+ <parent link =" l0" />
19+ <child link =" l2" />
20+ </joint >
21+ <joint name =" front_right_wheel_joint" type =" continuous" >
22+ <parent link =" l0" />
23+ <child link =" l3" />
24+ </joint >
25+ <joint name =" back_left_wheel_joint" type =" continuous" >
26+ <parent link =" l0" />
27+ <child link =" l4" />
28+ </joint >
29+ <joint name =" back_right_wheel_joint" type =" continuous" >
30+ <parent link =" l0" />
31+ <child link =" l5" />
1432 </joint >
1533 <xacro : include filename =" $(find metav_description)/urdf/standard/standard.chassis.xacro" />
1634
17- <xacro : chassis roller_type =" none" />
1835 <ros2_control name =" dji_motors_chassis" type =" system" >
1936 <hardware >
2037 <plugin >meta_hardware/MetaRobotDjiMotorNetwork</plugin >
21- <param name =" can_network_name" >can0 </param >
38+ <param name =" can_network_name" >can_1 </param >
2239 </hardware >
2340 <xacro : wheel_transmission prefix =" front_left" mechanical_reduction =" 20.0" motor_id =" 2" />
2441 <xacro : wheel_transmission prefix =" front_right" mechanical_reduction =" 20.0" motor_id =" 1" />
You can’t perform that action at this time.
0 commit comments