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 | |
export LCM_DEFAULT_URL=udpm://239.255.76.67:7667?ttl=1; | |
sudo ifconfig eth0 inet 10.0.1.123; | |
sudo route add default gw 10.0.1.1; | |
#sudo ntpdate 10.0.1.112; |
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
#coding: utf-8 | |
import Adafruit_GPIO.I2C as I2C | |
import time | |
i2c = I2C | |
device=i2c.get_i2c_device(0x77) # address of BMP | |
# this value is necessary to calculate the correct height above sealevel | |
# its also included in airport wheather information ATIS named as QNH | |
# unit is hPa | |
QNH=1020 |
workspace/sandbox/conda-cv-test via 🅒 sandbox
➜ nm -DC ~/anaconda2/envs/sandbox/lib/libopencv_highgui.so | ag imread
0000000000054320 T cv::imread(std::string const&, int)
workspace/sandbox/conda-cv-test via 🅒 sandbox
➜ nm -DC /usr/lib/x86_64-linux-gnu/libopencv_highgui.so | ag imread
000000000001c900 T cv::imread(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)
Having had some degree of success with the various tutorials on how to setup a raspi as a NTP microserver, the following are my personal notes on what worked for my setup (mostly based on the ntpsec guide, but with a few changes).
- Raspberry Pi (I'm using a Model B rev 1.0)
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
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", GROUP="adm", MODE="0666", SYMLINK+="rtl_sdr"% |
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 procontroll.*; | |
import java.io.*; | |
ControllIO controll; // the base class that handles all devices | |
ControllDevice hotas; // the joystick object | |
ControllStick stick; // hotas stick | |
ControllStick throttle; // hotas throttle | |
ControllButton button; | |
float bg = 255; |
NewerOlder