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
#!/bin/bash | |
TIMEOUT=9 | |
while getopts "ht:" flag; do | |
case $flag in | |
t) | |
TIMEOUT="$OPTARG" | |
;; | |
h) |
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
#!/bin/bash | |
DEVICE="$1" | |
MOUNT_DIR="$2" | |
PASSWORD="$3" | |
MY_UID="$( id -u )" | |
MY_GID="$( id -g )" | |
TEMP_DIR="$( mktemp -d )" |
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
#!/usr/bin/env python3 | |
from PySide2.QtCore import Slot | |
from PySide2.QtCore import Signal | |
from PySide2.QtCore import QUrl | |
from PySide2.QtCore import QObject | |
from PySide2.QtGui import QGuiApplication | |
from PySide2.QtQml import QQmlApplicationEngine | |
from PySide2.QtQml import qmlRegisterType |
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
#!/usr/bin/env python | |
import rospy | |
from sensor_msgs.msg import Image | |
from cv_bridge import CvBridge | |
import cv2 | |
import numpy as np |
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
[Unit] | |
Description=ifup for NCXX USB Dongle (%I) | |
After=local-fs.target network-pre.target apparmor.service | |
Before=network.target | |
BindsTo=sys-subsystem-net-devices-%i.device | |
DefaultDependencies=no | |
IgnoreOnIsolate=yes | |
StopWhenUnneeded=yes | |
[Service] |
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
#!/usr/bin/env python | |
import rospy | |
import roslib.message | |
from geometry_msgs.msg import PoseStamped | |
import argparse | |
def parse_args(): | |
description = 'Subscribe to a Pose and print C++ or Python code for it' |
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
#!/bin/bash | |
# Path to metadata/icons.yml | |
FONTAWESOME_YML=$1 | |
# Path to pictogram_font_mapping.h | |
PICTOGRAM_FONT_MAPPING=$2 | |
echo "Generating C++ code from $FONTAWESOME_YML" | |
./to_cpp_code.py $FONTAWESOME_YML > ./new_code.cpp |
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
#!/usr/bin/env python | |
import tf.transformations as tft | |
import numpy as np | |
import sys | |
import argparse | |
def parse_args(): |
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
#!/usr/bin/env python | |
import cv2 | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import glob | |
import random | |
import sys |
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
#!/usr/bin/env python | |
import cv2 | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import glob | |
import random | |
import sys |
NewerOlder