Skip to content

Instantly share code, notes, and snippets.

View uraninjo's full-sized avatar
🎯
Focusing

Mehmet Murat KÖSE uraninjo

🎯
Focusing
View GitHub Profile
docker run -p 6080:80 --shm-size=512m tiryoh/ros2-desktop-vnc:foxy
# Go to http://localhost:6080 and open a terminal
# Menu > System Tools > MATE Terminal
sudo apt update
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
@tylercubell
tylercubell / add_remove_source_dynamically.py
Created February 7, 2019 20:08
GStreamer Python Add/Remove Source Dynamically
import gi
gi.require_version('Gst', '1.0')
from gi.repository import GObject, Gst
from threading import Thread, Event
Gst.init(None)
class Main:
def __init__(self):
self.pipeline = Gst.Pipeline.new("pipeline")