Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/ruby
#
# nex6-capture.rb - sample program for Sony NEX-6 (Smart Remocon App)
#
require "socket"
require 'json'
require "pp"
require "open-uri"
$host = "192.168.122.1"
```
~/Documents/catkin_ws$ rosrun image_view image_view image:=camera/image_raw
(process:13010): GLib-GObject-WARNING **: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'
(process:13010): GLib-GObject-WARNING **: instance of invalid non-instantiatable type '(null)'
(process:13010): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
```
@kubark42
kubark42 / compile_QLocation.sh
Last active September 12, 2017 12:31
Script for compiling QLocation from git sources.
# Clone main repo
git clone git://code.qt.io/qt/qt5.git
# Enter main repo
cd qt5
# Checkout 5.9, which is currently in Alpha [2017-02-15]
git checkout 5.9
# Fetch all submodules-- except webkit, webkit-examples, and webengine-- and check out v.5.9
import threading
import pause
import random
import time
def doit1(stop_event, name, timeStep):
now = time.time()
print("[" + name + "]: " + str(now))
nextWakeTime = now + timeStep
'use strict';
// MSP_codes needs to be re-integrated inside MSP object
var MSP_codes = {
MSP_DEBUG: 0,
MSP_FIRMWARE: 1,
MSP_BOARD: 2,
MSP_POLL: 3,
MSP_GETOHM: 4,
MSP_POLL_1780: 5,
'use strict';
// rcb api instantiation.
var GUI_log = '';
var DATA_control = function(){
}
var RPM_filter_arr = [];
@kubark42
kubark42 / Thrust_stand_control_1780.ipynb
Last active August 7, 2020 19:12
Thrust_stand_control_1780.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.