-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
108 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,56 @@ | ||
<?xml version="1.0"?> | ||
<robot name="rove" xmlns:xacro="http://www.ros.org/wiki/xacro"> | ||
<material name="rubber_color"> | ||
<color rgba="0.1 0.1 0.1 1.0"/> | ||
<color rgba="0.1 0.1 0.1 1.0" /> | ||
</material> | ||
<material name="frame_color"> | ||
<color rgba="0.5 0.5 0.5 1.0"/> | ||
<color rgba="0.5 0.5 0.5 1.0" /> | ||
</material> | ||
<material name="lidar_color"> | ||
<color rgba="1 0 0 1.0"/> | ||
<color rgba="1 0 0 1.0" /> | ||
</material> | ||
|
||
<xacro:include filename="$(find rove_description)/urdf/gazebo.urdf.xacro" /> | ||
<xacro:include filename="$(find rove_description)/urdf/sensor.urdf.xacro" /> | ||
|
||
<xacro:include filename="$(find rove_description)/urdf/flipper.urdf.xacro" /> | ||
<xacro:include filename="$(find rove_description)/urdf/track.urdf.xacro" /> | ||
<xacro:include filename="$(find rove_description)/urdf/rove.ros2_control.urdf.xacro" /> | ||
|
||
<!-- <xacro:include filename="$(find ovis_description)/urdf/ovis.urdf.xacro" /> --> | ||
|
||
<link name="base_link"> | ||
<visual> | ||
<origin xyz="0 0 0" rpy="0 0 0"/> | ||
<origin xyz="0 0 0" rpy="0 0 0" /> | ||
<geometry> | ||
<mesh filename="https://raw.githubusercontent.com/clubcapra/rove/main/src/rove_description/meshes/base.stl"/> | ||
<mesh | ||
filename="https://raw.githubusercontent.com/clubcapra/rove/main/src/rove_description/meshes/base.stl" /> | ||
</geometry> | ||
<material name="frame_color"/> | ||
<material name="frame_color" /> | ||
</visual> | ||
<visual> | ||
<origin xyz="0 0 0" rpy="0 0 0"/> | ||
<origin xyz="0 0 0" rpy="0 0 0" /> | ||
<geometry> | ||
<mesh filename="file://$(find rove_description)/meshes/base.stl"/> | ||
<mesh filename="file://$(find rove_description)/meshes/base.stl" /> | ||
</geometry> | ||
<material name="frame_color"/> | ||
<material name="frame_color" /> | ||
</visual> | ||
<collision> | ||
<origin xyz="0 0 0" rpy="0 0 0"/> | ||
<origin xyz="0 0 0" rpy="0 0 0" /> | ||
<geometry> | ||
<mesh filename="file://$(find rove_description)/meshes/base.stl"/> | ||
<mesh filename="file://$(find rove_description)/meshes/base.stl" /> | ||
</geometry> | ||
</collision> | ||
<inertial> | ||
<origin xyz="0 0 0.5" rpy="0 0 0"/> | ||
<mass value="80"/> | ||
<inertia ixx="1" ixy="0" ixz="0" iyy="1" iyz="0" izz="1" /> | ||
<origin xyz="0 0 0.5" rpy="0 0 0" /> | ||
<mass value="80" /> | ||
<inertia ixx="1" ixy="0" ixz="0" iyy="1" iyz="0" izz="1" /> | ||
</inertial> | ||
</link> | ||
|
||
<!-- <xacro:rove_ros2_control/> --> | ||
<!-- Put these at -1 to mock the motors if working without the motors --> | ||
<!-- Put these at -1 to mock the motors if working without the motors --> | ||
<!-- <xacro:odrive_control fl_id="21" rl_id="22" fr_id="23" rr_id="24"/> --> | ||
<xacro:odrive_control fl_id="21" rl_id="22" fr_id="23" rr_id="24"/> | ||
|
||
<xacro:odrive_control fl_id="21" rl_id="22" fr_id="23" rr_id="24" /> | ||
|
||
<!-- Insert ovis on top of rove --> | ||
<!-- <xacro:property name="robot_root" value="base_link" /> | ||
<xacro:property name="ovis_robot_namespace" value="rove" /> | ||
<xacro:property name="ovis_base_origin" value="-0.2 0 0.2" /> | ||
<xacro:ovis base_parent="${robot_root}" prefix="${ovis_robot_namespace}" joint_base_origin_xyz="${ovis_base_origin}" /> --> | ||
<xacro:property name="robot_root" value="base_link" /> | ||
|
||
</robot> | ||
</robot> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters