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
import numpy as np | |
import cv2 | |
import glob | |
from tqdm import tqdm | |
#Calib Circle Grid Setting | |
gridPointsWidth = 9 | |
gridPointsHeight = 7 | |
gridPointsDist = 0.02 #[m] | |
scale = 3 |
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. get database from phone (e.g. with ADB) using guide from http://www.thinkoholic.com/2017/03/14/recover-songs-corrupted-shazam-library-android/#gallery-3 | |
# 2. export detected tracks database as csv using sqlitebrowser: export table called "tag" as csv to disc => tag.csv | |
# 3. run below python script | |
import pandas as pd | |
import datetime | |
import json | |
df=pd.read_csv("tag.csv") |
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
import os | |
import pandas as pd | |
from datetime import datetime | |
import glob | |
import numpy as np | |
from tqdm import tqdm | |
import shutil | |
import argparse | |
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
Change Line 62 in "model_main.py" from | |
config = tf.estimator.RunConfig(model_dir=FLAGS.model_dir) | |
to | |
config = tf.ConfigProto() | |
config.gpu_options.allow_growth = True | |
config.gpu_options.per_process_gpu_memory_fraction = 0.1 | |
config = tf.estimator.RunConfig(model_dir=FLAGS.model_dir, |
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 | |
"""Extract images from a rosbag. | |
""" | |
import os | |
import argparse | |
import cv2 | |
import rosbag |
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
Setup Image | |
User:mav password:wingman | |
basiert auf maverick image | |
https://goodrobots.github.io/maverick/current/#/about | |
WLAN | |
config via wpa_supplicant file in /boot https://raspberrypi.stackexchange.com/questions/10251/prepare-sd-card-for-wifi-on-headless-pi | |
ssh mav@maverick-raspberrylite.local | |
MAVLINK anbindung | |
Device angeben via dem mavlink daten empfangen werden: |
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
Install dependencies | |
ROS | |
Easiest is to get a image with ROS preinstalled: | |
MAVERICK configuration managment image | |
what is it?: https://goodrobots.github.io/maverick/current/#/about | |
install image to pi: https://goodrobots.github.io/maverick/current/#/?id=installation | |
MAVROS already installed | |
Only build of raspicam-node needed (see below) | |
Ubuntu Mate (easy to install aditional needed packages) | |
https://downloads.ubiquityrobotics.com/ |
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
--- TLP 1.1 -------------------------------------------- | |
+++ Configured Settings: /etc/default/tlp | |
TLP_ENABLE=1 | |
TLP_DEFAULT_MODE=AC | |
TLP_PERSISTENT_DEFAULT=0 | |
DISK_IDLE_SECS_ON_AC=0 | |
DISK_IDLE_SECS_ON_BAT=2 | |
MAX_LOST_WORK_SECS_ON_AC=15 | |
MAX_LOST_WORK_SECS_ON_BAT=60 |