Skip to content

Commit

Permalink
Added AW Lexus model (#2117)
Browse files Browse the repository at this point in the history
* Added AW Lexus model

* Adapt urdf to match mesh orientation
  • Loading branch information
amc-nu authored and Yuki Kitsukawa committed Mar 18, 2019
1 parent c80eb25 commit 7660322
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 0 deletions.
19 changes: 19 additions & 0 deletions ros/src/vehicle/vehicle_description/launch/lexus.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!-- -->
<launch>
<arg name="base_frame" default="/base_link"/>
<arg name="topic_name" default="vehicle_model"/>
<arg name="offset_x" default="1.2"/>
<arg name="offset_y" default="0.0"/>
<arg name="offset_z" default="0.0"/>
<arg name="offset_roll" default="0.0"/> <!-- degree -->
<arg name="offset_pitch" default="0.0"/> <!-- degree -->
<arg name="offset_yaw" default="0.0"/> <!-- degree -->
<arg name="model_path" default="$(find vehicle_description)/urdf/lexus.urdf" />
<arg name="gui" default="False" />

<param name="robot_description" textfile="$(arg model_path)" />
<param name="use_gui" value="$(arg gui)"/>
<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" />
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" />

</launch>
99 changes: 99 additions & 0 deletions ros/src/vehicle/vehicle_description/mesh/lexus.dae

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions ros/src/vehicle/vehicle_description/urdf/lexus.urdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0"?>
<robot name="car">
<link name="base_link">
<visual name="base_visual">
<origin xyz="1 0 0.0" rpy="1.57 0 3.14" />
<geometry>
<mesh filename="package://vehicle_description/mesh/lexus.dae" scale="1.0 1.0 1.0"/>
</geometry>
</visual>
</link>
</robot>

0 comments on commit 7660322

Please sign in to comment.