Open eliabruni opened 3 years ago
Hi, I have the same issue as described here. I tried building within a container and outside of the container. Is it that moveit can not be built from source on jetson? Even though the noetic desktop can ? Are there any more ideas om how to resolve this?
Thanks for that - will give it a try - appreciate it.
Kind Regards,
Anthony
T: +44 (0)1224 929010
M: +44(0)7855 264204
Unit 14 Hareness Trade Park, Hareness Road, Altens, AB12 3LE
[image: DNV GL Logo & UKAS 0013]
www.qltech.net
Quantum Leap Technologies (QL Tech) Limited is a limited company registered in England. Company Registered No 8921426. Registered office: Seaways, Restronguet Point, Feock, Truro, Cornwall, TR3 6RL. Private and confidential: This e-mail transmission is strictly confidential and intended solely for the person or organisation to whom it is addressed. If you are not the intended recipient, you must not copy, disclose, distribute or take any action in reliance on it. If you have received this e-mail in error, please notify us and then delete it as soon as possible. The sender of this email, or QL Tech Ltd., is not responsible for any changes made to it or any attachments after transmission. It is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect their systems or data. Please carry out virus and other such checks as you consider appropriate.
On Sun, Nov 21, 2021 at 8:39 PM Elia Bruni @.***> wrote:
Here is how I solved it:
RUN apt-get update && \ apt-get install --no-install-recommends --no-install-suggests --yes \ build-essential \ cmake \ libbullet-dev \ python3-colcon-common-extensions \ python3-flake8 \ python3-pip \ python3-pytest-cov \ python3-rosdep \ python3-setuptools \ python3-vcstool \ wget \ clang-format-10 \ && \ apt-get clean && \ rm -rf /var/lib/apt/lists/*
install some pip packages needed for testing
RUN python3 -m pip install -U \ argcomplete \ flake8-blind-except \ flake8-builtins \ flake8-class-newline \ flake8-comprehensions \ flake8-deprecated \ flake8-docstrings \ flake8-import-order \ flake8-quotes \ pytest-repeat \ pytest-rerunfailures \ pytest
create workspace
ENV COLCON_WS=/ws_moveit2 RUN mkdir -p $COLCON_WS/src WORKDIR $COLCON_WS/src
get repo
RUN git clone https://github.com/ros-planning/moveit2.git RUN git clone https://github.com/ros-planning/moveit2_tutorials.git RUN vcs import < moveit2/moveit2.repos RUN vcs import < moveit2_tutorials/moveit2_tutorials.repos
install
RUN apt-get update && \ rosdep install -r --from-paths $COLCON_WS/src --ignore-src --rosdistro foxy -y
WORKDIR $COLCON_WS
Set the gcc default back to 9.3
RUN update-alternatives --remove-all gcc && \ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 800 --slave /usr/bin/g++ g++ /usr/bin/g++-9
build moveit2
moveit2 requires access to the installation of ROS2, hence we need this hacky implementation in which we source
the installation
RUN /bin/bash -c "source $ROS_ROOT/setup.bash ; colcon build --event-handlers desktop_notification- status- --cmake-args -DCMAKE_BUILD_TYPE=Release"
source workspace
RUN echo "source $COLCON_WS/install/setup.bash" >> /root/.bashrc
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dusty-nv/jetson-containers/issues/46#issuecomment-974892169, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJT6MLSNLQOBL5FQ7M74DRLUNFKJRANCNFSM4XNLPZUA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hi Just realised this is for ros2 foxy. We are wanting noetic. Thanks
On Sun, 21 Nov 2021 at 20:39, Elia Bruni @.***> wrote:
Here is how I solved it:
RUN apt-get update && \ apt-get install --no-install-recommends --no-install-suggests --yes \ build-essential \ cmake \ libbullet-dev \ python3-colcon-common-extensions \ python3-flake8 \ python3-pip \ python3-pytest-cov \ python3-rosdep \ python3-setuptools \ python3-vcstool \ wget \ clang-format-10 \ && \ apt-get clean && \ rm -rf /var/lib/apt/lists/*
install some pip packages needed for testing
RUN python3 -m pip install -U \ argcomplete \ flake8-blind-except \ flake8-builtins \ flake8-class-newline \ flake8-comprehensions \ flake8-deprecated \ flake8-docstrings \ flake8-import-order \ flake8-quotes \ pytest-repeat \ pytest-rerunfailures \ pytest
create workspace
ENV COLCON_WS=/ws_moveit2 RUN mkdir -p $COLCON_WS/src WORKDIR $COLCON_WS/src
get repo
RUN git clone https://github.com/ros-planning/moveit2.git RUN git clone https://github.com/ros-planning/moveit2_tutorials.git RUN vcs import < moveit2/moveit2.repos RUN vcs import < moveit2_tutorials/moveit2_tutorials.repos
install
RUN apt-get update && \ rosdep install -r --from-paths $COLCON_WS/src --ignore-src --rosdistro foxy -y
WORKDIR $COLCON_WS
Set the gcc default back to 9.3
RUN update-alternatives --remove-all gcc && \ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 800 --slave /usr/bin/g++ g++ /usr/bin/g++-9
build moveit2
moveit2 requires access to the installation of ROS2, hence we need this hacky implementation in which we source
the installation
RUN /bin/bash -c "source $ROS_ROOT/setup.bash ; colcon build --event-handlers desktop_notification- status- --cmake-args -DCMAKE_BUILD_TYPE=Release"
source workspace
RUN echo "source $COLCON_WS/install/setup.bash" >> /root/.bashrc
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dusty-nv/jetson-containers/issues/46#issuecomment-974892169, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJT6MLSNLQOBL5FQ7M74DRLUNFKJRANCNFSM4XNLPZUA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hey, indeed that's why I removed the comment. I am not sure we managed to make Noetic work in the end.
Ok, thanks.
On Mon, 22 Nov 2021 at 14:51, Elia Bruni @.***> wrote:
Hey, indeed that's why I removed the comment. I am not sure we managed to make Noetic work in the end.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dusty-nv/jetson-containers/issues/46#issuecomment-975606343, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJT6MLXH6HLNCUHTM4KXEETUNJKHBANCNFSM4XNLPZUA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hi!
I am trying to build Moveit! from source as explained here within
Dockerfile.ros.noetic
, but I am having some issues.Here is what I am trying in the Dockerfile, right after line 54:
And this is what I am getting:
Any ideas how to solve it?
Thanks!