Skip to content

Commit

Permalink
mcity launching successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
tfoote committed Jun 21, 2017
1 parent f7d6e67 commit 84f2f13
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions prius_description/launch/gazebo.launch
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

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

<node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-param robot_description -urdf -model prius"/>
Expand Down
3 changes: 3 additions & 0 deletions prius_plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ install(TARGETS PriusHybridPlugin
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

install(DIRECTORY models DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})



# TODO(tfoote) replace installers add_subdirectory(models)
# TODO(tfoote) replace installers add_subdirectory(worlds)
2 changes: 1 addition & 1 deletion prius_plugin/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
<depend>gazebo_ros</depend>
<export>
<!-- Other tools can request additional information be placed here -->
<gazebo_ros plugin_path="${prefix}/lib" gazebo_media_path="${prefix}" />
<gazebo_ros plugin_path="${prefix}/lib" gazebo_media_path="${prefix}" gazebo_model_path="${prefix}/models"/>
</export>
</package>

0 comments on commit 84f2f13

Please sign in to comment.