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

0.14 parity #35

Merged
merged 92 commits into from
Feb 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
c1cbb8a
Changed include paths in utils to reflect the correct paths. Replaced…
Jun 16, 2022
0588384
Removed compile commands export from CMakeLists. Removed tesseract_co…
Jun 24, 2022
d03f558
Fixed examples' results pointing to the wrong method.
Jun 24, 2022
418f3e5
Added resource locator for ROS using boost serialization.
Jun 24, 2022
3faee12
Ported ROS1 syntax to ROS2.
Jun 24, 2022
a2e23bf
Added serialization export.
Jun 24, 2022
f6a0b52
WIP: ROS2 ci
jdlangs May 13, 2022
6a2e439
rosdep keys
jdlangs May 13, 2022
b6675d7
Update
jdlangs May 16, 2022
3e34cad
Install taskflow from source
jdlangs May 19, 2022
8b9fdd3
Install taskflow in via ici
jdlangs May 23, 2022
b069218
Run clang-format
jdlangs May 24, 2022
2073dc8
Refresh clang-format and clang-tidy workflows
jdlangs May 24, 2022
47ec673
clang-format update
jdlangs May 24, 2022
3e08183
Updated dependencies' versions.
Jul 6, 2022
4dbc393
Port Tesseract_rviz
mpowelson Mar 16, 2020
c02a69a
Missing file
jdlangs Apr 19, 2022
e8309cf
WIP: massive update of ROS2 port
jdlangs Apr 28, 2022
690f334
Debugging environment monitor
jdlangs Apr 28, 2022
c5efe6e
Debugging puzzle piece example
jdlangs Apr 28, 2022
fdfe5ff
Working EnvironmentState display plugin
jdlangs May 3, 2022
1158187
Trajectory visualization plugin
jdlangs May 4, 2022
c4a9259
Working puzzle piece example with visualization
jdlangs May 4, 2022
4a8344e
Fix console bridge dependency tag
marip8 May 11, 2022
1be7563
Fix qt depend tags
marip8 May 11, 2022
a4e04db
Remove message generation dependency
marip8 May 11, 2022
65c4285
updated package.xml of tesseract_rviz to include dependency on ros_in…
collinthornton Jul 1, 2022
65b6c8a
Updated rosutils to use tesseract_common::Serialization and ResourceL…
marrts Jul 27, 2022
132f4cc
Updated environment cache and also added ignore for now in tesseract_…
marrts Jul 27, 2022
498a149
Updated tesseract monitoring to match ros1 implementation and added t…
marrts Jul 27, 2022
4539cdc
WIP: update puzzle piece example to point to tesseract_examples and w…
marrts Jul 27, 2022
08621b9
WIP: update tesseract_rviz
marrts Jul 27, 2022
54783f3
Updated to include some missing messages from latest tesseract
marrts Jul 27, 2022
8dd0b14
Fixed some missing functions based off new msgs
marrts Jul 27, 2022
7070b5f
WIP: rviz port of latest qt widget
marrts Jul 27, 2022
a1c4060
Added some more to/fromMsgs for new message types
marrts Jul 28, 2022
b63b606
Building tesseract_rviz
marrts Jul 28, 2022
41d3c23
CLANG
marrts Jul 28, 2022
df74b53
Working tesseract monitor and environment widget
marrts Aug 2, 2022
de2a912
Clang formatting
marrts Aug 2, 2022
d43b1fb
Working tesseract_monitoring v2
marrts Aug 2, 2022
2c6ab57
Removed commented out class member
marrts Aug 3, 2022
00aff67
Set output to screen and default plotting to true (note you can't wai…
marrts Aug 3, 2022
ef3a426
Correct xml plugin descriptions
marrts Aug 3, 2022
50562de
Fixed package.xml and CMakeLists
marrts Aug 3, 2022
5f52a27
Functional env monitor and tesseract trajectory viewer
marrts Aug 3, 2022
80fd0f3
Clang formatting
marrts Aug 3, 2022
5a8bd4a
Add catkin to rosdep skip keys
marrts Aug 3, 2022
d475038
Add car seat example
marrts Aug 4, 2022
c34cce8
Get manipulation widget kinda working
marrts Aug 4, 2022
9680765
Clang formatting
marrts Aug 4, 2022
c21a0b3
Added qt advanced docking to dependencies to fix CI
marrts Aug 4, 2022
5e6e3f2
Updated rosinstall
marrts Aug 4, 2022
cbc5cf4
Fixed typo in dependencies
marrts Aug 4, 2022
89483c8
Updated launch and rviz files to have tesseract workbench widget
marrts Aug 4, 2022
9d8f809
Removed unused rviz fields
marrts Aug 4, 2022
eac93bf
Minor fixup for galactic
marrts Aug 12, 2022
ca541ed
Enabling to work with live joint states
marrts Aug 12, 2022
09e0bba
Moved adding joint trajectories vector to outside loop to only append…
marrts Aug 16, 2022
ea8a439
Add rviz_rendering as group name for RVIZ materials
smith-doug Aug 23, 2022
501453c
Use find_package for OGRE in tesseract_rviz
smith-doug Aug 24, 2022
522b94a
Merge pull request #1 from smith-doug/fix-materials
marrts Aug 24, 2022
95b3fdb
Use SensorDataQoS() when subscribing to joint_states
smith-doug Aug 29, 2022
f9f5807
Make clang ci happy
smith-doug Oct 3, 2022
25b4e7b
Merge pull request #2 from smith-doug/qos_and_pub_rate
marrts Oct 4, 2022
88fb8b4
Previously removing a link would get it's visual component forever st…
marrts Nov 2, 2022
d8e8d8b
Merge pull request #3 from marrts/fix/remove_link_geometry_stays
marrts Nov 2, 2022
69c9248
Successful building with tag 0.14.0 of Tesseract
marrts Dec 9, 2022
3923486
Match tesseract_ros 0.14 functionality
marrts Dec 14, 2022
1479ec3
Removed unused files
marrts Dec 14, 2022
d5d197f
Updated dependencies
marrts Dec 15, 2022
8aa611c
Removed code that now lives in the tesseract_planning repo
rjoomen Jan 9, 2023
ae118f1
Removed unused rviz plugins and tesseract plugins
rjoomen Jan 9, 2023
3666062
- focal workflow update and jammy humble workflow added
rjoomen Jan 18, 2023
aa0894c
Remove unused msg and match 0.14 package config
rjoomen Jan 24, 2023
f5f0b7f
Update dependencies, cmake matches common_msgs
rjoomen Jan 25, 2023
ea55b60
Completed tesseract_ros 0.14 parity
rjoomen Jan 27, 2023
5ad7ad6
Removed 'lib' from plugin names for portability
rjoomen Jan 27, 2023
4ff1d53
Minor naming change
rjoomen Feb 15, 2023
c863e90
Last fixes to match 0.14
rjoomen Feb 15, 2023
984689b
Removed boost pointers and some 0.14 matching
rjoomen Feb 17, 2023
8e0d916
Revert "Removed unused rviz plugins and tesseract plugins"
rjoomen Feb 17, 2023
7e9588e
- Fixed topic properties
rjoomen Feb 17, 2023
d301291
Added internal executor, as spin_some is not thread safe.
rjoomen Feb 17, 2023
5fa9960
All examples compiling, all except 3 working
rjoomen Feb 17, 2023
95e439a
Added resource_retriever dependency
rjoomen Feb 20, 2023
37c8d02
Build fixes for Focal/Foxy
rjoomen Feb 22, 2023
704672f
Fixed duplicate include
rjoomen Feb 23, 2023
f2a5204
Callbacks return void, following ROS2 standards
rjoomen Feb 27, 2023
db1142d
Merge pull request #4 from rjoomen/0.14-parity
marrts Feb 27, 2023
611c814
Fixed timestamps for display trajectory
marrts Feb 27, 2023
868d444
Clang formatting
marrts Feb 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/focal_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ on:
pull_request:
schedule:
- cron: '0 5 * * 6'
workflow_dispatch:

jobs:
industrial_ci:
name: Foxy
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
CI_NAME: Focal-Build
OS_NAME: ubuntu
Expand All @@ -21,10 +22,9 @@ jobs:
UPSTREAM_WORKSPACE: 'dependencies.repos'
ROSDEP_SKIP_KEYS: "catkin taskflow"
DOCKER_IMAGE: "ros:foxy"
AFTER_INSTALL_UPSTREAM_DEPENDENCIES: "sh .ci-install-taskflow.sh"
PARALLEL_TESTS: false
NOT_TEST_BUILD: true
CCACHE_DIR: "/home/runner/work/tesseract_ros/tesseract_ros/Focal-Build/.ccache"
CCACHE_DIR: "/home/runner/work/tesseract_ros2/tesseract_ros2/Focal-Build/.ccache"
UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release"
TARGET_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Debug"
steps:
Expand Down
59 changes: 59 additions & 0 deletions .github/workflows/jammy_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Jammy-Build

on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 5 * * 6'
workflow_dispatch:

jobs:
industrial_ci:
name: Humble
runs-on: ubuntu-22.04
env:
CI_NAME: Jammy-Build
OS_NAME: ubuntu
OS_CODE_NAME: jammy
ROS_DISTRO: humble
ROS_REPO: main
UPSTREAM_WORKSPACE: 'dependencies.repos'
ROSDEP_SKIP_KEYS: "catkin taskflow orocos_kdl"
DOCKER_IMAGE: "ros:humble"
PARALLEL_TESTS: false
NOT_TEST_BUILD: true
CCACHE_DIR: "/home/runner/work/tesseract_ros2/tesseract_ros2/Jammy-Build/.ccache"
UPSTREAM_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Release"
TARGET_CMAKE_ARGS: "-DCMAKE_BUILD_TYPE=Debug"
steps:
- uses: actions/checkout@v1

- name: Free Disk Space
continue-on-error: true
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h

- name: Prepare ccache timestamp
id: ccache_cache_timestamp
shell: cmake -P {0}
run: |
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")

- name: ccache cache files
continue-on-error: true
uses: actions/[email protected]
with:
path: ${{ env.CI_NAME }}/.ccache
key: ${{ env.CI_NAME }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: |
${{ env.CI_NAME }}-ccache-

- uses: 'ros-industrial/industrial_ci@master'
env: ${{env}}
26 changes: 19 additions & 7 deletions dependencies.repos
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,44 @@ repositories:
descartes_light:
type: git
url: https://github.com/swri-robotics/descartes_light.git
version: 0.3.0
version: fbb74eb
fcl:
type: git
url: https://github.com/flexible-collision-library/fcl.git
version: 0.6.1
ifopt:
type: git
url: https://github.com/ethz-adrl/ifopt.git
version: master
version: 2.1.3
opw_kinematics:
type: git
url: https://github.com/Jmeyer1292/opw_kinematics.git
version: 0.4.3
version: 0.4.6
ros_industrial_cmake_boilerplate:
type: git
url: https://github.com/ros-industrial/ros_industrial_cmake_boilerplate.git
version: master
version: 0.3.1
taskflow:
type: git
url: https://github.com/taskflow/taskflow.git
version: v3.4.0
tesseract:
type: git
url: https://github.com/tesseract-robotics/tesseract.git
version: 0.7.0
version: 0.14.0
tesseract_planning:
type: git
url: https://github.com/tesseract-robotics/tesseract_planning.git
version: 0.7.0
version: 0.14.0
trajopt:
type: git
url: https://github.com/tesseract-robotics/trajopt.git
version: 0.2.0
version: 0.3.1
tesseract_qt:
type: git
url: https://github.com/tesseract-robotics/tesseract_qt.git
version: 0.14.0
Qt-Advanced-Docking-System:
type: git
url: https://github.com/Levi-Armstrong/Qt-Advanced-Docking-System.git
version: ros
38 changes: 25 additions & 13 deletions dependencies_unstable.rosinstall
Original file line number Diff line number Diff line change
@@ -1,28 +1,40 @@
- git:
local-name: descartes_light
uri: https://github.com/swri-robotics/descartes_light.git
version: master
- git:
local-name: fcl
uri: https://github.com/flexible-collision-library/fcl.git
version: master
- git:
local-name: ifopt
uri: https://github.com/ethz-adrl/ifopt.git
version: master
- git:
local-name: opw_kinematics
uri: https://github.com/Jmeyer1292/opw_kinematics.git
version: master
- git:
local-name: ros_industrial_cmake_boilerplate
uri: https://github.com/ros-industrial/ros_industrial_cmake_boilerplate.git
version: master
- git:
local-name: tesseract
uri: https://github.com/ros-industrial-consortium/tesseract.git
version: master
- git:
local-name: trajopt
uri: https://github.com/ros-industrial-consortium/trajopt_ros.git
uri: https://github.com/tesseract-robotics/tesseract.git
version: master
- git:
local-name: tesseract_planning
uri: https://github.com/ros-industrial-consortium/tesseract_planning.git
uri: https://github.com/tesseract-robotics/tesseract_planning.git
version: master
- git:
local-name: descartes_light
uri: https://github.com/swri-robotics/descartes_light.git
local-name: trajopt
uri: https://github.com/tesseract-robotics/trajopt.git
version: master
- git:
local-name: opw_kinematics
uri: https://github.com/Jmeyer1292/opw_kinematics.git
local-name: tesseract_qt
uri: https://github.com/tesseract-robotics/tesseract_qt.git
version: master
- git:
local-name: ifopt
uri: https://github.com/ethz-adrl/ifopt.git
version: master
local-name: Qt-Advanced-Docking-System
uri: https://github.com/Levi-Armstrong/Qt-Advanced-Docking-System.git
version: ros
52 changes: 30 additions & 22 deletions dependencies_with_ext.rosinstall
Original file line number Diff line number Diff line change
@@ -1,32 +1,40 @@
- git:
local-name: descartes_light
uri: https://github.com/swri-robotics/descartes_light.git
version: 0eeeaf216677112c24d8ec51b984044e7f62c209
- git:
local-name: fcl
uri: https://github.com/flexible-collision-library/fcl.git
version: 0.6.1
- git:
local-name: ifopt
uri: https://github.com/ethz-adrl/ifopt.git
version: 2.1.3
- git:
local-name: opw_kinematics
uri: https://github.com/Jmeyer1292/opw_kinematics.git
version: 0.4.5
- git:
local-name: ros_industrial_cmake_boilerplate
uri: https://github.com/ros-industrial/ros_industrial_cmake_boilerplate.git
version: 0.2.12
- git:
local-name: tesseract_ext
uri: https://github.com/ros-industrial-consortium/tesseract_ext.git
version: master
version: 0.2.15
- git:
local-name: tesseract
uri: https://github.com/ros-industrial-consortium/tesseract.git
version: 41cb83d03f388612412bdc0d8c0538086eb0c516
- git:
local-name: trajopt
uri: https://github.com/ros-industrial-consortium/trajopt_ros.git
version: f7c5b27ac87eee0d2e692741003f37efd78ebb76
uri: https://github.com/tesseract-robotics/tesseract.git
version: 0.14.0
- git:
local-name: tesseract_planning
uri: https://github.com/ros-industrial-consortium/tesseract_planning.git
version: 4c4073ae94923a52457b55f03edfeb82097632ed
uri: https://github.com/tesseract-robotics/tesseract_planning.git
version: 0.14.0
- git:
local-name: descartes_light
uri: https://github.com/swri-robotics/descartes_light.git
version: 0eeeaf216677112c24d8ec51b984044e7f62c209
local-name: trajopt
uri: https://github.com/tesseract-robotics/trajopt.git
version: 0.3.1
- git:
local-name: opw_kinematics
uri: https://github.com/Jmeyer1292/opw_kinematics.git
version: 0.4.3
local-name: tesseract_qt
uri: https://github.com/tesseract-robotics/tesseract_qt.git
version: 0c47b534b26157d9dfd5358a01afe24c978c5ed9
- git:
local-name: ifopt
uri: https://github.com/ethz-adrl/ifopt.git
version: 27451ce3212d3c0ccd3a0db9a1ee9a9963466674
local-name: Qt-Advanced-Docking-System
uri: https://github.com/Levi-Armstrong/Qt-Advanced-Docking-System.git
version: ros
69 changes: 19 additions & 50 deletions tesseract_monitoring/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,11 @@ find_package(ros_industrial_cmake_boilerplate REQUIRED)
extract_package_metadata(pkg)
project(${pkg_extracted_name} VERSION ${pkg_extracted_version} LANGUAGES CXX)

# find_package(orocos_kdl REQUIRED)
# find_package(Eigen3 REQUIRED)

find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
# ROS
find_package(pluginlib REQUIRED)
find_package(tesseract_msgs REQUIRED)

# find_package(visualization_msgs REQUIRED)
# find_package(tf2_ros REQUIRED)
# find_package(tf2_eigen REQUIRED)

find_package(tesseract_common REQUIRED)
find_package(tesseract_environment REQUIRED)
# tesseract_ros2
find_package(tesseract_rosutils REQUIRED)

#generate_dynamic_reconfigure_options(
#cfg/EnvironmentMonitorDynamicReconfigure.cfg
#)

# Load variable for clang tidy args, compiler options and cxx version
tesseract_variables()

Expand All @@ -34,34 +19,30 @@ add_library(${PROJECT_NAME}_environment SHARED
src/current_state_monitor.cpp
)
target_link_libraries(${PROJECT_NAME}_environment PUBLIC
rclcpp::rclcpp
pluginlib::pluginlib
tesseract_rosutils::tesseract_rosutils
)
target_compile_options(${PROJECT_NAME}_environment PRIVATE ${TESSERACT_COMPILE_OPTIONS})
target_clang_tidy(${PROJECT_NAME}_environment ARGUMENTS ${TESSERACT_CLANG_TIDY_ARGS} ENABLE ${TESSERACT_ENABLE_CLANG_TIDY})
target_cxx_version(${PROJECT_NAME}_environment PUBLIC VERSION 17)
target_cxx_version(${PROJECT_NAME}_environment PUBLIC VERSION ${TESSERACT_CXX_VERSION})
target_include_directories(${PROJECT_NAME}_environment PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
"$<INSTALL_INTERFACE:include>")
ament_target_dependencies(${PROJECT_NAME}_environment PUBLIC
tesseract_msgs
pluginlib
)

# add_executable(${PROJECT_NAME}_environment_node src/environment_monitor_node.cpp)
# target_link_libraries(${PROJECT_NAME}_environment_node PRIVATE ${PROJECT_NAME}_environment ${catkin_LIBRARIES})
# target_compile_options(${PROJECT_NAME}_environment_node PRIVATE ${TESSERACT_COMPILE_OPTIONS})
# target_clang_tidy(${PROJECT_NAME}_environment_node ARGUMENTS ${TESSERACT_CLANG_TIDY_ARGS} ENABLE ${TESSERACT_ENABLE_CLANG_TIDY})
# target_cxx_version(${PROJECT_NAME}_environment_node PRIVATE VERSION 17)
# target_include_directories(${PROJECT_NAME}_environment_node PUBLIC
# " $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
# "$<INSTALL_INTERFACE:include>")
add_executable(${PROJECT_NAME}_environment_node src/environment_monitor_node.cpp)
target_link_libraries(${PROJECT_NAME}_environment_node PRIVATE ${PROJECT_NAME}_environment ${catkin_LIBRARIES})
target_compile_options(${PROJECT_NAME}_environment_node PRIVATE ${TESSERACT_COMPILE_OPTIONS})
target_clang_tidy(${PROJECT_NAME}_environment_node ARGUMENTS ${TESSERACT_CLANG_TIDY_ARGS} ENABLE ${TESSERACT_ENABLE_CLANG_TIDY})
target_cxx_version(${PROJECT_NAME}_environment_node PRIVATE VERSION ${TESSERACT_CXX_VERSION})
target_include_directories(${PROJECT_NAME}_environment_node PUBLIC
" $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
"$<INSTALL_INTERFACE:include>")

# add_library(${PROJECT_NAME}_contacts src/contact_monitor.cpp)
# target_link_libraries(${PROJECT_NAME}_contacts PRIVATE tesseract::tesseract_environment ${PROJECT_NAME}_environment ${catkin_LIBRARIES})
# target_compile_options(${PROJECT_NAME}_contacts PRIVATE ${TESSERACT_COMPILE_OPTIONS})
# target_clang_tidy(${PROJECT_NAME}_contacts ARGUMENTS ${TESSERACT_CLANG_TIDY_ARGS} ENABLE ${TESSERACT_ENABLE_CLANG_TIDY})
# target_cxx_version(${PROJECT_NAME}_contacts PUBLIC VERSION 17)
# target_cxx_version(${PROJECT_NAME}_contacts PUBLIC VERSION ${TESSERACT_CXX_VERSION})
# target_include_directories(${PROJECT_NAME}_contacts PRIVATE
# "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
# "$<INSTALL_INTERFACE:include>")
Expand All @@ -71,31 +52,27 @@ ament_target_dependencies(${PROJECT_NAME}_environment PUBLIC
# target_link_libraries(${PROJECT_NAME}_contacts_node PRIVATE tesseract::tesseract_environment ${PROJECT_NAME}_contacts ${catkin_LIBRARIES})
# target_compile_options(${PROJECT_NAME}_contacts_node PRIVATE ${TESSERACT_COMPILE_OPTIONS})
# target_clang_tidy(${PROJECT_NAME}_contacts_node ARGUMENTS ${TESSERACT_CLANG_TIDY_ARGS} ENABLE ${TESSERACT_ENABLE_CLANG_TIDY})
# target_cxx_version(${PROJECT_NAME}_contacts_node PRIVATE VERSION 17)
# target_cxx_version(${PROJECT_NAME}_contacts_node PRIVATE VERSION ${TESSERACT_CXX_VERSION})
# target_include_directories(${PROJECT_NAME}_contacts_node PRIVATE
# "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
# "$<INSTALL_INTERFACE:include>")

add_library(${PROJECT_NAME}_environment_interface SHARED src/environment_monitor_interface.cpp)
target_link_libraries(${PROJECT_NAME}_environment_interface PUBLIC
tesseract::tesseract_environment
tesseract_rosutils::tesseract_rosutils
)
target_compile_options(${PROJECT_NAME}_environment_interface PRIVATE ${TESSERACT_COMPILE_OPTIONS})
target_clang_tidy(${PROJECT_NAME}_environment_interface ARGUMENTS ${TESSERACT_CLANG_TIDY_ARGS} ENABLE ${TESSERACT_ENABLE_CLANG_TIDY})
target_cxx_version(${PROJECT_NAME}_environment_interface PUBLIC VERSION 17)
target_cxx_version(${PROJECT_NAME}_environment_interface PUBLIC VERSION ${TESSERACT_CXX_VERSION})
target_include_directories(${PROJECT_NAME}_environment_interface PUBLIC
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
"$<INSTALL_INTERFACE:include>")
ament_target_dependencies(${PROJECT_NAME}_environment_interface PUBLIC
tesseract_msgs
)

# add_executable(demo_scene demos/demo_scene.cpp)
# target_link_libraries(demo_scene PRIVATE ${PROJECT_NAME}_environment ${catkin_LIBRARIES})
# target_compile_options(demo_scene PRIVATE ${TESSERACT_COMPILE_OPTIONS})
# target_clang_tidy(demo_scene ARGUMENTS ${TESSERACT_CLANG_TIDY_ARGS} ENABLE ${TESSERACT_ENABLE_CLANG_TIDY})
# target_cxx_version(demo_scene PRIVATE VERSION 17)
# target_cxx_version(demo_scene PRIVATE VERSION ${TESSERACT_CXX_VERSION})
# target_include_directories(demo_scene PUBLIC
# "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
# "$<INSTALL_INTERFACE:include>")
Expand All @@ -110,13 +87,14 @@ install(
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin
INCLUDES DESTINATION include
)

# Mark executables for installation
install(
TARGETS
# ${PROJECT_NAME}_contacts_node
# ${PROJECT_NAME}_environment_node
# ${PROJECT_NAME}_contacts_node
${PROJECT_NAME}_environment_node
# demo_scene
RUNTIME DESTINATION lib/${PROJECT_NAME}
)
Expand All @@ -126,17 +104,8 @@ install(DIRECTORY launch DESTINATION share/${PROJECT_NAME})

ament_export_targets(${PROJECT_NAME}-targets HAS_LIBRARY_TARGET)
ament_export_dependencies(
rclcpp
pluginlib
tesseract_msgs
tesseract_rosutils
# tf2_ros
# tf2_eigen
# visualization_msgs
# Eigen3
# orocos_kdl
tesseract_common
tesseract_environment
)

ament_package()
Loading