This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
block the automatic modifications to file resolv.conf file: | |
sudo chattr -f +i /etc/resolv.conf | |
undo: | |
sudo chattr -f -i /etc/resolv.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07) | |
DeviceName: Intel Dual Band Wireless-AC 9560 802.11 AC 2x2 WiFi + BT 5 Combo Adapter | |
Subsystem: Hewlett-Packard Company Device 846a | |
Flags: bus master, fast devsel, latency 0 | |
Capabilities: <access denied> | |
Kernel driver in use: skl_uncore | |
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode]) | |
Flags: bus master, fast devsel, latency 0, IRQ 121 | |
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) [CUDA/cuDNN installation](https://gist.github.com/woosal1337/54a113dcd46bdba241c119928003351f) (optional for faster processing and higher fps rate on opencv a.k.a video transmission and image processing) | |
2) [OpenCV installation](https://gist.github.com/woosal1337/eef9cd11a29d50a09851502b22a3e064) (build for faster processing and higher fps rate on opencv a.k.a video transmission and image processing) | |
3) [PX4 installation]() | |
4) MAVSDK (c++ & python optional) | |
5) ROS (Noetic for Ubuntu 20.04LTS p.s the same goes for the Ubuntu 18.04, however the Noetic switches to the Melodic) | |
6) first `catkin` project | |
7) run the projects with custom scripts | |
### guide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' | |
``` | |
``` | |
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add - | |
``` | |
``` | |
sudo apt update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
git clone https://github.com/PX4/PX4-Autopilot.git --recursive | |
``` | |
``` | |
bash ./PX4-Autopilot/Tools/setup/ubuntu.sh | |
``` | |
make sure to reboot the device before launching px4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
general prerequisites: | |
``` | |
$ sudo apt install build-essential cmake pkg-config unzip yasm git checkinstall | |
$ sudo apt install libjpeg-dev libpng-dev libtiff-dev | |
$ sudo apt install libavcodec-dev libavformat-dev libswscale-dev libavresample-dev | |
$ sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev | |
$ sudo apt install libxvidcore-dev x264 libx264-dev libfaac-dev libmp3lame-dev libtheora-dev | |
$ sudo apt install libfaac-dev libmp3lame-dev libvorbis-dev | |
$ sudo apt install libopencore-amrnb-dev libopencore-amrwb-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`cd PX4-Autopilot/` | |
`roslaunch px4 mavros_posix_sitl.launch` | |
# Run to define the environmental variables: | |
``` | |
source Tools/setup_gazebo.bash /home/woosal/PX4-Autopilot /home/woosal/PX4-Autopilot/build/px4_sitl_default | |
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/woosal/PX4-Autopilot | |
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/woosal/PX4-Autopilot/Tools/sitl_gazebo | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Robert C. Martin - Clean Code (2008) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" plugins | |
let need_to_install_plugins = 0 | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
let need_to_install_plugins = 1 | |
endif | |
call plug#begin() | |
Plug 'tpope/vim-sensible' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[ $TERM != "screen" ]] && exec tmux |