- glog
- gflags
- Lua5.1
- LibTorch: Requires the cxx11 ABI version libtorch. Unpack the libtorch zip
file to
/opt/libtorch. - Optional, if using libtorch with an Nvidia GPU:
Install both CUDA and CuDNN - these are separate installations.
You can install the system dependencies on *buntu using:
sudo apt install libgoogle-glog-dev libgflags-dev liblua5.1-0-dev
-
Add the project directory to
ROS_PACKAGE_PATH:export ROS_PACKAGE_PATH=MYDIRECTORY:$ROS_PACKAGE_PATH(Replace
MYDIRECTORYwith the actual directory) You can also add this to your~/.bashrcfile so that you don't have to do this every time you open a new terminal. -
Run
git submodule update --init --recursiveto pull all the submodules -
Build the program (do not run
cmake,catkin_make,rosbuild):makeOptionally, to compile on all cores (make sure you have sufficient RAM!)
make -j
Run ./bin/navigation
Some helpful flags:
_image_transport:=compressedto tell it to subscribe to the compressed stream of the image transport (useful when playing back a bag file that only included the compressed stream).--debug_imagesto show debug visualization images.