Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kitware/pyLiDAR-SLAM
/ functions
Functions
587 in github.com/Kitware/pyLiDAR-SLAM
⨍
Functions
587
◇
Types & classes
153
↓ 176 callers
Function
assert_debug
Debug Friendly assertion Allows to put a breakpoint, and catch any assertion error in debug
slam/common/utils.py:30
↓ 93 callers
Function
check_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 callers
Method
get
Returns the Least Square Weighting scheme parameters
slam/common/optimization.py:223
↓ 14 callers
Method
build_pose_matrix
Returns a pose matrix tensor from a pose parameters tensor Parameters ---------- params_tensor : torch.Tensor
slam/common/pose.py:120
↓ 11 callers
Method
close
Close the metrics file
slam/eval/eval_odometry.py:356
↓ 11 callers
Method
load
Loads the configuration of the filter
slam/preprocessing.py:245
↓ 11 callers
Function
projection_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 callers
Method
clear
Clears the current data stored in the backend
slam/backend.py:54
↓ 10 callers
Method
get
(activation: str)
slam/models/layers.py:17
↓ 10 callers
Method
num_params
Returns ------- int : The number of parameters (rotation + translation) for this representation
slam/common/pose.py:91
↓ 9 callers
Method
build_projection_map
Builds a projection image from a PointCloud (torch.Tensor) Parameters ---------- pointcloud : torch.Tensor
slam/common/projection.py:331
↓ 9 callers
Function
compute_relative_poses
(poses: np.ndarray)
slam/eval/eval_odometry.py:80
↓ 9 callers
Method
param_vid
Returns the vertex index in the pose graph of the param block given a pose index
slam/backend.py:279
↓ 9 callers
Method
swap
(self, **kwargs)
slam/common/projection.py:322
↓ 8 callers
Method
apply_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 callers
Method
load
(config: DictConfig, pose: Pose = Pose("euler"))
slam/models/posenet.py:74
↓ 7 callers
Method
from_pose_matrix
Returns the tensor of the parameters of the pose Parameters ---------- pose_matrix_tensor : torch.Tensor
slam/common/pose.py:188
↓ 7 callers
Function
mask_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 callers
Method
relative_pose_key
Returns the key in the keyframe dict for a new pose
slam/loop_closure.py:66
↓ 6 callers
Method
__init__
(self, sigma: float = 0.5, **kwargs)
slam/common/optimization.py:196
↓ 5 callers
Method
build_from_pct
(pct_options: pct.CTICPOptions)
slam/odometry/ct_icp_odometry.py:68
↓ 5 callers
Method
get_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 callers
Method
pointcloud_key
Returns the key in the keyframe dict for a new pointcloud
slam/loop_closure.py:61
↓ 5 callers
Function
remove_nan
Removes all `nan` values from a one or two dimensional tensor
slam/common/utils.py:169
↓ 5 callers
Method
type_name
(cls)
slam/common/utils.py:301
↓ 5 callers
Method
weights
Returns the Attenuation Factor used to define the weighted least square
slam/common/optimization.py:45
↓ 4 callers
Method
__init__
(self, config: FilterConfig)
slam/preprocessing.py:34
↓ 4 callers
Method
__init__
(self, config: InitializationConfig, **kwargs)
slam/initialization.py:40
↓ 4 callers
Method
__l1
(self, x, gt_x)
slam/training/loss_modules.py:234
↓ 4 callers
Method
_lazy_initialization
(self, prefix: str = "")
slam/dataset/rosbag_dataset.py:62
↓ 4 callers
Method
_make_layer
(self, block, planes, blocks, stride=1, dilate=False)
slam/models/_resnet.py:80
↓ 4 callers
Method
absolute_poses
(self)
slam/backend.py:402
↓ 4 callers
Function
compute_absolute_poses
(relative_poses: np.ndarray)
slam/eval/eval_odometry.py:93
↓ 4 callers
Function
delimiter
The column delimiter in pandas csv
slam/common/io.py:10
↓ 4 callers
Method
init
An initialization procedure called at the start of each sequence
slam/slam.py:81
↓ 4 callers
Method
initial_pose_key
Returns the key where the initial pose estimate is saved
slam/initialization.py:45
↓ 4 callers
Method
num_rot_params
Returns ------- int : The number of parameters of rotation for this representation
slam/common/pose.py:79
↓ 4 callers
Function
read_poses_from_disk
Reads an array of poses from disk Returns ---------- poses : np.ndarray [N, 4, 4]
slam/common/io.py:32
↓ 4 callers
Method
update
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 callers
Function
voxel_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 callers
Function
voxelise
Computes voxel coordinates for a given pointcloud Args: pointcloud (np.ndarray): The input pointcloud `(n, 3)` [np.float32]
slam/common/pointcloud.py:55
↓ 3 callers
Method
__add_vertex
(self, v_id, pose: np.ndarray, fixed: bool = False, gps_vertex: bool = False)
slam/backend.py:262
↓ 3 callers
Method
__init__
(self, num_input_channels, model: int = 18, activation: str = "relu", pretrained: bool = False)
slam/models/_resnet.py:120
↓ 3 callers
Method
__loss
(self, x, gt_x)
slam/training/loss_modules.py:237
↓ 3 callers
Method
_enums
()
slam/odometry/ct_icp_odometry.py:62
↓ 3 callers
Method
absolute_gt_key
The key (in data_dict) for the absolute_pose_gt
slam/dataset/configuration.py:46
↓ 3 callers
Method
get_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 callers
Function
high_res_colormap
(low_res_cmap, resolution=1000, max_value=1)
slam/viz/color_map.py:11
↓ 3 callers
Function
list_poses_to_poses_array
(poses_list: list)
slam/eval/eval_odometry.py:70
↓ 3 callers
Function
poses_to_df
Converts an array of pose matrices [N, 4, 4] to a DataFrame [N, 12]
slam/common/io.py:65
↓ 3 callers
Method
prediction_module
Returns the prediction module for the specific trainer Returns ------- nn.Module The evaluation module w
slam/training/trainer.py:521
↓ 3 callers
Method
save_constraints
(constraints, file_path: str)
slam/slam.py:208
↓ 3 callers
Method
save_metrics
Saves the metrics dictionary saved as a yaml file
slam/eval/eval_odometry.py:345
↓ 3 callers
Method
se3_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 callers
Method
sequences
Returns the train, eval and test datasets and the corresponding sequence name Returns: (train, eval, test, transform) tr
slam/dataset/configuration.py:66
↓ 3 callers
Method
train
Launches num_epochs of training Parameters ---------- num_epochs : int The number of epochs to launch
slam/training/trainer.py:252
↓ 3 callers
Function
transform_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 callers
Function
Rx
(phi)
slam/common/rotation.py:7
↓ 2 callers
Function
Ry
(theta)
slam/common/rotation.py:53
↓ 2 callers
Function
Rz
(psi)
slam/common/rotation.py:98
↓ 2 callers
Method
__init__
(self, config: LocalMapConfig, **kwargs)
slam/odometry/local_map.py:40
↓ 2 callers
Method
__init__
(self, alignment_config: RigidAlignmentConfig, **kwargs)
slam/odometry/alignment.py:39
↓ 2 callers
Method
__init__
(self, num_losses: int, init_weights: list)
slam/training/loss_modules.py:151
↓ 2 callers
Method
__to_pose_matrix
(self, pose: torch.Tensor)
slam/common/pose.py:146
↓ 2 callers
Method
_get_pose
(self, v_id)
slam/backend.py:283
↓ 2 callers
Method
absolute_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 callers
Method
align_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 callers
Method
attribute_key
(cls, attribute: str)
slam/common/utils.py:225
↓ 2 callers
Method
build_model
Builds the KdTree and initialize the computation of the normals
slam/odometry/local_map.py:365
↓ 2 callers
Method
compute
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 callers
Method
compute_features
Projects the pc into the image plane, and compute features and descriptors
slam/common/registration.py:122
↓ 2 callers
Function
compute_kitti_metrics
(trajectory, ground_truth, segments_sizes=__default_segments)
slam/eval/eval_odometry.py:172
↓ 2 callers
Function
compute_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 callers
Function
compute_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 callers
Method
correct_scan
Corrects the calibration of KITTI's HDL-64 scan
slam/dataset/kitti_dataset.py:202
↓ 2 callers
Method
decode_pointcloud
(msg: pc2.PointCloud2, timestamp, xyz_fieldname: str = "xyz")
slam/dataset/rosbag_dataset.py:104
↓ 2 callers
Function
default_small_motion_config
()
slam/odometry/ct_icp_odometry.py:199
↓ 2 callers
Function
draw_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 callers
Function
drive_foldername
(drive_id: int)
slam/dataset/kitti_360_dataset.py:46
↓ 2 callers
Method
euler_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 callers
Method
forward
(self, x)
slam/models/_resnet.py:110
↓ 2 callers
Function
get_git_hash
Safely retrieves the hash of the last commit If any failure, returns None
slam/common/utils.py:15
↓ 2 callers
Method
get_relative_poses
Returns the poses of the sequence of frames started after init() was called
slam/odometry/odometry.py:58
↓ 2 callers
Function
get_sequence_poses
Returns the poses of a given drive
slam/dataset/kitti_360_dataset.py:61
↓ 2 callers
Function
gray_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 callers
Method
ground_truth
Returns the ground truth associated with the sequence
slam/odometry/odometry_runner.py:262
↓ 2 callers
Method
groundtruth_filename
(cls, sequence: str)
slam/dataset/urban_loco_dataset.py:427
↓ 2 callers
Method
handle_failure
Handles Failure cases of the SLAM runner
slam/odometry/odometry_runner.py:111
↓ 2 callers
Method
have_sequence
(seq_name)
slam/dataset/ct_icp_dataset.py:209
↓ 2 callers
Method
init
Clears the current representation and prepare a new model
slam/backend.py:45
↓ 2 callers
Function
kitti_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 callers
Method
lidar_frame_key
()
slam/odometry/ct_icp_odometry.py:224
↓ 2 callers
Function
llu_to_ecef
Converts a LLU GPS position to ECEF frame
slam/dataset/urban_loco_dataset.py:123
↓ 2 callers
Method
load_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 callers
Method
load_slam_algorithm
Returns the SLAM algorithm which will be run
slam/odometry/odometry_runner.py:251
↓ 2 callers
Method
log_dict
Logs the output of the Parameters ---------- log_dict : dict The dictionary of items to be logged
slam/training/trainer.py:466
↓ 2 callers
Method
next_frame
Processes a next frame
slam/backend.py:74
↓ 2 callers
Method
num_frames
(sequence_id: str)
slam/dataset/nhcd_dataset.py:77
↓ 2 callers
Method
optimize
(self, max_num_epochs: int = 20)
slam/backend.py:391
↓ 2 callers
Method
pointcloud_key
()
slam/odometry/odometry.py:71
next →
1–100 of 587, ranked by callers