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
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