-
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.
added launch file to launch urdf model and thruster viz (#15)
* added launch file to launch urdf model and thruster viz * removed unused imports
- Loading branch information
1 parent
cdcad7d
commit d8f2ac8
Showing
14 changed files
with
68 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
cmake_minimum_required(VERSION 3.8) | ||
project(freya_visualization) | ||
|
||
find_package(ament_cmake REQUIRED) | ||
|
||
install(DIRECTORY | ||
launch | ||
config | ||
DESTINATION share/${PROJECT_NAME}/ | ||
) | ||
|
||
ament_package() |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import os | ||
from ament_index_python.packages import get_package_share_directory | ||
from launch import LaunchDescription | ||
from launch.actions import IncludeLaunchDescription | ||
|
||
from launch.launch_description_sources import PythonLaunchDescriptionSource | ||
|
||
def generate_launch_description(): | ||
|
||
freya_model_launch = IncludeLaunchDescription( | ||
launch_description_source=PythonLaunchDescriptionSource( | ||
os.path.join(get_package_share_directory('urdf_models'), 'launch', 'freya_urdf.launch.py') | ||
), | ||
) | ||
|
||
thruster_viz_launch = IncludeLaunchDescription( | ||
launch_description_source=PythonLaunchDescriptionSource( | ||
os.path.join(get_package_share_directory('thruster_visualization'), 'launch', 'thruster_visualization.launch.py') | ||
), | ||
) | ||
|
||
return LaunchDescription([ | ||
freya_model_launch, | ||
thruster_viz_launch, | ||
]) |
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,19 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>freya_visualization</name> | ||
<version>0.0.0</version> | ||
<description>Launch files for visualizing Freya</description> | ||
<maintainer email="[email protected]">Eirik Kolås</maintainer> | ||
<license>MIT</license> | ||
|
||
<buildtool_depend>ament_cmake</buildtool_depend> | ||
|
||
<exec_depend>thruster_visualization</exec_depend> | ||
<exec_depend>urdf_models</exec_depend> | ||
<exec_depend>ros2launch</exec_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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