Skip to content

Instantly share code, notes, and snippets.

View musimab's full-sized avatar
🎯
Focusing

mustafa böyük musimab

🎯
Focusing
View GitHub Profile
@musimab
musimab / CMakeLists.txt
Created November 25, 2024 05:24 — forked from mitchcurtis/CMakeLists.txt
Qt Quick ListView displaying a QAbstractListModel-derived model with custom roles
cmake_minimum_required(VERSION 3.16)
project(model VERSION 0.1 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt6 6.5 REQUIRED COMPONENTS Quick)
qt_standard_project_setup(REQUIRES 6.5)
Index: sys/gnu/dts/arm/am335x-bone-common.dtsi
===================================================================
--- sys/gnu/dts/arm/am335x-bone-common.dtsi (révision 326470)
+++ sys/gnu/dts/arm/am335x-bone-common.dtsi (copie de travail)
@@ -95,6 +95,40 @@
>;
};
+ uart1_pins: pinmux_uart1_pins {
+ pinctrl-single,pins = <
ply
format ascii 1.0
element vertex 247289
property float x
property float y
property float z
property uchar red
property uchar green
property uchar blue
end_header
@musimab
musimab / main.py
Last active January 13, 2022 12:10
import numpy as np
import pyrealsense2 as rs
from matplotlib import pyplot as plt
import cv2
from realsense_depth import DepthCamera
from utils import createPointCloudO3D
from utils import depth2PointCloud
from utils import write_point_cloud
resolution_width, resolution_height = (640, 480)
def create_point_cloud_file2(vertices, filename):
ply_header = '''ply
format ascii 1.0
element vertex %(vert_num)d
property float x
property float y
property float z
property uchar red
property uchar green
property uchar blue