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
| 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
| 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
| 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
| 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
| # 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
| 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 |
NewerOlder