MCPcopy Create free account

hub / github.com/Kitware/pyLiDAR-SLAM / functions

Functions587 in github.com/Kitware/pyLiDAR-SLAM

↓ 2 callersFunctionpointcloud_poses
Associate to a pointcloud (given by a filename) the closest pose (in terms of timestamps) to the ground truth
slam/dataset/nhcd_dataset.py:45
↓ 2 callersMethodpointcloud_topic
(acquisition: ACQUISITION)
slam/dataset/urban_loco_dataset.py:204
↓ 2 callersMethodpose_matrix_jacobian
(self, pose_params: torch.Tensor)
slam/common/pose.py:270
↓ 2 callersMethodprocess_frame
(self, lidar_frame: pct.LiDARFrame, idx)
slam/dataset/ct_icp_dataset.py:128
↓ 2 callersMethodprogress_bar
(dataloader: DataLoader, desc: str = "")
slam/training/trainer.py:277
↓ 2 callersMethodproject_pointcloud
Projects the points of a PointCloud tensor in the image plane Parameters ---------- pointcloud : torch.Tensor [B, N,
slam/common/projection.py:205
↓ 2 callersMethodprojector
Returns the Default Spherical Image projector associated to the dataset_config
slam/dataset/configuration.py:59
↓ 2 callersFunctionread_calib_file
Reads a calibration file from KITTI KITTI's calibration files map keys to transform / projection / calibration matrices, Args:
slam/dataset/kitti_dataset.py:40
↓ 2 callersFunctionread_ground_truth
(file_path: str)
slam/dataset/nhcd_dataset.py:21
↓ 2 callersFunctionread_ground_truth_file
Reads a ground truth file from KITTI odometry's benchmark Returns poses in the coordinate system of the left camera With the z axis faci
slam/dataset/kitti_dataset.py:71
↓ 2 callersMethodrelative_pose_key
The key of the expected relative pose filled by the odometry at each frame The SLAM algorithm expects a [4, 4] numpy pose transform array und
slam/odometry/odometry.py:75
↓ 2 callersMethodros_pose_timestamp
(self, pc_timestamp: float)
slam/dataset/urban_loco_dataset.py:323
↓ 2 callersMethodrosbag_config
Returns the Rosbag config for the given sequence
slam/dataset/urban_loco_dataset.py:523
↓ 2 callersMethodsave_and_evaluate
Saves metrics and trajectory in a folder on disk
slam/odometry/odometry_runner.py:206
↓ 2 callersFunctionscalar_gray_cmap
Returns an array of colors from an array of values Parameters: values (np.ndarray): an array of scalars `(N,)` cmap (str): The na
slam/viz/color_map.py:66
↓ 2 callersMethodsend_to_device
Default method to send a dictionary to a device By default, only tensors are sent to the GPU Parameters ----------
slam/training/trainer.py:453
↓ 2 callersFunctionshift_poses
(poses: np.ndarray)
slam/eval/eval_odometry.py:74
↓ 2 callersFunctiontensor_to_image
Converts an image tensor to a np.array The image extracted from the tensor will obey the following rules, depending on the size of the tensor
slam/viz/color_map.py:109
↓ 2 callersMethodtimestamps_files_and_gt
(root_path: str, sequence_id: str)
slam/dataset/nclt_dataset.py:70
↓ 2 callersMethodto_pct_object
(self)
slam/odometry/ct_icp_odometry.py:82
↓ 2 callersMethodto_pct_object
(self)
slam/dataset/ct_icp_dataset.py:51
↓ 2 callersFunctiontorch__spherical_projection
Computes a spherical projection of the points of a point cloud It will compute the pixel values of the points in t_pointcloud Parameter
slam/common/projection.py:11
↓ 2 callersFunctiontorch_rx
>>> check_tensor(torch_rx(torch.randn(6), torch.randn(6)), [6, 3, 3])
slam/common/rotation.py:14
↓ 2 callersFunctiontorch_ry
>>> check_tensor(torch_ry(torch.randn(6), torch.randn(6)), [6, 3, 3])
slam/common/rotation.py:60
↓ 2 callersFunctiontorch_rz
(cos_psi, sin_psi)
slam/common/rotation.py:105
↓ 2 callersMethodupdate
Adds a new item to the meter
slam/training/trainer.py:36
↓ 2 callersFunctionvoxel_normal_distribution
Computes the normal distribution of points in each voxel Args: pointcloud (np.ndarray): The input pointcloud `(n, 3)` [np.float32]
slam/common/pointcloud.py:156
↓ 2 callersFunctionwrite_poses_to_disk
Writes an array of poses to disk Parameters ---------- file_path : str poses : np.ndarray [N, 4, 4]
slam/common/io.py:17
↓ 1 callersFunctionImageVisualizer
Returns an Image Visualizer based on OpenCV if the package cv2 was found
slam/viz/visualizer.py:86
↓ 1 callersFunctionJRx
(phi)
slam/common/rotation.py:31
↓ 1 callersFunctionJRy
(theta)
slam/common/rotation.py:77
↓ 1 callersFunctionJRz
(psi)
slam/common/rotation.py:119
↓ 1 callersMethod__add_mean_metrics
(self)
slam/eval/eval_odometry.py:324
↓ 1 callersMethod__get_normals
(self, indices)
slam/odometry/local_map.py:397
↓ 1 callersMethod__init__
(self, config: BackendConfig, **kwargs)
slam/backend.py:35
↓ 1 callersMethod__init__
(self, config: LoopClosureConfig, **kwargs)
slam/loop_closure.py:38
↓ 1 callersMethod__init__
(self, config: NCLTConfig, **kwargs)
slam/dataset/nclt_dataset.py:266
↓ 1 callersMethod__init__
(self, config: RosbagConfig, acquisition: ACQUISITION, absolute_gt_poses: Optional[np.nda
slam/dataset/urban_loco_dataset.py:185
↓ 1 callersMethod__init__
(self, sequence_dir: str, projector: Optional[SphericalProjector] = None,
slam/dataset/ford_dataset.py:28
↓ 1 callersMethod__init__
(self, kitti360_root_dir: str, drive_id: int)
slam/dataset/kitti_360_dataset.py:120
↓ 1 callersMethod__init__
(self, config: RosbagConfig, file_path: str, main_topic: str, frame_size: int, topic_mapp
slam/dataset/rosbag_dataset.py:79
↓ 1 callersMethod__init__
(self, config: CT_ICPDatasetConfig)
slam/dataset/ct_icp_dataset.py:213
↓ 1 callersMethod__init__
(self, config: DictConfig)
slam/common/registration.py:93
↓ 1 callersMethod__init__
(self, transform: callable = lambda x: x, height: Optional[int] = None,
slam/common/projection.py:193
↓ 1 callersMethod__iter__
(self)
slam/dataset/rosbag_dataset.py:97
↓ 1 callersMethod__len__
(self)
slam/dataset/ford_dataset.py:53
↓ 1 callersMethod__lidar_pose_gt
(self, poses_gt: np.ndarray)
slam/dataset/kitti_dataset.py:189
↓ 1 callersMethod__load_params
(self)
slam/training/trainer.py:142
↓ 1 callersMethod__read_scan
(self, idx)
slam/dataset/ford_dataset.py:56
↓ 1 callersMethod__sequence_collate
Agglomerate window data for a sequence Args: batch (List): A list of elements which are to be aggregated into a batch of
slam/dataset/sequence_dataset.py:77
↓ 1 callersMethod__supported_poses
()
slam/common/pose.py:67
↓ 1 callersFunction__unwrap
(result)
slam/common/utils.py:112
↓ 1 callersMethod__update_map
(self, new_rpose: torch.Tensor, data_dict: dict)
slam/odometry/icp_odometry.py:360
↓ 1 callersFunction__voxel_normal_distribution
Computes the normal distribution of points in each voxel Args: pointcloud (np.ndarray): The input pointcloud `(n, 3)` [np.float32]
slam/common/pointcloud.py:84
↓ 1 callersFunction__wrap
(tensor)
slam/common/utils.py:120
↓ 1 callersFunction_adjoint
Compute inverses without division by det; ...xv3xc3 input, or array of matrices assumed Parameters ---------- tensor : torch.Tensor
slam/common/geometry.py:65
↓ 1 callersMethod_compute_transform
(self, initial_transform, candidate_pc, target_pc)
slam/loop_closure.py:210
↓ 1 callersFunction_convert
(x_s, y_s, z_s)
slam/dataset/nclt_dataset.py:26
↓ 1 callersFunction_dot
Dot arrays of vecs; contract over last indices
slam/common/geometry.py:118
↓ 1 callersMethod_init_logger
(self)
slam/training/trainer.py:244
↓ 1 callersMethod_init_visualizer
(self)
slam/training/trainer.py:249
↓ 1 callersMethod_initial_pose
Returns an initial pose from the dict
slam/odometry/icp_odometry.py:147
↓ 1 callersFunction_inverse
Inverse of a stack of 3x3 matrices Parameters ---------- tensor : torch.Tensor
slam/common/geometry.py:103
↓ 1 callersFunction_inverse_transpose
Efficiently computes the inverse-transpose for stack of 3x3 matrices Parameters ---------- tensor : torch.Tensor or np.ndarray
slam/common/geometry.py:80
↓ 1 callersMethod_load_optimizer
(self)
slam/training/trainer.py:211
↓ 1 callersMethod_match_candidates
(self, candidate_ids, feat, desc, points, frame_id, data_dict: dict)
slam/loop_closure.py:227
↓ 1 callersFunction_multi_dot
Computes matrix to vector product for a batch of tensors Parameters ---------- a : torch.Tensor b : torch.Tensor
slam/common/geometry.py:126
↓ 1 callersMethod_progress_bar
(dataloader: DataLoader, desc: str = "")
slam/odometry/odometry_runner.py:220
↓ 1 callersMethod_read_input
Reads and interprets the input from the data_dict
slam/odometry/icp_odometry.py:319
↓ 1 callersMethod_regexes
Regex for the search of relative constraints in the new frame dict
slam/backend.py:79
↓ 1 callersMethod_save_topic
(self, data_dict, key, topic, msg, t, **kwargs)
slam/dataset/rosbag_dataset.py:122
↓ 1 callersMethod_send_to_device
(self, data_dict: dict)
slam/odometry/odometry_runner.py:226
↓ 1 callersMethod_topics_mapping
(acquisition: ACQUISITION)
slam/dataset/urban_loco_dataset.py:216
↓ 1 callersMethodadd_sequence
Computes the odometry metrics ATE, ARE, tr_err, rot_err for the sequence sequence_id, Saves the result in the log_dir, the trajectori
slam/eval/eval_odometry.py:235
↓ 1 callersMethodaggregate_messages
Aggregates the point clouds of the main topic
slam/dataset/rosbag_dataset.py:112
↓ 1 callersMethodalign
Aligns corresponding pair of 3D points Computes the optimal rigid transform between reference points (`ref_points`) and targ
slam/odometry/alignment.py:44
↓ 1 callersMethodapply_rotation
Applies the rotation part of the pose on the point cloud or normal cloud Parameters ---------- tensor : [B, N, 3]
slam/common/pose.py:154
↓ 1 callersFunctionbuild_benchmark
Builds the benchmark
build_benchmark_md.py:53
↓ 1 callersMethodbuild_from_pct
(pct_options: pct.DatasetOptions)
slam/dataset/ct_icp_dataset.py:37
↓ 1 callersMethodbuild_image
Builds the image from the pointcloud (which will be matched by 2D feature based alignment)
slam/common/registration.py:113
↓ 1 callersMethodbuild_model
Builds the model which allows to construct the nearest neighbor computation
slam/odometry/local_map.py:177
↓ 1 callersFunctioncalcSequenceErrors
(trajectory, ground_truth, all_segments=__default_segments, step_size: int = 10)
slam/eval/eval_odometry.py:140
↓ 1 callersMethodclean
Delete all previous data of the LoopClosure
slam/loop_closure.py:45
↓ 1 callersMethodclear
(self)
slam/backend.py:229
↓ 1 callersMethodclose
(self)
slam/dataset/rosbag_dataset.py:159
↓ 1 callersMethodcomplete_defaults
(self)
slam/common/utils.py:241
↓ 1 callersMethodcompleted
(self)
slam/common/utils.py:260
↓ 1 callersMethodcompute
Estimates via Gauss Newton the non linear least-square objective Args: x0 (torch.Tensor): The initial set of parameters
slam/common/optimization.py:296
↓ 1 callersFunctioncompute_absolute_poses_
(relative_poses: np.ndarray, absolute_poses: np.ndarray)
slam/eval/eval_odometry.py:86
↓ 1 callersFunctioncompute_are
(relative_trajectory, relative_ground_truth)
slam/eval/eval_odometry.py:196
↓ 1 callersFunctioncompute_ate
(relative_predicted, relative_ground_truth)
slam/eval/eval_odometry.py:185
↓ 1 callersFunctioncompute_cumulative_trajectory_length
(trajectory: np.ndarray)
slam/eval/eval_odometry.py:99
↓ 1 callersMethodcompute_inliers
Aligns the images using corresponding pair of points (with potentially many outliers) By default, the best homography is fou
slam/common/registration.py:130
↓ 1 callersFunctioncompute_ring_ids
Compute ring ids by grouping points by polar angle bins (in spherical projection)
slam/dataset/urban_loco_dataset.py:38
↓ 1 callersMethodcompute_transorm
Computes the 3D transform from the aligned points
slam/common/registration.py:118
↓ 1 callersFunctionconv1x1
1x1 convolution with padding
slam/models/_resnet.py:34
↓ 1 callersFunctionconvert_pose_transform
Converts a [4, 4] pose tensor to the desired type Returns a tensor (either a numpy.ndarray or torch.Tensor depending on dest type) >>> check_
slam/common/torch_utils.py:84
↓ 1 callersMethodcost
The Cost function associated to the Least Square Scheme
slam/common/optimization.py:53
↓ 1 callersMethodcost
Returns the weighted squared residuals
slam/common/optimization.py:200
↓ 1 callersFunctioncustom_to_tensor
Converts data to a Tensor for compatible data types Parameters ---------- data : An data to convert to torch The data can b
slam/common/torch_utils.py:13
← previousnext →101–200 of 587, ranked by callers