🏄♂️
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
sed -i '/<pattern>/s/^/#/g' file #comment | |
sed -i.bak '/argtypes/s/^/#/' file #comment and backup | |
sed -i '/<pattern>/s/^#//g' file #uncomment |
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 clone https://github.com/ArduPilot/ardupilot.git | |
cd ardupilot | |
vagrant up | |
vagrant ssh | |
cd /vagrant | |
git submodule update --init --recursive | |
#Edit ~/ardupilot/Tools/autotest/location.txt to add new location | |
sim_vehicle.py -j2 -v ArduPlane --location new_location | |
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
#!/usr/bin/env python3 | |
import os | |
from qgis.core import (QgsProject, QgsLayoutExporter, QgsApplication) | |
QgsApplication.setPrefixPath("/usr", True) | |
gui_flag = False | |
app = QgsApplication([], gui_flag) | |
app.initQgis() |
NewerOlder