-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create dummy description and launcher pkgs (#110)
* migrate launch Signed-off-by: Autumn60 <[email protected]> * create dummy description and launcher pkgs Signed-off-by: Autumn60 <[email protected]> * update CODEOWNERS for new pkgs Signed-off-by: Autumn60 <[email protected]> --------- Signed-off-by: Autumn60 <[email protected]>
- Loading branch information
Showing
28 changed files
with
283 additions
and
14 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
10 changes: 10 additions & 0 deletions
10
src/description/wheel_stuck_alpha/wheel_stuck_alpha_description/CMakeLists.txt
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,10 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(wheel_stuck_alpha_description) | ||
|
||
find_package(ament_cmake_auto REQUIRED) | ||
ament_auto_find_build_dependencies() | ||
|
||
ament_auto_package(INSTALL_TO_SHARE | ||
config | ||
urdf | ||
) |
9 changes: 9 additions & 0 deletions
9
src/description/wheel_stuck_alpha/wheel_stuck_alpha_description/config/robot_info.param.yaml
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,9 @@ | ||
/**: | ||
ros__parameters: | ||
wheel_radius: 0.0 # [m] | ||
wheel_tread: 0.0 # [m] | ||
front_overhang: 0.0 # [m] | ||
rear_overhang: 0.0 # [m] | ||
left_overhang: 0.0 # [m] | ||
right_overhang: 0.0 # [m] | ||
robot_height: 0.0 # [m] |
20 changes: 20 additions & 0 deletions
20
src/description/wheel_stuck_alpha/wheel_stuck_alpha_description/package.xml
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,20 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>wheel_stuck_alpha_description</name> | ||
<version>0.1.0</version> | ||
<description>The wheel_stuck_alpha_description package</description> | ||
<maintainer email="[email protected]">Akiro Harada</maintainer> | ||
|
||
<license>Apache 2</license> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
|
||
<exec_depend>xacro</exec_depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
6 changes: 6 additions & 0 deletions
6
src/description/wheel_stuck_alpha/wheel_stuck_alpha_description/urdf/robot.urdf.xacro
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,6 @@ | ||
<?xml version="1.0"?> | ||
<robot xmlns:xacro="http://ros.org/wiki/xacro"> | ||
<xacro:property name="robot_info" value="${xacro.load_yaml('$(find wheel_stuck_alpha_description)/config/robot_info.param.yaml')}"/> | ||
|
||
<link name="base_link"/> | ||
</robot> |
9 changes: 9 additions & 0 deletions
9
src/description/wheel_stuck_alpha/wheel_stuck_alpha_launcher/CMakeLists.txt
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,9 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(wheel_stuck_alpha_launcher) | ||
|
||
find_package(ament_cmake_auto REQUIRED) | ||
ament_auto_find_build_dependencies() | ||
|
||
ament_auto_package(INSTALL_TO_SHARE | ||
launch | ||
) |
1 change: 1 addition & 0 deletions
1
src/description/wheel_stuck_alpha/wheel_stuck_alpha_launcher/launch/robot.launch.xml
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 @@ | ||
<launch/> |
18 changes: 18 additions & 0 deletions
18
src/description/wheel_stuck_alpha/wheel_stuck_alpha_launcher/package.xml
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,18 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>wheel_stuck_alpha_launcher</name> | ||
<version>0.1.0</version> | ||
<description>The wheel_stuck_alpha_launcher package</description> | ||
<maintainer email="[email protected]">Akiro Harada</maintainer> | ||
|
||
<license>Apache 2</license> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
10 changes: 10 additions & 0 deletions
10
src/description/wheel_stuck_alpha/wheel_stuck_alpha_sensor_kit_description/CMakeLists.txt
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,10 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(wheel_stuck_alpha_sensor_kit_description) | ||
|
||
find_package(ament_cmake_auto REQUIRED) | ||
ament_auto_find_build_dependencies() | ||
|
||
ament_auto_package(INSTALL_TO_SHARE | ||
config | ||
urdf | ||
) |
8 changes: 8 additions & 0 deletions
8
...tuck_alpha/wheel_stuck_alpha_sensor_kit_description/config/sensors_calibration.param.yaml
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,8 @@ | ||
base_link: | ||
velodyne_base_link: | ||
x: 0.0 | ||
y: 0.0 | ||
z: 0.0 | ||
roll: 0.0 | ||
pitch: 0.0 | ||
yaw: 0.0 |
18 changes: 18 additions & 0 deletions
18
src/description/wheel_stuck_alpha/wheel_stuck_alpha_sensor_kit_description/package.xml
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,18 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>wheel_stuck_alpha_sensor_kit_description</name> | ||
<version>0.1.0</version> | ||
<description>The wheel_stuck_alpha_sensor_kit_description package</description> | ||
<maintainer email="[email protected]">Akiro Harada</maintainer> | ||
|
||
<license>Apache 2</license> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
18 changes: 18 additions & 0 deletions
18
...ion/wheel_stuck_alpha/wheel_stuck_alpha_sensor_kit_description/urdf/sensor_kit.urdf.xacro
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,18 @@ | ||
<?xml version="1.0"?> | ||
<robot xmlns:xacro="http://ros.org/wiki/xacro"> | ||
<xacro:property name="sensors_calibration" value="${xacro.load_yaml('$(find wheel_stuck_alpha_sensor_kit_description)/config/sensors_calibration.param.yaml')}"/> | ||
|
||
<link name="velodyne_base_link"/> | ||
<joint name="velodyne_base_joint" type="fixed"> | ||
<parent link="base_link"/> | ||
<child link="velodyne_base_link"/> | ||
<origin | ||
xyz="${sensors_calibration['base_link']['velodyne_base_link']['x']} | ||
${sensors_calibration['base_link']['velodyne_base_link']['y']} | ||
${sensors_calibration['base_link']['velodyne_base_link']['z']}" | ||
rpy="${sensors_calibration['base_link']['velodyne_base_link']['roll']} | ||
${sensors_calibration['base_link']['velodyne_base_link']['pitch']} | ||
${sensors_calibration['base_link']['velodyne_base_link']['yaw']}" | ||
/> | ||
</joint> | ||
</robot> |
9 changes: 9 additions & 0 deletions
9
src/description/wheel_stuck_alpha/wheel_stuck_alpha_sensor_kit_launcher/CMakeLists.txt
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,9 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(wheel_stuck_alpha_sensor_kit_launcher) | ||
|
||
find_package(ament_cmake_auto REQUIRED) | ||
ament_auto_find_build_dependencies() | ||
|
||
ament_auto_package(INSTALL_TO_SHARE | ||
launch | ||
) |
1 change: 1 addition & 0 deletions
1
...tion/wheel_stuck_alpha/wheel_stuck_alpha_sensor_kit_launcher/launch/sensor_kit.launch.xml
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 @@ | ||
<launch/> |
18 changes: 18 additions & 0 deletions
18
src/description/wheel_stuck_alpha/wheel_stuck_alpha_sensor_kit_launcher/package.xml
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,18 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>wheel_stuck_alpha_sensor_kit_launcher</name> | ||
<version>0.1.0</version> | ||
<description>The wheel_stuck_alpha_sensor_kit_launcher package</description> | ||
<maintainer email="[email protected]">Akiro Harada</maintainer> | ||
|
||
<license>Apache 2</license> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
Empty file.
8 changes: 0 additions & 8 deletions
8
src/launch/wheel_stuck_launcher/launch/components/wheel_stuck_common.launch.xml
This file was deleted.
Oops, something went wrong.
20 changes: 15 additions & 5 deletions
20
src/launch/wheel_stuck_launcher/launch/wheel_stuck.launch.xml
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,14 +1,24 @@ | ||
<launch> | ||
<!-- Essential parameters --> | ||
<arg name="robot_model" default="wheel_stuck"/> | ||
<arg name="robot_model" default="wheel_stuck_alpha"/> | ||
<arg name="sensor_kit_model" default="wheel_stuck_alpha_sensor_kit"/> | ||
|
||
<!-- Optional parameters --> | ||
<arg name="launch_common" default="true"/> | ||
<arg name="launch_robot" default="true"/> | ||
<arg name="launch_sensing" default="true"/> | ||
|
||
<!-- Common --> | ||
<group if="$(var launch_common)" scoped="false"> | ||
<include file="$(find-pkg-share wheel_stuck_launcher)/launch/components/wheel_stuck_common.launch.xml"> | ||
<!-- Robot --> | ||
<group if="$(var launch_robot)" scoped="false"> | ||
<include file="$(find-pkg-share wheel_stuck_robot_launcher)/launch/robot.launch.xml"> | ||
<arg name="robot_model" value="$(var robot_model)"/> | ||
<arg name="sensor_kit_model" value="$(var sensor_kit_model)"/> | ||
</include> | ||
</group> | ||
|
||
<!-- Sensing --> | ||
<group if="$(var launch_sensing)"> | ||
<include file="$(find-pkg-share wheel_stuck_sensing_launcher)/launch/sensing.launch.xml"> | ||
<arg name="sensor_kit_model" value="$(var sensor_kit_model)"/> | ||
</include> | ||
</group> | ||
</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
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,10 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(wheel_stuck_robot_launcher) | ||
|
||
find_package(ament_cmake_auto REQUIRED) | ||
ament_auto_find_build_dependencies() | ||
|
||
ament_auto_package(INSTALL_TO_SHARE | ||
launch | ||
urdf | ||
) |
10 changes: 10 additions & 0 deletions
10
src/launch/wheel_stuck_robot_launcher/launch/components/description.launch.xml
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,10 @@ | ||
<launch> | ||
<!-- Essential Parameters --> | ||
<arg name="robot_model"/> | ||
<arg name="sensor_kit_model"/> | ||
|
||
<arg name="xacro_file" default="$(find-pkg-share wheel_stuck_robot_launcher)/urdf/robot.urdf.xacro"/> | ||
<node name="robot_state_publisher" pkg="robot_state_publisher" exec="robot_state_publisher"> | ||
<param name="robot_description" value="$(command 'xacro $(var xacro_file) robot_model:=$(var robot_model) sensor_kit_model:=$(var sensor_kit_model)' 'warn')"/> | ||
</node> | ||
</launch> |
File renamed without changes.
19 changes: 19 additions & 0 deletions
19
src/launch/wheel_stuck_robot_launcher/launch/robot.launch.xml
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 @@ | ||
<launch> | ||
<!-- Essential Parameters --> | ||
<arg name="robot_model"/> | ||
<arg name="sensor_kit_model"/> | ||
|
||
<include file="$(find-pkg-share wheel_stuck_robot_launcher)/launch/components/load_robot_info.launch.py"> | ||
<arg name="robot_model" value="$(var robot_model)"/> | ||
</include> | ||
|
||
<include file="$(find-pkg-share wheel_stuck_robot_launcher)/launch/components/description.launch.xml"> | ||
<arg name="robot_model" value="$(var robot_model)"/> | ||
<arg name="sensor_kit_model" value="$(var sensor_kit_model)"/> | ||
</include> | ||
|
||
<group> | ||
<push-ros-namespace namespace="robot"/> | ||
<include file="$(find-pkg-share $(var robot_model)_launcher)/launch/robot.launch.xml"/> | ||
</group> | ||
</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,20 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>wheel_stuck_robot_launcher</name> | ||
<version>0.1.0</version> | ||
<description>The wheel_stuck_robot_launcher package</description> | ||
<maintainer email="[email protected]">Akiro Harada</maintainer> | ||
|
||
<license>Apache 2</license> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
|
||
<exec_depend>wheel_stuck_robot_utils</exec_depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |
13 changes: 13 additions & 0 deletions
13
src/launch/wheel_stuck_robot_launcher/urdf/robot.urdf.xacro
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,13 @@ | ||
<?xml version="1.0"?> | ||
<robot name="robot" xmlns:xacro="http://ros.org/wiki/xacro"> | ||
<xacro:arg name="robot_model" default=""/> | ||
<xacro:arg name="sensor_kit_model" default=""/> | ||
|
||
<!-- robot --> | ||
<xacro:property name="robot_model_property" value="$(arg robot_model)"/> | ||
<xacro:include filename="$(find ${robot_model_property}_description)/urdf/robot.urdf.xacro"/> | ||
|
||
<!-- sensor kit --> | ||
<xacro:property name="sensor_kit_model_property" value="$(arg sensor_kit_model)"/> | ||
<xacro:include filename="$(find ${sensor_kit_model_property}_description)/urdf/sensor_kit.urdf.xacro"/> | ||
</robot> |
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,9 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
project(wheel_stuck_sensing_launcher) | ||
|
||
find_package(ament_cmake_auto REQUIRED) | ||
ament_auto_find_build_dependencies() | ||
|
||
ament_auto_package(INSTALL_TO_SHARE | ||
launch | ||
) |
9 changes: 9 additions & 0 deletions
9
src/launch/wheel_stuck_sensing_launcher/launch/sensing.launch.xml
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,9 @@ | ||
<launch> | ||
<!-- Essential Parameters --> | ||
<arg name="sensor_kit_model"/> | ||
|
||
<group> | ||
<push-ros-namespace namespace="sensing"/> | ||
<include file="$(find-pkg-share $(var sensor_kit_model)_launcher)/launch/sensor_kit.launch.xml"/> | ||
</group> | ||
</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,18 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>wheel_stuck_sensing_launcher</name> | ||
<version>0.1.0</version> | ||
<description>The wheel_stuck_sensing_launcher package</description> | ||
<maintainer email="[email protected]">Akiro Harada</maintainer> | ||
|
||
<license>Apache 2</license> | ||
|
||
<buildtool_depend>ament_cmake_auto</buildtool_depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |