Skip to content

Commit

Permalink
init mrs_aloam_core
Browse files Browse the repository at this point in the history
  • Loading branch information
petrlmat committed Oct 25, 2023
0 parents commit 05799f0
Show file tree
Hide file tree
Showing 24 changed files with 1,256 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ros_build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: ros_build_test

on:

push:
branches: [ devel ]

paths-ignore:
- '**/README.md'

pull_request:
branches: [ master ]

workflow_dispatch:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:

build:
uses: ctu-mrs/ci_scripts/.github/workflows/ros_build_test.yml@master
secrets:
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
22 changes: 22 additions & 0 deletions .github/workflows/ros_package_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: ros_package_build

on:

push:
branches: [ master ]

paths-ignore:
- '**/README.md'

workflow_dispatch:

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:

build:
uses: ctu-mrs/ci_scripts/.github/workflows/ros_package_build.yml@master
secrets:
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.sw*

.gitman
26 changes: 26 additions & 0 deletions .gitman.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
location: .gitman
sources:
- repo: https://github.com/ctu-mrs/aloam
name: aloam
rev: master
type: git
params:
sparse_paths:
-
links:
- source: ''
target: ros_packages/aloam
scripts:
- git submodule update --init --recursive
- repo: https://github.com/ctu-mrs/mrs_aloam_estimator_plugin
name: mrs_aloam_estimator_plugin
rev: master
type: git
params:
sparse_paths:
-
links:
- source: ''
target: ros_packages/mrs_aloam_estimator_plugin
scripts:
- git submodule update --init --recursive
28 changes: 28 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
BSD 3-Clause License

Copyright (c) 2023, Multi-robot Systems (MRS) group at Czech Technical University in Prague

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# MRS ALOAM Core

Metapackage containing submodules, launch files, config files, scripts, and other files necessary for running the MRS UAV system with ALOAM state estimation.

> :warning: **Attention please: This README needs work.**
>
> The MRS UAV System 1.5 is being released and this page needs updating. Please, keep in mind that the information on this page might not be valid.
## Submodules

| Repository |
|-------------------------------------------------------------------------------------|
| [aloam](https://github.com/ctu-mrs/aloam) |
| [mrs_aloam_estimator_plugin](https://github.com/ctu-mrs/mrs_aloam_estimator_plugin) |
1 change: 1 addition & 0 deletions ros_packages/aloam
14 changes: 14 additions & 0 deletions ros_packages/mrs_aloam_core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
cmake_minimum_required(VERSION 3.5)
project(mrs_aloam_core)

set(CATKIN_DEPENDENCIES
cmake_modules
)

find_package(catkin REQUIRED COMPONENTS
${CATKIN_DEPENDENCIES}
)

catkin_package(
CATKIN_DEPENDS ${CATKIN_DEPENDENCIES}
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
lidar3d:

downsampling:
dynamic_row_selection: false
row_step: 8
col_step: 16
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
lidar3d:

downsampling:
dynamic_row_selection: false
row_step: 1
col_step: 16
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
lidar3d:

downsampling:
dynamic_row_selection: false
row_step: 1
col_step: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
lidar3d:

downsampling:
dynamic_row_selection: false
row_step: 4
col_step: 16
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
scope_timer:
enable: false
log_filename: ""

lidar3d:

frequency: 10 # [Hz]
vfov: 90 # [deg]

republish: true
keep_organized: true

clip:
range:
use: true
min: 0.5 # [m]
max: 50.0 # [m]
intensity:
use: false
threshold: 35
range: 5.0
reflectivity:
use: false
threshold: 25
range: 5.0

cropbox:
use: false
crop_inside: false # if true, points inside the box will be cropped, otherwise points outside will be cropped
frame_id: rtk_origin
min: [-32.0, -35.0, 6.0]
max: [35.0, 5.0, 19.0]

ground_removal:
use: false
range:
use: true
static_frame_id: gps_origin
max_precrop_height: 2.0
ransac:
max_inlier_distance: 0.5
offset: 1.0
publish_plane_marker: true

downsampling:
dynamic_row_selection: false
row_step: 1
col_step: 1

rplidar:
republish: false
voxel_resolution: 0.05
52 changes: 52 additions & 0 deletions ros_packages/mrs_aloam_core/custom_configs/mrs_pcl_tools/uav.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
scope_timer:
enable: false
log_filename: ""

lidar3d:

frequency: 10 # [Hz]
vfov: 90 # [deg]

republish: true
keep_organized: true

clip:
range:
use: true
min: 0.5 # [m]
max: 50.0 # [m]
intensity:
use: true
threshold: 35
range: 5.0
reflectivity:
use: false
threshold: 25
range: 5.0

cropbox:
use: false
crop_inside: false # if true, points inside the box will be cropped, otherwise points outside will be cropped
frame_id: rtk_origin
min: [-32.0, -35.0, 6.0]
max: [35.0, 5.0, 19.0]

ground_removal:
use: false
range:
use: true
static_frame_id: gps_origin
max_precrop_height: 2.0
ransac:
max_inlier_distance: 0.5
offset: 1.0
publish_plane_marker: true

downsampling:
dynamic_row_selection: false
row_step: 1
col_step: 1

rplidar:
republish: false
voxel_resolution: 0.05
13 changes: 13 additions & 0 deletions ros_packages/mrs_aloam_core/launch/rviz.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<launch>

<arg name="UAV_NAME" default="$(env UAV_NAME)"/>

<group>

<node pkg="mrs_aloam_core" type="refactor_rviz_config.sh" name="anyname" output="screen" />

<node pkg="rviz" type="rviz" name="rviz" args="-d /tmp/default.rviz" launch-prefix="bash -c 'sleep 1; $0 $@' " />

</group>

</launch>
Loading

0 comments on commit 05799f0

Please sign in to comment.