This file contains hidden or 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
cmake_minimum_required(VERSION 3.5) | |
project(Ardupilot) | |
add_compile_options(-std=c++11) | |
set(TARGET_PLATFORM sitl) | |
#set(TARGET_PLATFORM chibios) | |
#set(TARGET_PLATFORM linux) | |
string(TOUPPER ${TARGET_PLATFORM} TARGET_PLATFORM_UPPER) | |
# To work with SITL |
This file contains hidden or 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
# See http://www.viva64.com/en/b/0457/ , http://www.viva64.com/en/b/0457/ , http://www.viva64.com/en/m/0036/ | |
git clone https://github.com/viva64/how-to-use-pvs-studio-free | |
cd how-to-use-pvs-studio-free | |
mkdir build | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=Release .. | |
make | |
sudo make install |
This file contains hidden or 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
module load graph | |
@alias add g graph | |
@alias add gservo13 g SERVO_OUTPUT_RAW.servo1_raw SERVO_OUTPUT_RAW.servo3_raw | |
@alias add gservo4 g SERVO_OUTPUT_RAW.servo1_raw SERVO_OUTPUT_RAW.servo2_raw SERVO_OUTPUT_RAW.servo3_raw SERVO_OUTPUT_RAW.servo4_raw |
This file contains hidden or 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
dans /usr/share/themes/Numix changer #f0544c par autre chose | |
grep -rl "#f0544c" /usr/share/themes/Numix/ | xargs sed -i 's/#f0544c/#4E48ef/g' | |
grep -rl "#f06860" /usr/share/themes/Numix/ | xargs sed -i 's/#f06860/#645def/g' | |
grep -rl "#4E48EF" /usr/share/themes/Numix/ | xargs sed -i 's/#4E48EF/#8fb2cf/g' | |
grep -rl "#645def" /usr/share/themes/Numix/ | xargs sed -i 's/#645def/#148add/g' |
This file contains hidden or 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
from __future__ import print_function | |
import pymavlink.mavutil as mavutil | |
import sys | |
import time | |
#if len(sys.argv) != 3: | |
# print("Usage: %s <ip:udp_port> <system-id>" % (sys.argv[0])) | |
# print("Receive mavlink heartbeats on specified interface. " | |
# "Respond with a ping message") |
This file contains hidden or 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 cherry-pick $(git log --format=oneline --no-merges branch..source/branch directory | tac | cut -d " " -f 1) |
This file contains hidden or 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 update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 50 --slave /usr/bin/g++ g++ /usr/bin/g++-9 |
This file contains hidden or 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 apt update && sudo apt upgrade && sudo apt full-upgrade | |
sudo apt purge firefox-locale-ar firefox-locale-de firefox-locale-es firefox-locale-it firefox-locale-ja firefox-locale-pt firefox-locale-ru firefox-locale-zh-hans firefox-locale-zh-hant witalian wbrazilian wngerman wogerman wportuguese wspanish wswiss tegaki-zinnia-japanese mythes-ar mythes-de mythes-de-ch mythes-en-au mythes-es mythes-it mythes-pt-pt mythes-ru modemmanager language-pack-ar language-pack-ar-base language-pack-de language-pack-de-base language-pack-es language-pack-es-base language-pack-gnome-ar language-pack-gnome-ar-base language-pack-gnome-de language-pack-gnome-de-base language-pack-gnome-it language-pack-gnome-it-base language-pack-gnome-ja language-pack-ja-base language-pack-gnome-ja-base language-pack-gnome-pt language-pack-gnome-pt-base language-pack-gnome-ru language-pack-gnome-ru-base language-pack-gnome-zh-hans language-pack-gnome-zh-hans-base language-pack-gnome-zh-hant language-pack-gnome-zh-hant-base language-pack-it l |
This file contains hidden or 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
True:3MP | |
Software Enhanced:15MP | |
Diagonal Field of View (FOV) 78° | |
Horizontal Field of View (FOVh) 70.42° | |
Vertical Field of View (FOVv) 43.3° | |
Focal calculation (python): | |
```` python | |
import math |
This file contains hidden or 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
-DJPEG_LIBRARY_RELEASE:FILEPATH="/usr/lib/x86_64-linux-gnu/libjpeg.so" -DBUILD_opencv_java_bindings_generator:BOOL="0" -DWITH_QT:BOOL="0" -DINSTALL_TO_MANGLED_PATHS:BOOL="1" -DBUILD_PACKAGE:BOOL="0" -DENABLE_LTO:BOOL="1" -DOPENCV_ENABLE_NONFREE:BOOL="1" -DBUILD_opencv_python_tests:BOOL="0" -DBUILD_TESTS:BOOL="0" -DCMAKE_INSTALL_PREFIX:PATH="/usr/local" -DOPENCV_EXTRA_MODULES_PATH:PATH="/home/esoft/Workspace/opencv_contrib/modules" -DENABLE_PRECOMPILED_HEADERS:BOOL="1" -DBUILD_JAVA:BOOL="0" -DCPU_BASELINE:STRING="SSE3" -DWITH_1394:BOOL="0" -DBUILD_PERF_TESTS:BOOL="0" -DCMAKE_CONFIGURATION_TYPES:STRING="Debug;Release" -DCMAKE_BUILD_TYPE:STRING="Release" -DWITH_OPENMP:BOOL="1" |
OlderNewer