Skip to content

Commit

Permalink
feat: add autoware.repos (#7)
Browse files Browse the repository at this point in the history
* chore: add .gitignore

Signed-off-by: Kenji Miyake <[email protected]>

* feat: add autoware.repos

Signed-off-by: Kenji Miyake <[email protected]>

* ci: add vcs-import workflow

Signed-off-by: Kenji Miyake <[email protected]>

* feat: remove simulator repositories

Signed-off-by: Kenji Miyake <[email protected]>

* fix: add pacmod3_msgs for ARM build

Signed-off-by: Kenji Miyake <[email protected]>

* Revert "fix: add pacmod3_msgs for ARM build"

This reverts commit 78812015feca8185cfa6ac973e615fca7ced2445.

Signed-off-by: Kenji Miyake <[email protected]>
  • Loading branch information
kenji-miyake authored Jan 14, 2022
1 parent 1e20e27 commit 340364d
Show file tree
Hide file tree
Showing 4 changed files with 150 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/vcs-import.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: vcs-import

on:
pull_request:
paths:
- autoware.repos
workflow_dispatch:

jobs:
vcs-import:
runs-on: ubuntu-latest
container: ros:galactic
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install pip for rosdep
run: |
sudo apt-get -y update
sudo apt-get -y install python3-pip
- name: Register AutonomouStuff repository
uses: autowarefoundation/autoware-github-actions/register-autonomoustuff-repository@tier4/proposal
with:
rosdistro: galactic

- name: Run vcs import
run: |
mkdir src
vcs import src < autoware.repos
- name: Run rosdep install
run: |
sudo apt-get -y update
rosdep update
DEBIAN_FRONTEND=noninteractive rosdep install -y --from-paths src --ignore-src --rosdistro galactic
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Vim
*.swp
*.swo

# Visual Studio Code
.vscode/
*.code-workspace

# colcon
build/
install/
log/

# Python
*.pyc

# Don't ignore src/ because full-text search won't work correctly.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,17 @@ This is the list of the prototype repositories and their roles.
- Since Autoware Core/Universe has multiple repositories, preparing a central documentation repository is more user-friendly than writing distributed documentation in each repository.

If you have any questions or ideas, please feel free to start a discussion on [GitHub Discussions in autowarefoundation/autoware](https://github.com/autowarefoundation/autoware/discussions).

---

> Note: Detailed setup documents will be put into [autowarefoundation/autoware-documentation](https://github.com/autowarefoundation/autoware-documentation) soon.
## How to setup workspace

```bash
mkdir src
vcs import src < autoware.repos
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
source install/setup.bash
ros2 launch tier4_autoware_launch planning_simulator.launch.xml vehicle_model:=lexus sensor_model:=aip_xx1 map_path:={path_to_your_map_dir}
```
83 changes: 83 additions & 0 deletions autoware.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
repositories:
# core
core/autoware_msgs:
type: git
url: https://github.com/tier4/autoware_auto_msgs.git # TODO(Tier IV): Move to autowarefoundation/autoware_msgs
version: tier4/main
core/common:
type: git
url: https://github.com/autowarefoundation/autoware_common.git
version: tier4/proposal
core/autoware:
type: git
url: https://github.com/autowarefoundation/autoware.core.git
version: tier4/proposal
# universe
universe/autoware:
type: git
url: https://github.com/autowarefoundation/autoware.universe.git
version: tier4/proposal
universe/tier4_autoware_msgs:
type: git
url: https://github.com/tier4/AutowareArchitectureProposal_msgs.git # TODO(Tier IV): Rename to tier4/tier4_autoware_msgs
version: tier4/universe
universe/vendor/grid_map:
type: git
url: https://github.com/ANYbotics/grid_map.git
version: ba2f9cb6e62f7ee9c5bac7401391a211e442e459
universe/vendor/mussp:
type: git
url: https://github.com/tier4/muSSP.git
version: tier4/main
universe/vendor/ndt_omp:
type: git
url: https://github.com/tier4/ndt_omp.git
version: tier4/main
universe/vendor/pointcloud_to_laserscan:
type: git
url: https://github.com/tier4/pointcloud_to_laserscan.git
version: tier4/main
universe/vendor/topic_tools:
type: git
url: https://github.com/tier4/topic_tools.git
version: tier4/main
# sensor_component
sensor_component/tmp/velodyne_description: # TODO(Tier IV): Remove after https://github.com/ros/rosdistro/pull/31611 is released
type: git
url: https://github.com/tier4/velodyne_simulator.git
version: 7bca7039a1d9b0a37a268e7ced3e97b96fe9f5ee
sensor_component/sensor_component_description:
type: git
url: https://github.com/tier4/sensor_description.iv.git # TODO(Tier IV): Rename to tier4/sensor_component_description or so
version: main
sensor_component/livox-driver:
type: git
url: https://github.com/tier4/livox_ros2_driver.git
version: tier4/master
sensor_component/tamagawa_imu_driver:
type: git
url: https://github.com/tier4/tamagawa_imu_driver.git
version: ros2
sensor_component/velodyne_vls:
type: git
url: https://github.com/tier4/velodyne_vls.git
version: use-autoware-auto-msgs # TODO(Tier IV): Rename to tier4/universe or so
# sensor_kit
sensor_kit/tmp/tier4_sensor_kit_description:
type: git
url: https://github.com/tier4/aip_description.iv.git # TODO(Tier IV): Merge into tier4_sensor_kit_launch
version: main
sensor_kit/tier4_sensor_kit_launch:
type: git
url: https://github.com/tier4/AutowareArchitectureProposal_aip_launcher.git # TODO(Tier IV): Rename to tier4/tier4_sensor_kit_launch or so
version: use-autoware-auto-msgs # TODO(Tier IV): Rename to tier4/universe or so
# vehicle
vehicle/lexus_launch:
type: git
url: https://github.com/tier4/lexus_description.iv.git # TODO(Tier IV): Rename to lexus_launch
version: tier4/universe
# param
param/individual_vehicle_params:
type: git
url: https://github.com/tier4/autoware_individual_params.git # TODO(Tier IV): Copy to autowarefoundation/individual_vehicle_params or so and remove aip_* directory
version: main

0 comments on commit 340364d

Please sign in to comment.