Skip to content

Commit

Permalink
Merge pull request #118 from lucasw/filter_limits
Browse files Browse the repository at this point in the history
setFilterLimitsNegative is now setNegative
  • Loading branch information
wxmerkt committed Mar 24, 2024
2 parents 6e96c83 + a96d632 commit c77ea44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/industrial_ci_action.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,20 @@
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)

name: CI

# This determines when this workflow is run
on: [push, pull_request] # on all pushes and PRs
on: [push, pull_request]

jobs:
CI:
strategy:
matrix:
env:
- {ROS_DISTRO: melodic}
- {ROS_DISTRO: melodic, PRERELEASE: true}
#- {ROS_DISTRO: melodic}
#- {ROS_DISTRO: melodic, PRERELEASE: true}
- {ROS_DISTRO: noetic}
- {ROS_DISTRO: noetic, PRERELEASE: true}
- {ROS_DISTRO: noetic, OS_NAME: debian, OS_CODE_NAME: buster}
#- {ROS_DISTRO: noetic, OS_NAME: debian, OS_CODE_NAME: buster}
env:
CCACHE_DIR: /github/home/.ccache # Enable ccache
PARALLEL_BUILDS: 4
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# This step will fetch/store the directory used by ccache before/after the ci run
- uses: actions/cache@v2
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
# Run industrial_ci
- uses: actions/checkout@v3
- uses: 'ros-industrial/industrial_ci@master'
env: ${{ matrix.env }}
2 changes: 1 addition & 1 deletion octomap_server/src/OctomapServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ void OctomapServer::filterGroundPlane(const PCLPointCloud& pc, PCLPointCloud& gr
second_pass.setInputCloud(pc.makeShared());
second_pass.filter(ground);

second_pass.setFilterLimitsNegative (true);
second_pass.setNegative (true);
second_pass.filter(nonground);
}

Expand Down

0 comments on commit c77ea44

Please sign in to comment.