Skip to content

Instantly share code, notes, and snippets.

View compiaffe's full-sized avatar

Rapha compiaffe

View GitHub Profile
@compiaffe
compiaffe / autoplug-select.rs
Last active April 20, 2021 09:55
NOT WORKING CODE: How to look at factories for gst autoplug-select
// decodebin
// .connect("autoplug-select", false, move |values| {
// // Obtain a copy of the values field 3 - aka factories:
// // See https://gstreamer.freedesktop.org/documentation/playback/decodebin.html?gi-language=c#decodebin::autoplug-sort
// let factories = values[3].get::<gst::ElementFactory>().unwrap().unwrap();
// // let index = 0;
// // while let Some(val) = factories.get_nth(index) {
// // let elmf = val
// // .downcast_ref::<gst::ElementFactory>()
0:01:39.587780323 617002 0x7fcba803d800 INFO netclock gst-1.18.3.src/libs/gst/net/gstnetclientclock.c:627:gst_net_client_internal_clock_observe_times: next timeout: 0:00:01.000000000
DEBUG - deepcore.9CB6D0FEA217.updates: {"action":"stop-stream","values":{"id":"037322251647"}}
DEBUG - Sending EoS to stop the pipeline
INFO - Sent EoS on GStreamer pipeline
DEBUG - Publishing a camera state on 'deepcore.9CB6D0FEA217.state': "{\"action\":\"update\",\"values\":{\"cameraModel\":\"RealSense\",\"deepcoreId\":\"9CB6D0FEA217\",\"elements\":{},\"id\":\"037322251647\",\"status\":\"Paused\"}}"
INFO - GST received EoS on bus, setting stopping pipeline
DEBUG - Pipeline state is Playing, pending VoidPending
0:01:39.919569571 617002 0x7fcba80404c0 WARN rtspclientsink gst-rtsp-server-1.18.3.src/gst/rtsp-sink/gstrtspclientsink.c:2952:gst_rtsp_client_sink_try_send:<rtspclientsink> receive interrupted
0:01:39.919599696 617002 0x7fcba80404c0 WARN rtspclientsink gst-rtsp-server-1.18.3.

Keybase proof

I hereby claim: * I am compiaffe on github. * I am aurusmaximus (https://keybase.io/aurusmaximus) on keybase. * I have a public key ASDWri2e--BaLDfBCTHyw9YDdbzxXtr0DC5iiVKUWFvvyAo To claim this, I am signing this object:

{   "body": {     "key": {       "eldest_kid": "0120d6ae2d9efbe05a2c37c10931f2c3d60375bcf15edaf40c2e62895294585befc80a",       "host": "keybase.io",       "kid": "0120d6ae2d9efbe05a2c37c10931f2c3d60375bcf15edaf40c2e62895294585befc80a",       "uid": "0371dcaecdd058f402641cc1e2348419",       "username": "aurusmaximus"     },     "merkle_root": {       "ctime": 1569359540,       "hash": "58b7f8e882d9a9d48cc1ba2007c891027c25d0aa5ec6955a2f32531c6bec9101332fe3f62d86d3c68cc9e943eafc651b2734f0d8bf1601bfdebeeb991090d377",       "hash_meta": "e24b94b63243a85a4c56b0f40570d771a49acfb3002aebbbc4da618ab4c0bc46",       "seqno": 7728880     },     "service": {       "entropy": "pJmg4PFfkhe3Wm5l0HT0ZETC",       "name": "github",       "username": "compiaffe"     },     "typ
@compiaffe
compiaffe / git-tree-alias.sh
Created April 18, 2018 18:36 — forked from TrevorS/git-tree-alias.sh
git tree alias.
git config --global alias.tree "log --graph --decorate --all --pretty=oneline --abbrev-commit"
9880.964472] usb 1-3: new high-speed USB device number 4 using xhci-tegra
[ 9881.097733] usb 1-3: feature bit otg_vbus_off set
[ 9881.102499] usb 1-3: New USB device found, idVendor=8086, idProduct=0ad6
[ 9881.109344] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 9881.116569] usb 1-3: Product: Intel(R) RealSense(TM) 415
[ 9881.121980] usb 1-3: Manufacturer: Intel(R) RealSense(TM) 415
[ 9881.128762] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 9881.136655] uvcvideo: Found UVC 1.50 device ،s\xffffff99\xffffffc1\xffffffff\xffffffff\xffffffff،s\xffffff99\xffffffc1\xffffffff\xffffffff\xffffffff (4400:ec62)
[ 9881.143386] ------------[ cut here ]------------
[ 9881.147997] WARNING: at ffffffc000773c60 [verbose debug info unavailable]
started roslaunch server http://jetson_cake:34756/
SUMMARY
========
PARAMETERS
* /camera/realsense_ros_camera/accel_fps: 1000
* /camera/realsense_ros_camera/accel_optical_frame_id: camera_accel_opti...
* /camera/realsense_ros_camera/align_depth: False
@compiaffe
compiaffe / gist:50943043746274420ea06ec8be2a941a
Created January 15, 2018 17:36
Partial kernel configuration log for applying patch-realsense-ubuntu-xenial.sh
Aufs (Advanced multi layered unification filesystem) support (AUFS_FS) [N/m/y/?] (NEW)
*
* Security options
*
Enable access key retention support (KEYS) [Y/?] y
Enable register of persistent per-UID keyrings (PERSISTENT_KEYRINGS) [Y/n/?] y
Large payload keys (BIG_KEYS) [Y/n/?] y
TRUSTED KEYS (TRUSTED_KEYS) [Y/n/m/?] y
ENCRYPTED KEYS (ENCRYPTED_KEYS) [Y/?] y
Diffie-Hellman operations on retained keys (KEY_DH_OPERATIONS) [Y/n/?] y