MCPcopy Create free account

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

Functions587 in github.com/Kitware/pyLiDAR-SLAM

↓ 1 callersFunctiondefault_drive_config
()
slam/odometry/ct_icp_odometry.py:185
↓ 1 callersFunctiondf_to_poses
Converts a pd.DataFrame to a [N, 4, 4] array of poses read from a dataframe Parameters ---------- df : pd.DataFrame A DataFr
slam/common/io.py:45
↓ 1 callersMethoddo_process_next_frame
Computes the new pose and stores it in memory Args: data_dict (dict): The new frame's data as a dictionary returned by t
slam/odometry/odometry.py:49
↓ 1 callersMethoddump_all_constraints
Save the odometry, loop and absolute constraints on disk
slam/slam.py:184
↓ 1 callersFunctionecef_to_enu
Converts a ECEF GPS position to a LLU frame
slam/dataset/urban_loco_dataset.py:141
↓ 1 callersFunctionestimate_timestamps
Computes an Estimate of timestamps for rotating lasers Each point are expressed in spherical coordinates, The timestamps are assigned based o
slam/common/geometry.py:443
↓ 1 callersMethodestimate_timestamps
(self, frame_index: int, pc: np.ndarray)
slam/dataset/urban_loco_dataset.py:222
↓ 1 callersMethodevaluate_epoch
Launches the evaluation for an epoch
slam/training/trainer.py:347
↓ 1 callersMethodfilter
Applies a filter which modifies the state of the data_dict
slam/preprocessing.py:37
↓ 1 callersMethodfind_dataset_with_idx
(self, idx)
slam/dataset/sequence_dataset.py:44
↓ 1 callersFunctionfind_pc_id_with_azimuth
Finds the index of the first point with azimuth equal to azimuth_bin After at least min_num_points have been passed
slam/dataset/urban_loco_dataset.py:91
↓ 1 callersMethodforward
(self, x)
slam/models/layers.py:50
↓ 1 callersMethodforward_layers
(self, x)
slam/models/_resnet.py:97
↓ 1 callersMethodgenerate_ground_truth
Estimates the ground truth poses for the LiDAR frames The output files are saved as text file under self.root_dir / <sequence_name>.poses
slam/dataset/urban_loco_dataset.py:431
↓ 1 callersMethodget_ground_truth
(self, sequence_name: str, relative: bool = True)
slam/dataset/urban_loco_dataset.py:585
↓ 1 callersMethodget_ground_truth
Returns the ground truth for the dataset_config for a given sequence
slam/dataset/configuration.py:117
↓ 1 callersMethodget_message
(self)
slam/common/timer.py:11
↓ 1 callersMethodget_relative_poses
Returns the computed relative poses along the trajectory
slam/slam.py:172
↓ 1 callersMethodget_sequence_dataset
Returns: (train_dataset, eval_dataset, test_dataset) : A tuple of `DatasetOfSequences`
slam/dataset/configuration.py:99
↓ 1 callersMethodgps_vid
Returns the vertex index in the pose graph of the gps vertex corresponding to a pose index
slam/backend.py:275
↓ 1 callersFunctiongrid_sample
Sample one point per voxel hash, returns the sample points and the indices of the sampled points Args: pointcloud (np.ndarray): The input
slam/common/pointcloud.py:182
↓ 1 callersMethodground_truth_topic
()
slam/dataset/urban_loco_dataset.py:211
↓ 1 callersMethodinit
(self)
slam/backend.py:239
↓ 1 callersMethodinit
Clears and Initialize the Local Map
slam/odometry/local_map.py:46
↓ 1 callersMethodinit
(self)
slam/odometry/local_map.py:277
↓ 1 callersMethodis_iterable_dataset
(dataset: pct.CT_ICP_DATASET)
slam/dataset/ct_icp_dataset.py:205
↓ 1 callersFunctionkitti_360_poses
(file_path: str)
slam/dataset/kitti_360_dataset.py:23
↓ 1 callersFunctionlastFrameFromSegmentLength
(dist: list, first_frame: int, segment: float)
slam/eval/eval_odometry.py:130
↓ 1 callersMethodload
(cls, config: DictConfig, **kwargs)
slam/common/utils.py:272
↓ 1 callersMethodload_checkpoint
Loads a checkpoint file saved during training The checkpoint file is a python dictionary saved, The dictionary contains the
slam/training/trainer.py:389
↓ 1 callersFunctionload_dataset
(dataset: str)
build_benchmark_md.py:32
↓ 1 callersMethodload_datasets
Returns the .train, validation and test datasets as options
slam/training/trainer.py:552
↓ 1 callersMethodload_sequence
(self, dataset, indices)
slam/dataset/sequence_dataset.py:49
↓ 1 callersMethodloss_module
Returns the loss module for the specific trainer Returns ------- nn.Module The loss module computes the
slam/training/trainer.py:536
↓ 1 callersFunctionmain
Main function: builds iteratively the UrbanLoco ground truth files
scripts/generate_urban_loco_gt.py:23
↓ 1 callersMethodmax_num_workers
Returns the maximum number of workers allowed by this dataset Note: Not respecting this constraint can lead to undefined behaviour for
slam/dataset/configuration.py:37
↓ 1 callersFunctionmodify_nan_pmap
Set all pixel data of a projection map which have a nan to a default value
slam/common/utils.py:188
↓ 1 callersMethodnearest_neighbor_search
Finds nearest neighbors correspondences in the map for a set of points
slam/odometry/local_map.py:66
↓ 1 callersFunctionneighborhood_kernel
Returns a neighborhood convolution kernel, It is a tensor which can be used to extract the K * K points in the neighborhood of a give
slam/common/geometry.py:300
↓ 1 callersMethodnext_frame
Processes a next frame by adding all trajectory constraints to the graph slam
slam/backend.py:288
↓ 1 callersMethodnext_initial_pose
Initializes the Algorithm ()
slam/initialization.py:58
↓ 1 callersFunctionopencv_rainbow
(resolution=1000)
slam/viz/color_map.py:22
↓ 1 callersFunctionpacket_ids
Extract velodyne packet_ids from the array of ring ids (which can be used to simulate timestamps)
slam/dataset/urban_loco_dataset.py:54
↓ 1 callersFunctionparse_args
Parses arguments from the command line
scripts/generate_urban_loco_gt.py:13
↓ 1 callersFunctionparse_arguments
()
replay.py:33
↓ 1 callersMethodpoint_to_plane_loss
Computes the Point-to-Plane loss between a target vertex map and a reference Parameters ---------- vm_target: torch.
slam/training/loss_modules.py:51
↓ 1 callersMethodprepare_channel
(self, channel_name: str)
slam/viz/visualizer.py:38
↓ 1 callersMethodprocess_next_frame
Args: data_dict (dict): The new frame (consisting of a dictionary of data items) returned by the Dataset
slam/slam.py:118
↓ 1 callersMethodprocess_next_frame
Computes the new pose and stores it in memory Args: data_dict (dict): The new frame (consisting of a dictionary of data
slam/odometry/odometry.py:37
↓ 1 callersMethodprojector
(self)
slam/dataset/nclt_dataset.py:270
↓ 1 callersMethodprojector
(self)
slam/dataset/ford_dataset.py:118
↓ 1 callersMethodprojector
Default SphericalProjetor for KITTI (projection of a pointcloud into a Vertex Map)
slam/dataset/kitti_dataset.py:323
↓ 1 callersMethodprojector
Default SphericalProjetor for NHCD (projection of a pointcloud into a Vertex Map)
slam/dataset/nhcd_dataset.py:191
↓ 1 callersMethodread_ground_truth
(gt_file: str)
slam/dataset/nclt_dataset.py:118
↓ 1 callersFunctionread_timestamps
Read a timestamps file and convert it to float64 values
slam/dataset/kitti_360_dataset.py:37
↓ 1 callersMethodread_velodyne_file
(file: str)
slam/dataset/nclt_dataset.py:181
↓ 1 callersMethodregister_new_frame
Registers a new frame against the Local Map Args: target_points (torch.Tensor): The target Ver initial_estim
slam/odometry/icp_odometry.py:248
↓ 1 callersMethodregistered_absolute_constraints
Returns the registered absolute constraints
slam/backend.py:161
↓ 1 callersMethodregistered_loop_constraints
Returns the registered loop constraints
slam/backend.py:149
↓ 1 callersMethodregistered_odometry_constraints
Returns the registered odometry constraints
slam/backend.py:155
↓ 1 callersMethodrelative_odometry_poses
Returns the relative poses between two consecutive frames corrected after global optimization
slam/backend.py:70
↓ 1 callersFunctionreplay_slam
The main entry point to the script running the SLAM
replay.py:61
↓ 1 callersFunctionrescale_image_values
Rescales the values of an image, for more convenient visualization Gray Image will have values in [0, 1] RGB Images will have values in [
slam/viz/color_map.py:82
↓ 1 callersFunctionrescale_prediction
(sequence_pred: np.ndarray, sequence_gt: np.ndarray)
slam/eval/eval_odometry.py:204
↓ 1 callersMethodresiduals
Returns the point to plane residuals
slam/common/optimization.py:437
↓ 1 callersMethodresiduals
Returns the point to point residuals
slam/common/optimization.py:544
↓ 1 callersFunctionrobust_drive_config
()
slam/odometry/ct_icp_odometry.py:192
↓ 1 callersMethodrot_matrix_from_params
Builds a pose matrix tensor from its rotation parameters Parameters ---------- rot_params : [B, ROT_P] T
slam/common/pose.py:209
↓ 1 callersMethodrot_params_from_matrix
Returns ------- torch.Tensor A [B, P] tensor with the parameters of the representation of the rotation matrices
slam/common/pose.py:244
↓ 1 callersFunctionrotation_error
(pose_err: np.ndarray)
slam/eval/eval_odometry.py:106
↓ 1 callersFunctionrun
(cfg: PoseNetTrainingConfig)
train.py:91
↓ 1 callersMethodrun_odometry
Runs the LiDAR Odometry algorithm on the different datasets
slam/odometry/odometry_runner.py:135
↓ 1 callersFunctionrun_slam
The main entry point to the script running the SLAM
run.py:10
↓ 1 callersFunctionsample_from_hashes
Sample one point per hash value, returns the sample points and the indices of the sampled points Args: pointcloud (np.ndarray): The input
slam/common/pointcloud.py:170
↓ 1 callersMethodsample_points
Returns the points sampled
slam/odometry/icp_odometry.py:301
↓ 1 callersMethodsave_checkpoint
Saves the modules and optimizer parameters in a checkpoint file
slam/training/trainer.py:429
↓ 1 callersMethodsave_config
Saves the config to Disk
slam/odometry/odometry_runner.py:99
↓ 1 callersMethodsave_real_motion
Saves the real new motion into the algorithm
slam/initialization.py:63
↓ 1 callersMethodse3_loop_closure_constraint
Returns a key which defines a relative constraint between two poses
slam/backend.py:99
↓ 1 callersMethodsearch_constraints
Returns a set of constraints read from `data_dict`
slam/backend.py:108
↓ 1 callersFunctionsend_to_device
Sends data to the device if it can torch.Tensor are sent to the device, containers send all the torch.Tensor to the devices Other da
slam/common/torch_utils.py:59
↓ 1 callersMethodset_projection_params
Reads projection params from the arguments and set the appropriate parameters All named arguments are optional, and will only be set
slam/common/projection.py:297
↓ 1 callersFunctionsizes_match
Returns True if the sizes matches the tensor shape
slam/common/utils.py:41
↓ 1 callersMethodtest
(self)
train.py:86
↓ 1 callersMethodtest
(self)
slam/training/trainer.py:559
↓ 1 callersFunctiontorch_euler_jacobian
Returns ------- [B, 3, 3, 3]
slam/common/rotation.py:166
↓ 1 callersFunctiontorch_euler_to_mat
(angles, convention="xyz")
slam/common/rotation.py:144
↓ 1 callersFunctiontorch_jac_rx
(cos_phi, sin_phi)
slam/common/rotation.py:39
↓ 1 callersFunctiontorch_jac_ry
(cos_theta, sin_theta)
slam/common/rotation.py:85
↓ 1 callersFunctiontorch_jac_rz
(cos_psi, sin_psi)
slam/common/rotation.py:125
↓ 1 callersFunctiontorch_mat_to_euler
(rot, convention="xyz", eps=1.e-6)
slam/common/rotation.py:253
↓ 1 callersFunctiontorch_pose_matrix_jacobian_euler
Parameters ---------- pose_params : The pose parameters with euler convention [B, 6] [B, :3] the translation parameters
slam/common/rotation.py:187
↓ 1 callersMethodtrain_epoch
Launches the training for an epoch
slam/training/trainer.py:283
↓ 1 callersMethodtransform_sequence
(self, elem)
slam/dataset/sequence_dataset.py:58
↓ 1 callersFunctiontranslation_error
(pose_err: np.ndarray)
slam/eval/eval_odometry.py:120
↓ 1 callersMethodupdate_positions
Updates trajectory Args: trajectory (np.ndarray): The absolute poses making the trajectory `(N, 4, 4)`
slam/loop_closure.py:52
↓ 1 callersMethodvisualize
Visualize the images in data_dict in OpenCV windows The data_dict must have all keys in in self.channels Each it
slam/viz/visualizer.py:47
↓ 1 callersFunctionvoxel_hash
Computes a hash given the int coordinates of a 3D voxel Args: x (np.int64): the x coordinate of a voxel y (np.int64): the y
slam/common/pointcloud.py:14
↓ 1 callersFunctionweighted_procrustes
(pc_target: TensorType, pc_reference: TensorType, weights: Opt
slam/common/registration.py:15
Method__call__
Returns the weighted tensor of residuals given a tensor of initial unweighted residuals Args: residuals (torch.Tensor):
slam/common/optimization.py:33
← previousnext →201–300 of 587, ranked by callers