...
Code Block | ||
---|---|---|
| ||
sudo apt update && sudo apt install curl gnupg lsb-release sudo curl -sSL <httpshttps://raw.githubusercontent.com/ros/rosdistro/master/ros.key>key -o /usr/share/keyrings/ros-archive-keyring.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] <http://packages.ros.org/ros2/ubuntu> $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null sudo apt install ros-galactic-desktop source /opt/ros/galactic/setup.bash ros2 run demo_nodes_cpp talker |
...
Code Block | ||
---|---|---|
| ||
sudo apt install git git clone <httpshttps://github.com/opencv/opencv.git>git git clone <httpshttps://github.com/opencv/opencv_contrib.git>git sudo apt install build-essential cmake git pkg-config libpng-dev libtiff-dev gfortran openexr libgtk-3-dev libavcodec-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore-dev libx264-dev libjpeg-dev libatlas-base-dev python3-dev python3-numpy libtbb2 libtbb-dev libdc1394-22-dev libopenexr-devls cd opencv mkdir build cd build cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_CUDA=OFF -D INSTALL_PYTHON_EXAMPLES=ON -D OPENCV_GENERATE_PKGCONFIG=ON -D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib/modules -D OPENCV_ENABLE_NONFREE=ON -D BUILD_EXAMPLES=ON .. make -j8 // (replace the 8 by the number of usable cores on your machine) sudo make install sudo apt install python3-opencv libopencv-dev |
...
Code Block | ||
---|---|---|
| ||
git clone <httpshttps://bitbucket.org/navtechradar/iasdk-public.git>git |
Install Colcon (the ROS2 build tool)
...