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)
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; |
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
#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 |
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
#!/bin/sh | |
if [ ! -f qgroundcontrol/qgroundcontrol-start.sh ]; then | |
echo "QGroundControl not found! Downloading." | |
mkdir qgroundcontrol | |
wget https://s3-us-west-2.amazonaws.com/qgroundcontrol/latest/QGroundControl.tar.bz2 -O qgroundcontrol/qgroundcontrol.tar.bz2 | |
tar -xvf qgroundcontrol/qgroundcontrol.tar.bz2 | |
fi |
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 time | |
import zmq | |
import json | |
from Navi import * | |
from NaviUtils import * | |
# TODO: configurable port | |
# TODO: configurable id | |
# TODO: configurable sessionid |
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 time | |
import zmq | |
import json | |
from Navi import * | |
from NaviUtils import * | |
# TODO: configurable port | |
# TODO: configurable id | |
# TODO: configurable sessionid |
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
package multibeamlcm; | |
struct ping_t { | |
int64_t time; | |
string sonar_id; // sonar id, e.g.: "DIDSON", "MB2250", ... | |
// platform/vehicle pose in the world frame | |
double platform_origin[3]; // x y z (North, East, Down) [m] | |
double platform_orientation[4]; // w + xi + yj + zk (eigen conv) |
OlderNewer