project builds

This commit is contained in:
Jakub Delicat 2022-09-21 18:10:39 +02:00
parent d60c337199
commit 598f597d53
4 changed files with 9 additions and 5 deletions

View File

@ -87,5 +87,6 @@
], ],
"python.analysis.extraPaths": [ "python.analysis.extraPaths": [
"/opt/ros/foxy/lib/python3.8/site-packages" "/opt/ros/foxy/lib/python3.8/site-packages"
] ],
"ros.distro": "humble"
} }

View File

@ -11,6 +11,7 @@ RUN apt-get update && \
COPY ./src/AriaCoda /usr/local/Aria COPY ./src/AriaCoda /usr/local/Aria
RUN cd /usr/local/Aria && make -j$(nproc) RUN cd /usr/local/Aria && make -j$(nproc)
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Aria/lib
RUN echo "source /opt/ros/$ROS_DISTRO/setup.bash" >> ~/.bashrc RUN echo "source /opt/ros/$ROS_DISTRO/setup.bash" >> ~/.bashrc
COPY ros_entrypoint.sh / COPY ros_entrypoint.sh /

5
compose.ros2aria.yaml Normal file
View File

@ -0,0 +1,5 @@
version: "3"
services:
ros2aria:
build: .
command: ros2 run ros2aria ros2aria

View File

@ -26,9 +26,6 @@ find_package(tf2 REQUIRED)
find_package(tf2_ros REQUIRED) find_package(tf2_ros REQUIRED)
find_package(tf2_geometry_msgs REQUIRED) find_package(tf2_geometry_msgs REQUIRED)
find_package(ros2aria_msgs REQUIRED) find_package(ros2aria_msgs REQUIRED)
# uncomment the following section in order to fill in
# further dependencies manually.
# find_package(<dependency> REQUIRED)
add_executable(ros2aria add_executable(ros2aria