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
↓ 1 callers
Function
default_drive_config
()
slam/odometry/ct_icp_odometry.py:185
↓ 1 callers
Function
df_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 callers
Method
do_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 callers
Method
dump_all_constraints
Save the odometry, loop and absolute constraints on disk
slam/slam.py:184
↓ 1 callers
Function
ecef_to_enu
Converts a ECEF GPS position to a LLU frame
slam/dataset/urban_loco_dataset.py:141
↓ 1 callers
Function
estimate_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 callers
Method
estimate_timestamps
(self, frame_index: int, pc: np.ndarray)
slam/dataset/urban_loco_dataset.py:222
↓ 1 callers
Method
evaluate_epoch
Launches the evaluation for an epoch
slam/training/trainer.py:347
↓ 1 callers
Method
filter
Applies a filter which modifies the state of the data_dict
slam/preprocessing.py:37
↓ 1 callers
Method
find_dataset_with_idx
(self, idx)
slam/dataset/sequence_dataset.py:44
↓ 1 callers
Function
find_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 callers
Method
forward
(self, x)
slam/models/layers.py:50
↓ 1 callers
Method
forward_layers
(self, x)
slam/models/_resnet.py:97
↓ 1 callers
Method
generate_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 callers
Method
get_ground_truth
(self, sequence_name: str, relative: bool = True)
slam/dataset/urban_loco_dataset.py:585
↓ 1 callers
Method
get_ground_truth
Returns the ground truth for the dataset_config for a given sequence
slam/dataset/configuration.py:117
↓ 1 callers
Method
get_message
(self)
slam/common/timer.py:11
↓ 1 callers
Method
get_relative_poses
Returns the computed relative poses along the trajectory
slam/slam.py:172
↓ 1 callers
Method
get_sequence_dataset
Returns: (train_dataset, eval_dataset, test_dataset) : A tuple of `DatasetOfSequences`
slam/dataset/configuration.py:99
↓ 1 callers
Method
gps_vid
Returns the vertex index in the pose graph of the gps vertex corresponding to a pose index
slam/backend.py:275
↓ 1 callers
Function
grid_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 callers
Method
ground_truth_topic
()
slam/dataset/urban_loco_dataset.py:211
↓ 1 callers
Method
init
(self)
slam/backend.py:239
↓ 1 callers
Method
init
Clears and Initialize the Local Map
slam/odometry/local_map.py:46
↓ 1 callers
Method
init
(self)
slam/odometry/local_map.py:277
↓ 1 callers
Method
is_iterable_dataset
(dataset: pct.CT_ICP_DATASET)
slam/dataset/ct_icp_dataset.py:205
↓ 1 callers
Function
kitti_360_poses
(file_path: str)
slam/dataset/kitti_360_dataset.py:23
↓ 1 callers
Function
lastFrameFromSegmentLength
(dist: list, first_frame: int, segment: float)
slam/eval/eval_odometry.py:130
↓ 1 callers
Method
load
(cls, config: DictConfig, **kwargs)
slam/common/utils.py:272
↓ 1 callers
Method
load_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 callers
Function
load_dataset
(dataset: str)
build_benchmark_md.py:32
↓ 1 callers
Method
load_datasets
Returns the .train, validation and test datasets as options
slam/training/trainer.py:552
↓ 1 callers
Method
load_sequence
(self, dataset, indices)
slam/dataset/sequence_dataset.py:49
↓ 1 callers
Method
loss_module
Returns the loss module for the specific trainer Returns ------- nn.Module The loss module computes the
slam/training/trainer.py:536
↓ 1 callers
Function
main
Main function: builds iteratively the UrbanLoco ground truth files
scripts/generate_urban_loco_gt.py:23
↓ 1 callers
Method
max_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 callers
Function
modify_nan_pmap
Set all pixel data of a projection map which have a nan to a default value
slam/common/utils.py:188
↓ 1 callers
Method
nearest_neighbor_search
Finds nearest neighbors correspondences in the map for a set of points
slam/odometry/local_map.py:66
↓ 1 callers
Function
neighborhood_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 callers
Method
next_frame
Processes a next frame by adding all trajectory constraints to the graph slam
slam/backend.py:288
↓ 1 callers
Method
next_initial_pose
Initializes the Algorithm ()
slam/initialization.py:58
↓ 1 callers
Function
opencv_rainbow
(resolution=1000)
slam/viz/color_map.py:22
↓ 1 callers
Function
packet_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 callers
Function
parse_args
Parses arguments from the command line
scripts/generate_urban_loco_gt.py:13
↓ 1 callers
Function
parse_arguments
()
replay.py:33
↓ 1 callers
Method
point_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 callers
Method
prepare_channel
(self, channel_name: str)
slam/viz/visualizer.py:38
↓ 1 callers
Method
process_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 callers
Method
process_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 callers
Method
projector
(self)
slam/dataset/nclt_dataset.py:270
↓ 1 callers
Method
projector
(self)
slam/dataset/ford_dataset.py:118
↓ 1 callers
Method
projector
Default SphericalProjetor for KITTI (projection of a pointcloud into a Vertex Map)
slam/dataset/kitti_dataset.py:323
↓ 1 callers
Method
projector
Default SphericalProjetor for NHCD (projection of a pointcloud into a Vertex Map)
slam/dataset/nhcd_dataset.py:191
↓ 1 callers
Method
read_ground_truth
(gt_file: str)
slam/dataset/nclt_dataset.py:118
↓ 1 callers
Function
read_timestamps
Read a timestamps file and convert it to float64 values
slam/dataset/kitti_360_dataset.py:37
↓ 1 callers
Method
read_velodyne_file
(file: str)
slam/dataset/nclt_dataset.py:181
↓ 1 callers
Method
register_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 callers
Method
registered_absolute_constraints
Returns the registered absolute constraints
slam/backend.py:161
↓ 1 callers
Method
registered_loop_constraints
Returns the registered loop constraints
slam/backend.py:149
↓ 1 callers
Method
registered_odometry_constraints
Returns the registered odometry constraints
slam/backend.py:155
↓ 1 callers
Method
relative_odometry_poses
Returns the relative poses between two consecutive frames corrected after global optimization
slam/backend.py:70
↓ 1 callers
Function
replay_slam
The main entry point to the script running the SLAM
replay.py:61
↓ 1 callers
Function
rescale_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 callers
Function
rescale_prediction
(sequence_pred: np.ndarray, sequence_gt: np.ndarray)
slam/eval/eval_odometry.py:204
↓ 1 callers
Method
residuals
Returns the point to plane residuals
slam/common/optimization.py:437
↓ 1 callers
Method
residuals
Returns the point to point residuals
slam/common/optimization.py:544
↓ 1 callers
Function
robust_drive_config
()
slam/odometry/ct_icp_odometry.py:192
↓ 1 callers
Method
rot_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 callers
Method
rot_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 callers
Function
rotation_error
(pose_err: np.ndarray)
slam/eval/eval_odometry.py:106
↓ 1 callers
Function
run
(cfg: PoseNetTrainingConfig)
train.py:91
↓ 1 callers
Method
run_odometry
Runs the LiDAR Odometry algorithm on the different datasets
slam/odometry/odometry_runner.py:135
↓ 1 callers
Function
run_slam
The main entry point to the script running the SLAM
run.py:10
↓ 1 callers
Function
sample_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 callers
Method
sample_points
Returns the points sampled
slam/odometry/icp_odometry.py:301
↓ 1 callers
Method
save_checkpoint
Saves the modules and optimizer parameters in a checkpoint file
slam/training/trainer.py:429
↓ 1 callers
Method
save_config
Saves the config to Disk
slam/odometry/odometry_runner.py:99
↓ 1 callers
Method
save_real_motion
Saves the real new motion into the algorithm
slam/initialization.py:63
↓ 1 callers
Method
se3_loop_closure_constraint
Returns a key which defines a relative constraint between two poses
slam/backend.py:99
↓ 1 callers
Method
search_constraints
Returns a set of constraints read from `data_dict`
slam/backend.py:108
↓ 1 callers
Function
send_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 callers
Method
set_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 callers
Function
sizes_match
Returns True if the sizes matches the tensor shape
slam/common/utils.py:41
↓ 1 callers
Method
test
(self)
train.py:86
↓ 1 callers
Method
test
(self)
slam/training/trainer.py:559
↓ 1 callers
Function
torch_euler_jacobian
Returns ------- [B, 3, 3, 3]
slam/common/rotation.py:166
↓ 1 callers
Function
torch_euler_to_mat
(angles, convention="xyz")
slam/common/rotation.py:144
↓ 1 callers
Function
torch_jac_rx
(cos_phi, sin_phi)
slam/common/rotation.py:39
↓ 1 callers
Function
torch_jac_ry
(cos_theta, sin_theta)
slam/common/rotation.py:85
↓ 1 callers
Function
torch_jac_rz
(cos_psi, sin_psi)
slam/common/rotation.py:125
↓ 1 callers
Function
torch_mat_to_euler
(rot, convention="xyz", eps=1.e-6)
slam/common/rotation.py:253
↓ 1 callers
Function
torch_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 callers
Method
train_epoch
Launches the training for an epoch
slam/training/trainer.py:283
↓ 1 callers
Method
transform_sequence
(self, elem)
slam/dataset/sequence_dataset.py:58
↓ 1 callers
Function
translation_error
(pose_err: np.ndarray)
slam/eval/eval_odometry.py:120
↓ 1 callers
Method
update_positions
Updates trajectory Args: trajectory (np.ndarray): The absolute poses making the trajectory `(N, 4, 4)`
slam/loop_closure.py:52
↓ 1 callers
Method
visualize
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 callers
Function
voxel_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 callers
Function
weighted_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
← previous
next →
201–300 of 587, ranked by callers