MCPcopy Create free account

hub / github.com/PiLiDAR/PiLiDAR / functions

Functions146 in github.com/PiLiDAR/PiLiDAR

↓ 102 callersMethodget
(self, *args)
lib/config.py:151
↓ 18 callersFunctionvisualize
(object_list, title="PiLiDAR", transformation=None, fullscreen=True, size=(1280,720), view="front", point_size
lib/visualization.py:75
↓ 14 callersMethodset
(self, value, *args)
lib/config.py:157
↓ 11 callersMethodinit
(self, scan_id=None)
lib/config.py:88
↓ 8 callersFunctionload_pointcloud
(filepath, columns="XYZI", csv_delimiter=",", as_tensor=False, as_array=False)
lib/pointcloud.py:249
↓ 7 callersMethodclose
(self)
lib/a4988_driver.py:104
↓ 7 callersFunctionget_platform
()
lib/platform_utils.py:6
↓ 6 callersMethodget_current_angle
(self, mod=True)
lib/a4988_driver.py:96
↓ 6 callersMethodmove_steps
(self, steps)
lib/a4988_driver.py:64
↓ 6 callersMethodmove_to_angle
(self, target_angle, mod=True)
lib/a4988_driver.py:80
↓ 5 callersFunctiontransform
(pcd, transformation=None, translate=None, scale=None, euler_rotate_deg=None, pivot=(0,0,0))
lib/pointcloud.py:537
↓ 4 callersFunctionestimate_point_normals
(pcd, radius=1, max_nn=30, center=(0,0,0))
lib/pointcloud.py:368
↓ 4 callersFunctionformat_value
(value, digits)
lib/config.py:188
↓ 4 callersFunctionprint_stats
(pcd, txt="")
lib/pointcloud.py:185
↓ 3 callersFunctionpcd_from_np
(array, columns="XYZI", estimate_normals=True, colors=None, radius=10, max_nn=30)
lib/pointcloud.py:409
↓ 3 callersFunctionsave_pointcloud
(pcd, filepath, ply_ascii=False, ply_compression=True, csv_delimiter=",")
lib/pointcloud.py:302
↓ 3 callersFunctionsave_pointcloud_threaded
(pcd, output_path, ply_ascii=False, ply_compression=True, csv_delimiter=",")
lib/pointcloud.py:359
↓ 3 callersFunctiontake_photo
(path, dims=(4056,3040), exposure_time=None, gain=None,
lib/rpicam_utils.py:64
↓ 3 callersMethodupdate
(self, points_2d)
lib/matplotlib_2D.py:51
↓ 3 callersMethodupdate_pwm_dc
(self, pwm_dc, update=True)
lib/lidar_driver.py:110
↓ 2 callersFunction__generate_colors__
(n, lightness=0.5, saturation=0.8, float=False)
lib/visualization.py:34
↓ 2 callersFunctionangular_from_cartesian
(cartesian_points)
lib/pointcloud.py:560
↓ 2 callersFunctionboardpin
(pin)
lib/platform_utils.py:44
↓ 2 callersMethodclose
(self)
lib/lidar_driver.py:128
↓ 2 callersFunctioncompute_fpfh
(pcd_down, voxel_size, fpfh_nn=100)
lib/registration.py:35
↓ 2 callersMethoddecode
(self, byte_array)
lib/lidar_driver.py:232
↓ 2 callersFunctiondownsample
(pcd, voxel_size=0.02)
lib/pointcloud.py:181
↓ 2 callersFunctionestimate_camera_parameters
(config)
lib/rpicam_utils.py:155
↓ 2 callersMethodevaluate_formula
(self, formula: str)
lib/config.py:176
↓ 2 callersFunctionfilter_by_reference
(original_pcd, reference_pcd, radius=0.02)
lib/pointcloud.py:195
↓ 2 callersFunctionfilter_outliers
(pcd, nb_points=20, radius=0.5)
lib/pointcloud.py:190
↓ 2 callersMethodget_quat_values
(self)
lib/imu_driver.py:47
↓ 2 callersFunctionget_sampling_coordinates
(angular_points, img_shape, z_rotate=0)
lib/pointcloud.py:567
↓ 2 callersFunctionget_scan_dict
(z_angles, angular_list=None, cartesian_list=None, scan_id=None, device_id=None, sensor=None, hardware=None, l
lib/pointcloud.py:18
↓ 2 callersMethodget_steps_for_angle
(self, angle)
lib/a4988_driver.py:52
↓ 2 callersFunctionget_transform_vectors
(transform_M)
lib/pointcloud.py:524
↓ 2 callersFunctionglobal_registration
(source, target, voxel_size, fast=False, normals_nn=30, fpfh_nn=100, max_iteration=100000, confidence=0.999, e
lib/registration.py:30
↓ 2 callersFunctionhugin_modify
(pto_path, new_project_path, width=6800)
lib/pano_utils.py:25
↓ 2 callersFunctionhugin_stitch
(config, nice=19)
lib/pano_utils.py:50
↓ 2 callersFunctionicp
(source, target, transform, voxel_size, p2l=True, p2p_max_iteration=2000)
lib/registration.py:68
↓ 2 callersFunctionis_between
(value, limits)
lib/rpicam_utils.py:151
↓ 2 callersFunctionlist_files
(dir, ext=None, filter=None, recursive=False)
lib/file_utils.py:46
↓ 2 callersFunctionmake_dir
(dir)
lib/file_utils.py:65
↓ 2 callersFunctionmesh_from_poisson
(pcd, depth=10, k=100, estimate_normals=True, density_threshold=0.1, return_densities=False)
lib/mesh_utils.py:36
↓ 2 callersFunctionopengl_fallback
(check=True)
lib/visualization.py:22
↓ 2 callersFunctionprocess_raw
(config, save=True)
lib/pointcloud.py:46
↓ 2 callersFunctionrad2deg
(xyz)
lib/imu_orientation.py:13
↓ 2 callersMethodread_loop
(self, callback=None, max_packages=None, digits=4)
lib/lidar_driver.py:141
↓ 2 callersFunctionrotate_3D
(points3d, rotation_degrees, translation_vector=(0,0,0), rotation_axis=(0,0,1))
lib/pointcloud.py:462
↓ 2 callersFunctionsave_raw_scan
(path, data)
lib/pointcloud.py:36
↓ 2 callersMethodset_device
set sampling rate, baudrate and port for selected device
lib/config.py:119
↓ 2 callersFunctiontake_HDR_photo
(path, AEB=1, AEB_stops=2, dims=(4056,3040), exposu
lib/rpicam_utils.py:15
↓ 2 callersMethodupdate_target_res
(self, target_res)
lib/config.py:164
↓ 1 callersFunctionDMP_get_euler
(a_quat)
lib/imu_orientation.py:20
↓ 1 callersFunctionDMP_get_roll_pitch_yaw
(a_quat)
lib/imu_orientation.py:8
↓ 1 callersMethod__gray2rgb__
(self, luminances)
lib/matplotlib_2D.py:31
↓ 1 callersMethod__initialize_animation__
(self)
lib/matplotlib_2D.py:28
↓ 1 callersFunction__validate_object_list__
(object_list)
lib/visualization.py:52
↓ 1 callersFunctionallow_serial
()
lib/platform_utils.py:69
↓ 1 callersFunctionangles_from_filenames
(data_dir, name="plane", ext="jpg", filter_NaN=True)
lib/file_utils.py:70
↓ 1 callersFunctionangular_lookup
(angular_points, pano, scale=1, degrees=False, z_rotate=0, as_float=True)
lib/pointcloud.py:584
↓ 1 callersMethodanimate
(self, i)
lib/matplotlib_2D.py:37
↓ 1 callersFunctionbytes_from_hex
Return the binary data represented by the hexadecimal string. Every 2-digit hex representation is converted into the corresponding byte of data. T
lib/binary_utils.py:15
↓ 1 callersMethodcheck_CRC8
CRC check: length is 1 Byte, obtained from the verification of all the previous data except itself
lib/lidar_driver.py:269
↓ 1 callersMethodclose
(self)
lib/imu_driver.py:50
↓ 1 callersMethodclose
(self)
lib/matplotlib_2D.py:69
↓ 1 callersFunctioncolor_icp
(source, target, transform, normals_nn=30)
lib/registration.py:84
↓ 1 callersFunctioncolormap_pcd
(pcd, cmap="viridis", gamma=2.2)
lib/pointcloud.py:237
↓ 1 callersFunctioncreate_arrow
Create an arrow mesh.
lib/imu_orientation.py:72
↓ 1 callersFunctioncreate_pcd_tensor
(points, normals=None, colors=None, intensities=None, distances=None, write_ascii=False)
lib/pointcloud.py:146
↓ 1 callersMethodcreate_quaternion
(self, q_values)
lib/imu_orientation.py:40
↓ 1 callersFunctionestimate_pwm_params
(pwm_measurements)
lib/curve_fitting.py:21
↓ 1 callersFunctioneuler_to_rotation_matrix
Convert Euler angles to a rotation matrix.
lib/imu_orientation.py:68
↓ 1 callersFunctionfunc
(pwm, m, b)
lib/curve_fitting.py:24
↓ 1 callersFunctionget_bounding_box_size
(pcd)
registration_test.py:33
↓ 1 callersMethodget_euler
(quat, degrees=False)
lib/imu_orientation.py:45
↓ 1 callersMethodget_euler_angles
(self)
lib/imu_driver.py:44
↓ 1 callersFunctionget_lidar_pano
(pcd, image_width, image_height)
lib/pointcloud.py:212
↓ 1 callersFunctionget_r_b_gains
(img1, img2)
lib/rpicam_utils.py:142
↓ 1 callersMethodget_rpy
(quat, degrees=False)
lib/imu_orientation.py:53
↓ 1 callersMethodgpio_setup
(self, debug=False)
lib/config.py:179
↓ 1 callersFunctionhex_from_bytes
Return the hexadecimal representation of the binary data. Every byte of data is converted into the corresponding 2-digit hex representation. The
lib/binary_utils.py:3
↓ 1 callersFunctioninit_pwm_Pi
pwm_channel 0: GP18, pwm_channel 1: GP19
lib/platform_utils.py:58
↓ 1 callersFunctioninit_serial
USB: "/dev/ttyUSB0" GPIO: "/dev/ttyS0"
lib/platform_utils.py:48
↓ 1 callersFunctionload_raw_scan
(path)
lib/pointcloud.py:41
↓ 1 callersFunctionmerge_2D_points
(raw_scan, z_step=1, ccw=False, position_offset=(0,0,0), angle_offset=0, up_vector=(0,0,1))
lib/pointcloud.py:374
↓ 1 callersFunctionmesh_from_alpha_shape
(pcd, alpha=0.03)
lib/mesh_utils.py:24
↓ 1 callersFunctionmesh_from_ball_pivoting
https://towardsdatascience.com/5-step-guide-to-generate-3d-meshes-from-point-clouds-with-python-36bad397d8ba
lib/mesh_utils.py:27
↓ 1 callersFunctionplot_fit
(pwm, speed, func, params)
lib/curve_fitting.py:28
↓ 1 callersMethodpolar2cartesian
(angles, distances, offset)
lib/lidar_driver.py:261
↓ 1 callersFunctionpostprocess_3D
(config, pcd, save=True)
lib/pointcloud.py:55
↓ 1 callersFunctionprepare_dataset
()
lib/registration.py:119
↓ 1 callersFunctionpwm_from_speed
(speed, m, b)
lib/curve_fitting.py:17
↓ 1 callersMethodpwm_from_speed
(self, speed)
lib/lidar_driver.py:254
↓ 1 callersMethodread
(self)
lib/lidar_driver.py:185
↓ 1 callersMethodread_exif
(self)
lib/rpicam_utils.py:131
↓ 1 callersFunctionremove_NaN
(array)
lib/pointcloud.py:364
↓ 1 callersFunctionremove_low_density_vertices
(mesh, densities, quantile=0.1)
lib/mesh_utils.py:51
↓ 1 callersFunctionrun_registration
(source, target, voxel_size=0.15, fast_gr=False, p2l_icp=True, show=False)
registration_test.py:6
↓ 1 callersFunctionsave_csv
(filepath, points_2d, csv_delimiter=',')
lib/file_utils.py:34
next →1–100 of 146, ranked by callers