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

Dockerfile && PGO CMake file && config files' bugs #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FAST-LIO/config/avia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ mapping:

publish:
scan_publish_en: true # 'false' will close all the point cloud output
dense_publish_en: ture # false will low down the points number in a global-frame point clouds scan.
dense_publish_en: true # false will low down the points number in a global-frame point clouds scan.
scan_bodyframe_pub_en: true # output the point cloud scans in IMU-body-frame
2 changes: 1 addition & 1 deletion FAST-LIO/config/horizon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ mapping:

publish:
scan_publish_en: true # 'false' will close all the point cloud output
dense_publish_en: ture # false will low down the points number in a global-frame point clouds scan.
dense_publish_en: true # false will low down the points number in a global-frame point clouds scan.
scan_bodyframe_pub_en: true # output the point cloud scans in IMU-body-frame
2 changes: 1 addition & 1 deletion FAST-LIO/config/ouster64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ mapping:

publish:
scan_publish_en: true # 'false' will close all the point cloud output
dense_publish_en: ture # false will low down the points number in a global-frame point clouds scan.
dense_publish_en: true # false will low down the points number in a global-frame point clouds scan.
scan_bodyframe_pub_en: true # output the point cloud scans in IMU-body-frame
2 changes: 1 addition & 1 deletion FAST-LIO/config/ouster64_mulran.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ mapping:

publish:
scan_publish_en: true # 'false' will close all the point cloud output
dense_publish_en: ture # false will low down the points number in a global-frame point clouds scan.
dense_publish_en: true # false will low down the points number in a global-frame point clouds scan.
scan_bodyframe_pub_en: true # output the point cloud scans in IMU-body-frame
2 changes: 1 addition & 1 deletion FAST-LIO/config/velodyne.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ mapping:

publish:
scan_publish_en: true # 'false' will close all the point cloud output
dense_publish_en: ture # false will low down the points number in a global-frame point clouds scan.
dense_publish_en: true # false will low down the points number in a global-frame point clouds scan.
scan_bodyframe_pub_en: true # output the point cloud scans in IMU-body-frame
2 changes: 1 addition & 1 deletion FAST-LIO/config/velodyne16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ mapping:

publish:
scan_publish_en: true # 'false' will close all the point cloud output
dense_publish_en: ture # false will low down the points number in a global-frame point clouds scan.
dense_publish_en: true # false will low down the points number in a global-frame point clouds scan.
scan_bodyframe_pub_en: true # output the point cloud scans in IMU-body-frame
1 change: 1 addition & 0 deletions PGO/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ find_package(catkin REQUIRED COMPONENTS
)

#find_package(Eigen3 REQUIRED)
find_package(Boost REQUIRED COMPONENTS timer)
find_package(PCL REQUIRED)
find_package(OpenCV REQUIRED)
find_package(Ceres REQUIRED)
Expand Down
45 changes: 45 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
FROM ros:melodic

RUN apt-get update && apt-get install -y --no-install-recommends \
&& apt-get install -y --no-install-recommends \
wget nano build-essential libomp-dev clang lld\
ros-melodic-geodesy ros-melodic-pcl-ros ros-melodic-nmea-msgs \
ros-melodic-rviz ros-melodic-tf-conversions ros-melodic-libg2o \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN mkdir -p /root/catkin_ws/src
WORKDIR /root/catkin_ws/
#RUN /bin/bash -c '. /opt/ros/melodic/setup.bash; catkin_init_workspace'
RUN apt-get update && apt-get install -y openssh-server
RUN mkdir /var/run/sshd
RUN echo 'root:password' | chpasswd
RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
RUN echo 'PermitEmptyPasswords yes' >> /etc/ssh/sshd_config

CMD ["/usr/sbin/sshd", "-D"]
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:borglab/gtsam-release-4.0
RUN apt-get install cmake
RUN apt-get install libgoogle-glog-dev libgflags-dev -y
RUN apt-get install libatlas-base-dev -y
RUN apt-get install libeigen3-dev -y
RUN apt-get install libsuitesparse-dev -y
RUN apt install libceres-dev -y
RUN apt update -y
RUN apt install libgtsam-dev libgtsam-unstable-dev -y
RUN apt install libboost-all-dev -y
WORKDIR /root/catkin_ws/src/
RUN git clone https://github.com/Fadimee/FAST_LIO_LC.git --recursive
RUN apt install ros-melodic-eigen-conversions -y
RUN apt install ros-melodic-cv-bridge -y

#COPY . /root/catkin_ws/src/FAST_LIO_LC/

WORKDIR /root/catkin_ws/
RUN /bin/bash -c '. /opt/ros/melodic/setup.bash; catkin_make'
RUN sed -i "6i source \"/root/catkin_ws/devel/setup.bash\"" /ros_entrypoint.sh

ENTRYPOINT ["/ros_entrypoint.sh"]
ENV DISPLAY=novnc:0.0
CMD ["bash"]