MCPcopy Create free account

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

Functions587 in github.com/Kitware/pyLiDAR-SLAM

↓ 176 callersFunctionassert_debug
Debug Friendly assertion Allows to put a breakpoint, and catch any assertion error in debug
slam/common/utils.py:30
↓ 93 callersFunctioncheck_tensor
Checks the size of a tensor along all its dimensions, against a list of sizes The tensor must have the same number of dimensions as the list
slam/common/utils.py:54
↓ 16 callersMethodget
Returns the Least Square Weighting scheme parameters
slam/common/optimization.py:223
↓ 14 callersMethodbuild_pose_matrix
Returns a pose matrix tensor from a pose parameters tensor Parameters ---------- params_tensor : torch.Tensor
slam/common/pose.py:120
↓ 11 callersMethodclose
Close the metrics file
slam/eval/eval_odometry.py:356
↓ 11 callersMethodload
Loads the configuration of the filter
slam/preprocessing.py:245
↓ 11 callersFunctionprojection_map_to_points
Parameters ---------- pmap: torch.Tensor [..., num_channels, H, W] A projection map tensor with : the last two dimens
slam/common/geometry.py:181
↓ 10 callersMethodclear
Clears the current data stored in the backend
slam/backend.py:54
↓ 10 callersMethodget
(activation: str)
slam/models/layers.py:17
↓ 10 callersMethodnum_params
Returns ------- int : The number of parameters (rotation + translation) for this representation
slam/common/pose.py:91
↓ 9 callersMethodbuild_projection_map
Builds a projection image from a PointCloud (torch.Tensor) Parameters ---------- pointcloud : torch.Tensor
slam/common/projection.py:331
↓ 9 callersFunctioncompute_relative_poses
(poses: np.ndarray)
slam/eval/eval_odometry.py:80
↓ 9 callersMethodparam_vid
Returns the vertex index in the pose graph of the param block given a pose index
slam/backend.py:279
↓ 9 callersMethodswap
(self, **kwargs)
slam/common/projection.py:322
↓ 8 callersMethodapply_transformation
Applies a transformation to a point cloud Parameters ---------- points_3d : [B, N, 3] A X, Y, Z point cl
slam/common/pose.py:169
↓ 8 callersMethodload
(config: DictConfig, pose: Pose = Pose("euler"))
slam/models/posenet.py:74
↓ 7 callersMethodfrom_pose_matrix
Returns the tensor of the parameters of the pose Parameters ---------- pose_matrix_tensor : torch.Tensor
slam/common/pose.py:188
↓ 7 callersFunctionmask_not_null
Parameters ---------- tensor : torch.Tensor A tensor which to be filtered for null points. null points must be null across
slam/common/geometry.py:157
↓ 7 callersMethodrelative_pose_key
Returns the key in the keyframe dict for a new pose
slam/loop_closure.py:66
↓ 6 callersMethod__init__
(self, sigma: float = 0.5, **kwargs)
slam/common/optimization.py:196
↓ 5 callersMethodbuild_from_pct
(pct_options: pct.CTICPOptions)
slam/odometry/ct_icp_odometry.py:68
↓ 5 callersMethodget_residual_fun
Returns the Point-to-Plane residual closure The returned closure takes input a pose matrix or pose params tensor, And return
slam/common/optimization.py:399
↓ 5 callersMethodpointcloud_key
Returns the key in the keyframe dict for a new pointcloud
slam/loop_closure.py:61
↓ 5 callersFunctionremove_nan
Removes all `nan` values from a one or two dimensional tensor
slam/common/utils.py:169
↓ 5 callersMethodtype_name
(cls)
slam/common/utils.py:301
↓ 5 callersMethodweights
Returns the Attenuation Factor used to define the weighted least square
slam/common/optimization.py:45
↓ 4 callersMethod__init__
(self, config: FilterConfig)
slam/preprocessing.py:34
↓ 4 callersMethod__init__
(self, config: InitializationConfig, **kwargs)
slam/initialization.py:40
↓ 4 callersMethod__l1
(self, x, gt_x)
slam/training/loss_modules.py:234
↓ 4 callersMethod_lazy_initialization
(self, prefix: str = "")
slam/dataset/rosbag_dataset.py:62
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False)
slam/models/_resnet.py:80
↓ 4 callersMethodabsolute_poses
(self)
slam/backend.py:402
↓ 4 callersFunctioncompute_absolute_poses
(relative_poses: np.ndarray)
slam/eval/eval_odometry.py:93
↓ 4 callersFunctiondelimiter
The column delimiter in pandas csv
slam/common/io.py:10
↓ 4 callersMethodinit
An initialization procedure called at the start of each sequence
slam/slam.py:81
↓ 4 callersMethodinitial_pose_key
Returns the key where the initial pose estimate is saved
slam/initialization.py:45
↓ 4 callersMethodnum_rot_params
Returns ------- int : The number of parameters of rotation for this representation
slam/common/pose.py:79
↓ 4 callersFunctionread_poses_from_disk
Reads an array of poses from disk Returns ---------- poses : np.ndarray [N, 4, 4]
slam/common/io.py:32
↓ 4 callersMethodupdate
Updates the Local Map, by incorporating the new frame registered Args: new_relative_pose (torch.Tensor): The relative po
slam/odometry/local_map.py:51
↓ 4 callersFunctionvoxel_hashing
Computes voxel hashes for an array of voxel indices Args: voxel (np.ndarray): An array of voxels `(n, 3)` [np.int64] see https:
slam/common/pointcloud.py:41
↓ 4 callersFunctionvoxelise
Computes voxel coordinates for a given pointcloud Args: pointcloud (np.ndarray): The input pointcloud `(n, 3)` [np.float32]
slam/common/pointcloud.py:55
↓ 3 callersMethod__add_vertex
(self, v_id, pose: np.ndarray, fixed: bool = False, gps_vertex: bool = False)
slam/backend.py:262
↓ 3 callersMethod__init__
(self, num_input_channels, model: int = 18, activation: str = "relu", pretrained: bool = False)
slam/models/_resnet.py:120
↓ 3 callersMethod__loss
(self, x, gt_x)
slam/training/loss_modules.py:237
↓ 3 callersMethod_enums
()
slam/odometry/ct_icp_odometry.py:62
↓ 3 callersMethodabsolute_gt_key
The key (in data_dict) for the absolute_pose_gt
slam/dataset/configuration.py:46
↓ 3 callersMethodget_residual_jac_fun
Returns the Point-to-Plane residual jacobian closure The returned closure takes input a pose matrix or pose params tensor, A
slam/common/optimization.py:356
↓ 3 callersFunctionhigh_res_colormap
(low_res_cmap, resolution=1000, max_value=1)
slam/viz/color_map.py:11
↓ 3 callersFunctionlist_poses_to_poses_array
(poses_list: list)
slam/eval/eval_odometry.py:70
↓ 3 callersFunctionposes_to_df
Converts an array of pose matrices [N, 4, 4] to a DataFrame [N, 12]
slam/common/io.py:65
↓ 3 callersMethodprediction_module
Returns the prediction module for the specific trainer Returns ------- nn.Module The evaluation module w
slam/training/trainer.py:521
↓ 3 callersMethodsave_constraints
(constraints, file_path: str)
slam/slam.py:208
↓ 3 callersMethodsave_metrics
Saves the metrics dictionary saved as a yaml file
slam/eval/eval_odometry.py:345
↓ 3 callersMethodse3_odometry_constraint
Returns a key which defines a relative constraint between two consecutive poses Backends will search the `dict` of a new frame for keys follo
slam/backend.py:86
↓ 3 callersMethodsequences
Returns the train, eval and test datasets and the corresponding sequence name Returns: (train, eval, test, transform) tr
slam/dataset/configuration.py:66
↓ 3 callersMethodtrain
Launches num_epochs of training Parameters ---------- num_epochs : int The number of epochs to launch
slam/training/trainer.py:252
↓ 3 callersFunctiontransform_pointcloud
Applies the transform `tr` to the pointcloud Parameters ---------- pointcloud : np.ndarray (N, 3) tr : np.ndarray (4, 4)
slam/common/pose.py:40
↓ 2 callersFunctionRx
(phi)
slam/common/rotation.py:7
↓ 2 callersFunctionRy
(theta)
slam/common/rotation.py:53
↓ 2 callersFunctionRz
(psi)
slam/common/rotation.py:98
↓ 2 callersMethod__init__
(self, config: LocalMapConfig, **kwargs)
slam/odometry/local_map.py:40
↓ 2 callersMethod__init__
(self, alignment_config: RigidAlignmentConfig, **kwargs)
slam/odometry/alignment.py:39
↓ 2 callersMethod__init__
(self, num_losses: int, init_weights: list)
slam/training/loss_modules.py:151
↓ 2 callersMethod__to_pose_matrix
(self, pose: torch.Tensor)
slam/common/pose.py:146
↓ 2 callersMethod_get_pose
(self, v_id)
slam/backend.py:283
↓ 2 callersMethodabsolute_poses
Returns the poses expressed in the first pose frame Note: Should differ from world_poses only when additional information on the trajectory a
slam/backend.py:62
↓ 2 callersMethodalign_2d
Attempts to align the target onto the reference, and if enough inliers are found, If succesful, returns the planar transform
slam/common/registration.py:141
↓ 2 callersMethodattribute_key
(cls, attribute: str)
slam/common/utils.py:225
↓ 2 callersMethodbuild_model
Builds the KdTree and initialize the computation of the normals
slam/odometry/local_map.py:365
↓ 2 callersMethodcompute
Estimates the optimal set of parameters for a LeastSquare problem Args: x0 (torch.Tensor): The initial set of parameters
slam/common/optimization.py:237
↓ 2 callersMethodcompute_features
Projects the pc into the image plane, and compute features and descriptors
slam/common/registration.py:122
↓ 2 callersFunctioncompute_kitti_metrics
(trajectory, ground_truth, segments_sizes=__default_segments)
slam/eval/eval_odometry.py:172
↓ 2 callersFunctioncompute_neighbors
Computes the nearest neighbors between a target vertex map and a batch of reference vertex maps Args: vm_target (torch.Tensor): The
slam/common/geometry.py:397
↓ 2 callersFunctioncompute_normal_map
Computes the normals for a VertexMap (An image of X,Y,Z points projected into the image plane) Parameters ---------- vertex_map
slam/common/geometry.py:240
↓ 2 callersMethodcorrect_scan
Corrects the calibration of KITTI's HDL-64 scan
slam/dataset/kitti_dataset.py:202
↓ 2 callersMethoddecode_pointcloud
(msg: pc2.PointCloud2, timestamp, xyz_fieldname: str = "xyz")
slam/dataset/rosbag_dataset.py:104
↓ 2 callersFunctiondefault_small_motion_config
()
slam/odometry/ct_icp_odometry.py:199
↓ 2 callersFunctiondraw_trajectory_files
Draws multiple 2D trajectories in matplotlib plots and saves the plots as png images Parameters ---------- xs : list of arrays
slam/eval/eval_odometry.py:15
↓ 2 callersFunctiondrive_foldername
(drive_id: int)
slam/dataset/kitti_360_dataset.py:46
↓ 2 callersMethodeuler_convention
Returns the euler convention used for the parametrisation of the rotation Fails if self.pose_type is not equal to "euler"
slam/common/pose.py:70
↓ 2 callersMethodforward
(self, x)
slam/models/_resnet.py:110
↓ 2 callersFunctionget_git_hash
Safely retrieves the hash of the last commit If any failure, returns None
slam/common/utils.py:15
↓ 2 callersMethodget_relative_poses
Returns the poses of the sequence of frames started after init() was called
slam/odometry/odometry.py:58
↓ 2 callersFunctionget_sequence_poses
Returns the poses of a given drive
slam/dataset/kitti_360_dataset.py:61
↓ 2 callersFunctiongray_color_map
Returns a color image from a gray image Parameters: np_image (np.ndarray): a gray image `(H,W)` color_map (str): The name of
slam/viz/color_map.py:42
↓ 2 callersMethodground_truth
Returns the ground truth associated with the sequence
slam/odometry/odometry_runner.py:262
↓ 2 callersMethodgroundtruth_filename
(cls, sequence: str)
slam/dataset/urban_loco_dataset.py:427
↓ 2 callersMethodhandle_failure
Handles Failure cases of the SLAM runner
slam/odometry/odometry_runner.py:111
↓ 2 callersMethodhave_sequence
(seq_name)
slam/dataset/ct_icp_dataset.py:209
↓ 2 callersMethodinit
Clears the current representation and prepare a new model
slam/backend.py:45
↓ 2 callersFunctionkitti_read_scan
Reads and Returns a Lidar Scan from kitti's benchmark Args: file_path (str): The file path of kitti's binary file Returns:
slam/dataset/kitti_dataset.py:20
↓ 2 callersMethodlidar_frame_key
()
slam/odometry/ct_icp_odometry.py:224
↓ 2 callersFunctionllu_to_ecef
Converts a LLU GPS position to ECEF frame
slam/dataset/urban_loco_dataset.py:123
↓ 2 callersMethodload_datasets
Loads the Datasets for which the odometry is evaluated Returns ------- A list of pairs (sequence_name :str, dataset_
slam/odometry/odometry_runner.py:235
↓ 2 callersMethodload_slam_algorithm
Returns the SLAM algorithm which will be run
slam/odometry/odometry_runner.py:251
↓ 2 callersMethodlog_dict
Logs the output of the Parameters ---------- log_dict : dict The dictionary of items to be logged
slam/training/trainer.py:466
↓ 2 callersMethodnext_frame
Processes a next frame
slam/backend.py:74
↓ 2 callersMethodnum_frames
(sequence_id: str)
slam/dataset/nhcd_dataset.py:77
↓ 2 callersMethodoptimize
(self, max_num_epochs: int = 20)
slam/backend.py:391
↓ 2 callersMethodpointcloud_key
()
slam/odometry/odometry.py:71
next →1–100 of 587, ranked by callers