-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* COLCON_IGNORE追加 * ROS 2対応 * gui.config追加 * worldファイル更新 * 不要なスクリプトの削除 * launchファイルのROS 2対応 * 不要なライブラリのインポートを削除 * industrial_ciをhumbleに変更 * Gazebo上のモデルURL更新
- Loading branch information
Showing
17 changed files
with
412 additions
and
171 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
Empty file.
Empty file.
Empty file.
Empty file.
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,34 +1,26 @@ | ||
cmake_minimum_required(VERSION 2.8.3) | ||
cmake_minimum_required(VERSION 3.5) | ||
project(sciurus17_gazebo) | ||
|
||
find_package(catkin REQUIRED COMPONENTS | ||
rospy | ||
gazebo_msgs | ||
std_srvs | ||
find_package(ament_cmake REQUIRED COMPONENTS | ||
gazebo_ros | ||
gazebo_plugins | ||
gazebo_ros_control | ||
) | ||
|
||
# catkin_python_setup() | ||
|
||
################################### | ||
## catkin specific configuration ## | ||
################################### | ||
catkin_package( | ||
install(DIRECTORY | ||
launch | ||
worlds | ||
gui | ||
DESTINATION share/${PROJECT_NAME}/ | ||
) | ||
|
||
########### | ||
## Build ## | ||
########### | ||
link_directories(${GAZEBO_LIBRARY_DIRS}) | ||
include_directories( | ||
${catkin_INCLUDE_DIRS} | ||
) | ||
|
||
install(DIRECTORY launch worlds | ||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
) | ||
if(BUILD_TESTING) | ||
find_package(ament_lint_auto REQUIRED) | ||
ament_lint_auto_find_test_dependencies() | ||
endif() | ||
|
||
file(GLOB python_scripts scripts/*.py) | ||
catkin_install_python( | ||
PROGRAMS ${python_scripts} | ||
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
) | ||
ament_package() |
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 |
---|---|---|
@@ -0,0 +1,253 @@ | ||
<?xml version="1.0"?> | ||
|
||
<!-- Window --> | ||
<window> | ||
<width>1000</width> | ||
<height>845</height> | ||
<style | ||
material_theme="Light" | ||
material_primary="DeepOrange" | ||
material_accent="LightBlue" | ||
toolbar_color_light="#f3f3f3" | ||
toolbar_text_color_light="#111111" | ||
toolbar_color_dark="#414141" | ||
toolbar_text_color_dark="#f3f3f3" | ||
plugin_toolbar_color_light="#bbdefb" | ||
plugin_toolbar_text_color_light="#111111" | ||
plugin_toolbar_color_dark="#607d8b" | ||
plugin_toolbar_text_color_dark="#eeeeee" | ||
/> | ||
<menus> | ||
<drawer default="false"> | ||
</drawer> | ||
</menus> | ||
<dialog_on_exit>true</dialog_on_exit> | ||
</window> | ||
|
||
<!-- GUI plugins --> | ||
|
||
<!-- 3D scene --> | ||
<plugin filename="MinimalScene" name="3D View"> | ||
<ignition-gui> | ||
<title>3D View</title> | ||
<property type="bool" key="showTitleBar">false</property> | ||
<property type="string" key="state">docked</property> | ||
</ignition-gui> | ||
|
||
<engine>ogre2</engine> | ||
<scene>scene</scene> | ||
<ambient_light>0.4 0.4 0.4</ambient_light> | ||
<background_color>0.8 0.8 0.8</background_color> | ||
<camera_pose>1.0 0 2.0 0 0.5 3.14</camera_pose> | ||
</plugin> | ||
|
||
<!-- Plugins that add functionality to the scene --> | ||
<plugin filename="EntityContextMenuPlugin" name="Entity context menu"> | ||
<ignition-gui> | ||
<property key="state" type="string">floating</property> | ||
<property key="width" type="double">5</property> | ||
<property key="height" type="double">5</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
</ignition-gui> | ||
</plugin> | ||
<plugin filename="GzSceneManager" name="Scene Manager"> | ||
<ignition-gui> | ||
<property key="resizable" type="bool">false</property> | ||
<property key="width" type="double">5</property> | ||
<property key="height" type="double">5</property> | ||
<property key="state" type="string">floating</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
</ignition-gui> | ||
</plugin> | ||
<plugin filename="InteractiveViewControl" name="Interactive view control"> | ||
<ignition-gui> | ||
<property key="resizable" type="bool">false</property> | ||
<property key="width" type="double">5</property> | ||
<property key="height" type="double">5</property> | ||
<property key="state" type="string">floating</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
</ignition-gui> | ||
</plugin> | ||
<plugin filename="CameraTracking" name="Camera Tracking"> | ||
<ignition-gui> | ||
<property key="resizable" type="bool">false</property> | ||
<property key="width" type="double">5</property> | ||
<property key="height" type="double">5</property> | ||
<property key="state" type="string">floating</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
</ignition-gui> | ||
</plugin> | ||
<plugin filename="MarkerManager" name="Marker manager"> | ||
<ignition-gui> | ||
<property key="resizable" type="bool">false</property> | ||
<property key="width" type="double">5</property> | ||
<property key="height" type="double">5</property> | ||
<property key="state" type="string">floating</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
</ignition-gui> | ||
</plugin> | ||
<plugin filename="SelectEntities" name="Select Entities"> | ||
<ignition-gui> | ||
<property key="resizable" type="bool">false</property> | ||
<property key="width" type="double">5</property> | ||
<property key="height" type="double">5</property> | ||
<property key="state" type="string">floating</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
</ignition-gui> | ||
</plugin> | ||
|
||
<plugin filename="Spawn" name="Spawn Entities"> | ||
<ignition-gui> | ||
<property key="resizable" type="bool">false</property> | ||
<property key="width" type="double">5</property> | ||
<property key="height" type="double">5</property> | ||
<property key="state" type="string">floating</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
</ignition-gui> | ||
</plugin> | ||
|
||
<plugin filename="VisualizationCapabilities" name="Visualization Capabilities"> | ||
<ignition-gui> | ||
<property key="resizable" type="bool">false</property> | ||
<property key="width" type="double">5</property> | ||
<property key="height" type="double">5</property> | ||
<property key="state" type="string">floating</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
</ignition-gui> | ||
</plugin> | ||
|
||
<!-- World control --> | ||
<plugin filename="WorldControl" name="World control"> | ||
<ignition-gui> | ||
<title>World control</title> | ||
<property type="bool" key="showTitleBar">false</property> | ||
<property type="bool" key="resizable">false</property> | ||
<property type="double" key="height">72</property> | ||
<property type="double" key="width">121</property> | ||
<property type="double" key="z">1</property> | ||
|
||
<property type="string" key="state">floating</property> | ||
<anchors target="3D View"> | ||
<line own="left" target="left"/> | ||
<line own="bottom" target="bottom"/> | ||
</anchors> | ||
</ignition-gui> | ||
|
||
<play_pause>true</play_pause> | ||
<step>true</step> | ||
<start_paused>true</start_paused> | ||
<use_event>true</use_event> | ||
|
||
</plugin> | ||
|
||
<!-- World statistics --> | ||
<plugin filename="WorldStats" name="World stats"> | ||
<ignition-gui> | ||
<title>World stats</title> | ||
<property type="bool" key="showTitleBar">false</property> | ||
<property type="bool" key="resizable">false</property> | ||
<property type="double" key="height">110</property> | ||
<property type="double" key="width">290</property> | ||
<property type="double" key="z">1</property> | ||
|
||
<property type="string" key="state">floating</property> | ||
<anchors target="3D View"> | ||
<line own="right" target="right"/> | ||
<line own="bottom" target="bottom"/> | ||
</anchors> | ||
</ignition-gui> | ||
|
||
<sim_time>true</sim_time> | ||
<real_time>true</real_time> | ||
<real_time_factor>true</real_time_factor> | ||
<iterations>true</iterations> | ||
</plugin> | ||
|
||
<!-- Insert simple shapes --> | ||
<plugin filename="Shapes" name="Shapes"> | ||
<ignition-gui> | ||
<property key="resizable" type="bool">false</property> | ||
<property key="x" type="double">0</property> | ||
<property key="y" type="double">0</property> | ||
<property key="width" type="double">250</property> | ||
<property key="height" type="double">50</property> | ||
<property key="state" type="string">floating</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
<property key="cardBackground" type="string">#666666</property> | ||
</ignition-gui> | ||
</plugin> | ||
|
||
<!-- Insert lights --> | ||
<plugin filename="Lights" name="Lights"> | ||
<ignition-gui> | ||
<property key="resizable" type="bool">false</property> | ||
<property key="x" type="double">250</property> | ||
<property key="y" type="double">0</property> | ||
<property key="width" type="double">150</property> | ||
<property key="height" type="double">50</property> | ||
<property key="state" type="string">floating</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
<property key="cardBackground" type="string">#666666</property> | ||
</ignition-gui> | ||
</plugin> | ||
|
||
<!-- Translate / rotate --> | ||
<plugin filename="TransformControl" name="Transform control"> | ||
<ignition-gui> | ||
<property key="resizable" type="bool">false</property> | ||
<property key="x" type="double">0</property> | ||
<property key="y" type="double">50</property> | ||
<property key="width" type="double">250</property> | ||
<property key="height" type="double">50</property> | ||
<property key="state" type="string">floating</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
<property key="cardBackground" type="string">#777777</property> | ||
</ignition-gui> | ||
|
||
<!-- disable legacy features used to connect this plugin to GzScene3D --> | ||
<legacy>false</legacy> | ||
</plugin> | ||
|
||
<!-- Screenshot --> | ||
<plugin filename="Screenshot" name="Screenshot"> | ||
<ignition-gui> | ||
<property key="resizable" type="bool">false</property> | ||
<property key="x" type="double">250</property> | ||
<property key="y" type="double">50</property> | ||
<property key="width" type="double">50</property> | ||
<property key="height" type="double">50</property> | ||
<property key="state" type="string">floating</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
<property key="cardBackground" type="string">#777777</property> | ||
</ignition-gui> | ||
</plugin> | ||
|
||
<!-- Copy/Paste --> | ||
<plugin filename="CopyPaste" name="CopyPaste"> | ||
<ignition-gui> | ||
<property key="resizable" type="bool">false</property> | ||
<property key="x" type="double">300</property> | ||
<property key="y" type="double">50</property> | ||
<property key="width" type="double">100</property> | ||
<property key="height" type="double">50</property> | ||
<property key="state" type="string">floating</property> | ||
<property key="showTitleBar" type="bool">false</property> | ||
<property key="cardBackground" type="string">#777777</property> | ||
</ignition-gui> | ||
</plugin> | ||
|
||
<!-- Inspector --> | ||
<plugin filename="ComponentInspector" name="Component inspector"> | ||
<ignition-gui> | ||
<property type="bool" key="showTitleBar">false</property> | ||
<property type="string" key="state">docked</property> | ||
</ignition-gui> | ||
</plugin> | ||
|
||
<!-- Entity tree --> | ||
<plugin filename="EntityTree" name="Entity tree"> | ||
<ignition-gui> | ||
<property type="bool" key="showTitleBar">false</property> | ||
<property type="string" key="state">docked</property> | ||
</ignition-gui> | ||
</plugin> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.