Closed AndreV84 closed 4 years ago
FROM nvcr.io/nvidia/l4t-base:r32.4.3
RUN apt-get update -y
RUN apt install -y wget software-properties-common apt-utils curl git
RUN /bin/bash -c 'echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros-latest.list'
RUN apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
RUN apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key
RUN apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE
RUN add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u
RUN apt-get update -y
ENV TZ America/Los_Angeles
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y tzdata git curl cmake wget mc mlocate
RUN DEBIAN_FRONTEND="noninteractive" apt install -y ros-melodic-desktop clang-format ros-melodic-desktop-full python-pip python3-pip python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential
RUN apt update -y
#RUN rm -rf /var/lib/apt/lists
RUN apt-get install -y librealsense2-dev librealsense2-utils
RUN apt install -y ros-melodic-ddynamic-reconfigure ros-melodic-rtabmap-ros
RUN dpkg-reconfigure --frontend noninteractive tzdata
RUN rm -rf /var/lib/apt/lists
WORKDIR /home/nvidia/ws
RUN wget https://github.com/IntelRealSense/librealsense/archive/v2.36.0.tar.gz && tar -xvf v2.36.0.tar.gz
RUN cd librealsense-2.36.0 && ls && mkdir build && cd build && cmake ../ -DFORCE_RSUSB_BACKEND=true -DBUILD_PYTHON_BINDINGS=true -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=true -DBUILD_GRAPHICAL_EXAMPLES=true && make -j8 && make install
RUN mkdir src && cd src && git clone https://github.com/intel-ros/realsense.git -b development
# && git clone https://github.com/slamtec/rplidar_ros
COPY realsense-ros/occupancy src/occupancy
RUN rosdep init && rosdep update
RUN /bin/bash -c '. /opt/ros/melodic/setup.bash; cd /home/nvidia/ws; rosdep install --from-paths src --ignore-src; catkin_make
@AndreV84 Could you please provide more detailed information about this ticket?
Camera Model: Firmware Version: Operating System & Version: Platform: SDK Version: ROS Wrapper Version:
Hello, Thank you for following up. tried cameras D453i & d435, also t265 and L515; firmware versions latest; OS Linux tegra; hardware arm nvidia Jetson AGX ; basically the error log contains firmware verrsion & sdk version etc. You should be able to read all corresponding information from the first post that contains the full error log:
]: started with pid [83]
[ INFO] [1595601167.809086587]: RealSense ROS v2.2.15
[ INFO] [1595601167.809206848]: Built with LibRealSense v2.36.0
[ INFO] [1595601167.809302851]: Running with LibRealSense v2.36.0
[ INFO] [1595601167.835399418]:
Maybe you could also let me know how to save point cloud dfrom combined t265&d435? from combined t265&d435&l515? how to save point cloud outputs from them? without using any GUI, but from terminal, using command?
@AndreV84 We have one branch about occupancy mapping. Not sure if you have read about it. Please see https://github.com/IntelRealSense/realsense-ros/tree/occupancy-mapping#occupancy-mapping-with-t265-and-d435d415 You can try based on this.
Thank you for sharing the url! I shall try it on Nvidia Jetson Xavier device. Also within docker container. still odds are reasonable that it will work, huh?
from devs "The problem is rviz doesn’t address 3D reconstruction Rviz is the real-time pose You can see it in rviz But you need something to make all the frames combine" Is there any solution for the concern quoted? Thanks
@AndreV84 We have one branch about occupancy mapping. Not sure if you have read about it. Please see https://github.com/IntelRealSense/realsense-ros/tree/occupancy-mapping#occupancy-mapping-with-t265-and-d435d415 You can try based on this.
This branch does not seem to be maintained and it did not work for me and several other people. I have tried on RPI4 and Nano with same error (Ubuntu 18, ros-melodic). If you follow the steps, you will get same error, namely for some reason T265 wont launch when D415 is launched. Seperately, they work fine in both realsense-viewer and other example lauch files.
@samurairepo Could you please provide more details about the error such as the log or snapshot? And what's the version of librealsense and FW used when you get the issue? Thanks!
@samurairepo I just tried this https://github.com/IntelRealSense/realsense-ros/tree/occupancy-mapping#occupancy-mapping-with-t265-and-d435d415 on my Ubuntu18.04 setup and didn't any error. Could you please double check https://github.com/IntelRealSense/realsense-ros/blob/occupancy-mapping/README.md to see if any step missing in your testing? Thanks!
@AndreV84 @samurairepo Any other questions about this? Looking forward to your update. Thanks!
Thank you for the update! I just notetd just I should try https://github.com/IntelRealSense/realsense-ros/tree/occupancy-mapping#occupancy-mapping-with-t265-and-d435d415 May I know what is the processor instrtuction set of the computer u used? x84_64?
@AndreV84 My setup is Intel Core i3-3227U @1.9GHz x 4, 64bit. For your reference. Thanks!
@AndreV84 Did you get chance to try and any update? Thanks!
lets close it as for today.
could you comment on occupancy package, please? Dockerfile
Full error
Originally posted by @AndreV84 in https://github.com/IntelRealSense/realsense-ros/issues/1287#issuecomment-663577090