grid_map
grid_map copied to clipboard
fix: make demos work
- add execution dependencies
- update declare parameter api
@maximilianwulf Could you try to work demos with rocker? Here is my docker image.
sudo apt-get install python3-rocker
docker pull ghcr.io/wep21/grid_map:fix-demo
rocker --nvidia --x11 --user --home ghcr.io/wep21/grid_map:fix-demo
Dockerfile(if you build docker image)
ARG ROS_DISTRO=humble
ARG OVERLAY_WS=/opt/overlay_ws
FROM ros:${ROS_DISTRO}
ARG ROS_DISTRO
ARG OVERLAY_WS
WORKDIR $OVERLAY_WS/src
COPY ./ ./grid_map
WORKDIR $OVERLAY_WS
ENV ROS_DISTRO=${ROS_DISTRO}
RUN apt-get update \
&& rosdep update \
&& rosdep install --from-paths src --ignore-src -y \
&& apt install -y --no-install-recommends ros-${ROS_DISTRO}-rmw-cyclonedds-cpp \
&& rm -rf /var/lib/apt/lists/*
RUN . /opt/ros/$ROS_DISTRO/setup.sh && \
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --merge-install \
--packages-up-to grid_map \
--event-handlers console_cohesion+
ENV OVERLAY_WS=${OVERLAY_WS}
# source entrypoint setup
RUN sed --in-place --expression \
'$isource "$OVERLAY_WS/install/setup.bash"' \
/ros_entrypoint.sh
ENTRYPOINT ["/ros_entrypoint.sh"]
CMD ["bash"]
WORKDIR /
@maximilianwulf friendly ping
@maximilianwulf Can I merge this PR and bump version 2.0.0 for ros2 release?
@maximilianwulf friendly ping
@maximilianwulf I will merge this PR and bump version 2.0.0 for ros2. Please let me know if you have any trouble with these changes.
@maximilianwulf FYI, I created a PR toward rosdistro.