Skip to content

Commit

Permalink
Renders on both GZ and RVIZ
Browse files Browse the repository at this point in the history
  • Loading branch information
sloretz committed Jun 21, 2017
1 parent 43fac6c commit 2122c0d
Show file tree
Hide file tree
Showing 4 changed files with 137 additions and 649 deletions.
2 changes: 2 additions & 0 deletions prius_description/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ project(prius_description)
find_package(catkin REQUIRED)

catkin_package()

install(DIRECTORY meshes DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
12 changes: 12 additions & 0 deletions prius_description/launch/gazebo.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<launch>
<arg name="model" default="$(find prius_description)/urdf/prius.urdf"/>

<param name="robot_description" textfile="$(arg model)"/>

<include file="$(find gazebo_ros)/launch/empty_world.launch">
<arg name="verbose" value="true"/>
</include>

<node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-param robot_description -urdf -model prius"/>
</launch>
Loading

0 comments on commit 2122c0d

Please sign in to comment.