Skip to content

Commit

Permalink
Changed docker to humble (#18)
Browse files Browse the repository at this point in the history
* Changed docker to humble

* Ci/update (#20)

* fix: building issues and update deps

Signed-off-by: Maciej Krupka <[email protected]>

* fix: update CMakeLists.txt

* fix: update pcl version

Signed-off-by: Maciej Krupka <[email protected]>

---------

Signed-off-by: Maciej Krupka <[email protected]>

---------

Signed-off-by: Maciej Krupka <[email protected]>
Co-authored-by: macnack <[email protected]>
  • Loading branch information
iKrishneel and macnack authored Oct 26, 2023
1 parent 692fac1 commit de96ee1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- name: Using Docker
run: |
export DOCKER_IMAGE=krishneel/ros2-foxy:latest
export DOCKER_IMAGE=ros:humble-perception-jammy
export CI_SOURCE_PATH=$(pwd)
export REPO_NAME=${{ github.event.repository.name }}
export HOME=$GITHUB_WORKSPACE
Expand Down
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endif()
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(rclcpp_components REQUIRED)
find_package(PCL 1.7 REQUIRED)
find_package(PCL 1.12 REQUIRED)
find_package(sensor_msgs REQUIRED)
find_package(std_msgs REQUIRED)
find_package(nav_msgs REQUIRED)
Expand All @@ -33,6 +33,8 @@ find_package(octomap_msgs REQUIRED)
find_package(tf2 REQUIRED)
find_package(tf2_ros REQUIRED)
find_package(tf2_msgs REQUIRED)
find_package(tf2_geometry_msgs REQUIRED)
find_package(rclcpp_components REQUIRED)

link_directories(${PCL_LIBRARY_DIRS})
include_directories(${PCL_INCLUDE_DIRS})
Expand Down Expand Up @@ -60,6 +62,8 @@ ament_target_dependencies(octomap_server2
tf2_ros
tf2_msgs
tf2
tf2_geometry_msgs
rclcpp_components
)

target_link_libraries(octomap_server2 ${PCL_LIBRARIES} ${OCTOMAP_LIBRARIES})
Expand Down
2 changes: 1 addition & 1 deletion deps.repos
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repositories:
./../perception_pcl:
type: git
url: https://github.com/ros-perception/perception_pcl.git
version: foxy-devel
version: ros2
./../pcl_msgs:
type: git
url: https://github.com/ros-perception/pcl_msgs.git
Expand Down
2 changes: 1 addition & 1 deletion src/octomap_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ namespace octomap_server {
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 de96ee1

Please sign in to comment.