Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add sensing launch #165

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
eec4baa
release v0.4.0
mitsudome-r Sep 18, 2020
2f51d4f
Feature/phased timestamped velodyne (#53)
aohsato Jul 21, 2020
58def96
Nodelet tlr (#56)
wep21 Jul 30, 2020
ca4b580
use env for livox id (#58)
yukkysaito Jul 30, 2020
4bdb615
Feature/optimize scan phase (#59)
aohsato Aug 3, 2020
8b817c6
Logging simulator (#65)
wep21 Aug 12, 2020
2322514
removed ROS1 package
mitsudome-r Oct 6, 2020
4ee74f0
Revert "removed ROS1 package"
mitsudome-r Oct 8, 2020
afa7eed
add COLCON_IGNORE file to all ROS1 packages
mitsudome-r Oct 8, 2020
90434ce
rename *.launch files to *.launch.xml
mitsudome-r Oct 23, 2020
86efcdf
Port sensing_launch (#14)
fred-apex-ai Dec 17, 2020
349296e
Added linters (#32)
esteve Dec 20, 2020
4a79f17
Ros2 v0.8.0 sensing launch (#57)
TakaHoribe Feb 24, 2021
2a3e6f6
Rename ROS-related .yaml to .param.yaml (#65)
kenji-miyake Feb 24, 2021
a127b4b
Sync with Ros2 v0.8.0 beta (#71)
kenji-miyake Mar 1, 2021
d27e60b
Fix aip_xx1's pointcloud_preprocessor.launch.py (#72)
kenji-miyake Mar 2, 2021
b3ac2a2
fix velodyne launch (#73)
Mar 2, 2021
b8a640b
fix bug (#85)
Mar 9, 2021
47efe85
Use sensor data qos for pointcloud (#82)
wep21 Mar 11, 2021
f40f8d8
Remove unused remappings (#88)
wep21 Mar 11, 2021
0a69244
Livox composable node (#87)
wep21 Mar 12, 2021
01359b9
Fix default value of use_concat_filter and use_radius_search (#90)
kenji-miyake Mar 15, 2021
ee83bc4
[aip_x1]: Fix imu topic name (#94)
wep21 Mar 18, 2021
c85768d
Fix various typos in launch files (#97)
kmiya Mar 24, 2021
f91b9aa
Move individual params to a separate package (#100)
kenji-miyake Mar 24, 2021
2641259
add use_sim-time option (#99)
tkimura4 Mar 26, 2021
38a27f7
Format launch files (#178)
kenji-miyake Mar 30, 2021
d1a5796
Fix bug of pointcloud_preprocessor.py (#179)
kenji-miyake Mar 30, 2021
ada99d0
Replace doc by description (#182)
kenji-miyake Apr 5, 2021
7961777
Ros2 lsim test (#186)
wep21 Apr 6, 2021
c5fb0ae
Add multithread and intra process option (#187)
wep21 Apr 7, 2021
f2828f3
Fix invalid attribute in gnss launch (#191)
wep21 Apr 10, 2021
47586fd
Fix parameter for scan phase (#193)
wep21 Apr 12, 2021
80d17fa
add septentrio_gnss_driver launcher and switch(septentrio <-> ublox) …
hiro-ya-iv Apr 23, 2021
039ce64
Use set_parameter for use_sim_time (#198)
wep21 Apr 26, 2021
a982c1d
Format launch files (#228)
kenji-miyake May 24, 2021
8d56b72
Fix aip_xx1 camera launch (#242)
wep21 Jun 9, 2021
f5db2a4
Fix gnss topic name (#243)
wep21 Jun 10, 2021
ed8e5e0
Enable intra process and mt (#204)
wep21 Jul 2, 2021
36ffd68
add imu_corrector (#296)
YamatoAndo Jul 26, 2021
931e3ce
add description for sensing_launch (#336)
h-ohta Aug 12, 2021
c3bd2af
add README.md and svg files (#328)
h-ohta Aug 12, 2021
2f1e219
Fix camera launch invalid type string (#344)
kosuke55 Aug 13, 2021
f5f78ed
add view width direction to velodyne_node_container.launch.py etc... …
h-ohta Aug 26, 2021
ee4d8b5
Fix pre-commit (#407)
kenji-miyake Sep 15, 2021
3cf702f
Fix pre-commit target (#436)
kenji-miyake Oct 4, 2021
4b9fb3e
Remove aip xx2 model from sensing launch (#446)
wep21 Oct 7, 2021
c053276
Add respawn for ublox (#449)
wep21 Oct 8, 2021
eb0b91c
delete aip and modify package settings (#434)
h-ohta Oct 12, 2021
d12472d
Change formatter to black (#488)
Nov 2, 2021
8ca5ab2
feature/use common pointcloud container (#147)
satoshi-ota Dec 6, 2021
bbadfae
Update package.xml (#150)
yukkysaito Dec 6, 2021
bb8ad2a
feat: add default param
1222-takeshi Dec 13, 2021
19cdca5
feat: add aip_launcher depends
1222-takeshi Dec 13, 2021
df4eb5f
Merge branch 'tier4/proposal' into 1-add-sensing-launch
1222-takeshi Dec 13, 2021
7e785d0
Merge branch 'tier4/proposal' into 1-add-sensing-launch
taikitanaka3 Dec 13, 2021
877da2a
Merge branch 'tier4/proposal' into 1-add-sensing-launch
taikitanaka3 Dec 13, 2021
7486bed
Merge branch 'tier4/proposal' into 1-add-sensing-launch
taikitanaka3 Dec 13, 2021
9fe36de
fix: add vehicle_info_util as exec_depend
1222-takeshi Dec 14, 2021
0708b9f
fix: add velodyne_vls to build_depend.repos
1222-takeshi Dec 14, 2021
e4fb1f2
Merge branch '1-add-sensing-launch' of github.com:1222-takeshi/autowa…
1222-takeshi Dec 14, 2021
fcb755b
Merge branch 'tier4/proposal' into 1-add-sensing-launch
1222-takeshi Dec 14, 2021
fb9737c
Merge branch 'tier4/proposal' into 1-add-sensing-launch
1222-takeshi Dec 14, 2021
e33d435
Merge branch 'tier4/proposal' into 1-add-sensing-launch
tkimura4 Dec 14, 2021
a3e4047
Merge branch 'tier4/proposal' into 1-add-sensing-launch
taikitanaka3 Dec 14, 2021
5db8341
Merge branch 'tier4/proposal' into 1-add-sensing-launch
taikitanaka3 Dec 14, 2021
3f528de
Merge branch 'tier4/proposal' into 1-add-sensing-launch
taikitanaka3 Dec 14, 2021
d8ad30d
Merge branch 'tier4/proposal' into 1-add-sensing-launch
taikitanaka3 Dec 14, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions build_depends.repos
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
repositories:
launch/aip_launcher:
type: git
url: https://github.com/tier4/AutowareArchitectureProposal_aip_launcher.git
version: use-autoware-auto-msgs
common/autoware_lint_common:
type: git
url: https://github.com/tier4/tier4_ament_lint
Expand Down Expand Up @@ -51,3 +55,15 @@ repositories:
type: git
url: https://github.com/astuff/pacmod3_msgs
version: main
vendor/tamagawa_imu_driver:
type: git
url: https://github.com/tier4/tamagawa_imu_driver.git
version: ros2
vendor/livox-driver:
type: git
url: https://github.com/tier4/livox_ros2_driver.git
version: tier4/master
vendor/velodyne_vls:
type: git
url: https://github.com/tier4/velodyne_vls.git
version: use-autoware-auto-msgs
14 changes: 14 additions & 0 deletions launch/sensing_launch/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
cmake_minimum_required(VERSION 3.5)
project(sensing_launch)

find_package(ament_cmake_auto REQUIRED)
ament_auto_find_build_dependencies()

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
endif()

ament_auto_package(INSTALL_TO_SHARE
launch
)
49 changes: 49 additions & 0 deletions launch/sensing_launch/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# sensing_launch

## Structure

![sensing_launch](./sensing_launch.drawio.svg)

## Package Dependencies

Please see `<exec_depend>` in `package.xml`.

## Usage

You can include as follows in `*.launch.xml` to use `sensing.launch.xml`.

```xml
<include file="$(find-pkg-share sensing_launch)/launch/sensing.launch.xml">
<arg name="launch_driver" value="true"/>
<arg name="sensor_model" value="$(var sensor_model)"/>
<arg name="vehicle_param_file" value="$(find-pkg-share $(var vehicle_model)_description)/config/vehicle_info.param.yaml"/>
<arg name="vehicle_mirror_param_file" value="$(find-pkg-share $(var vehicle_model)_description)/config/mirror.param.yaml"/>
</include>
```

## Launch Directory Structure

This package finds sensor settings of specified sensor model in `launch`.

```bash
launch/
├── aip_x1 # Sensor model name
│   ├── camera.launch.xml # Camera
│   ├── gnss.launch.xml # GNSS
│   ├── imu.launch.xml # IMU
│   ├── lidar.launch.xml # LiDAR
│   └── pointcloud_preprocessor.launch.py # for preprocessing pointcloud
...
```

## Notes

This package finds settings with variables.

ex.)

<https://github.com/tier4/autoware_launcher/blob/d880474/sensing_launch/launch/sensing.launch.xml#L12>

```xml
<include file="$(find-pkg-share sensing_launch)/launch/$(var sensor_model)/lidar.launch.xml">
```
26 changes: 26 additions & 0 deletions launch/sensing_launch/launch/sensing.launch.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<launch>

<arg name="launch_driver" default="true" description="do launch driver"/>
<arg name="sensor_model" default="aip_xx1" description="sensor model name"/>
<arg name="vehicle_param_file" default="$(find-pkg-share vehicle_info_util)/config/vehicle_info.param.yaml" description="path to the file of vehicle info yaml"/>
taikitanaka3 marked this conversation as resolved.
Show resolved Hide resolved
<arg name="vehicle_mirror_param_file" default="$(find-pkg-share vehicle_info_util)/config/vehicle_mirror.param.yaml" description="path to the file of vehicle mirror position yaml"/>
<arg name="use_pointcloud_container" default="false" description="launch pointcloud container"/>
<arg name="pointcloud_container_name" default="pointcloud_container"/>

<let name="sensor_launch_pkg" value="$(find-pkg-share $(var sensor_model)_launch)"/>

<group>
<push-ros-namespace namespace="sensing"/>

<!-- Driver -->
<include file="$(var sensor_launch_pkg)/launch/sensing.launch.xml">
<arg name="launch_driver" value="$(var launch_driver)" />
<arg name="vehicle_param_file" value="$(var vehicle_param_file)" />
<arg name="vehicle_mirror_param_file" value="$(var vehicle_mirror_param_file)" />
<arg name="use_pointcloud_container" value="$(var use_pointcloud_container)" />
<arg name="pointcloud_container_name" value="$(var pointcloud_container_name)"/>
</include>

</group>

</launch>
23 changes: 23 additions & 0 deletions launch/sensing_launch/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?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>sensing_launch</name>
<version>0.1.0</version>
<description>The sensing_launch package</description>

<maintainer email="yukihiro.saito@tier4.jp">Yukihiro Saito</maintainer>
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>
<exec_depend>aip_x1_launch</exec_depend>
<exec_depend>aip_x2_launch</exec_depend>
<exec_depend>aip_xx1_launch</exec_depend>
taikitanaka3 marked this conversation as resolved.
Show resolved Hide resolved
<exec_depend>common_sensor_launch</exec_depend>
<exec_depend>vehicle_info_util</exec_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>autoware_lint_common</test_depend>

<export>
<build_type>ament_cmake</build_type>
</export>
</package>
Loading