...
Table of Contents | ||
---|---|---|
|
manager
section
The manager acts as the primary interface between the user and theVisual-SLAMbackend. It allows users to set, enable, and disable general functionalities of LPSLAM.
Argument | Type | Description |
---|---|---|
|
| Activate/deactivate filling the occupancy grid. |
|
| Allow to drop frames if the processing time is too slow. |
|
| File to save the generated occupancy map. |
|
| Enable/disable recording data. |
|
| If |
|
| Number of items in the processing batch when replaying data. |
|
| Activate/deactivate a live view of the camera input. |
|
| Number of threads to use for processing. |
cameras
section
Here, one sets the crucial calibration parameters for the utilized camera. These parameters define the relationship between 3D points in the world and their corresponding image projections. Accurate calibration ensures the camera model accurately reflects the real world, allowing for precise reconstruction of the environment in Visual-SLAM.
...
When using a stereo camera, each camera requires its own configuration within the same file. They are differentiated by numerical identifiers, with the left camera typically assigned 0 and the right camera assigned to 1. Notably, the parameters focal_x_baseline
, translation
, and rotation
(or rotation_vec
) are only specified for the first camera.
datasources
section
This section configures the image data source to use and defines its general settings.
File Source
This data source is utilized when it is desired to utilize LPSLAM with a pre-recorded dataset file (.pb
) in replay
mode.
Argument | Type | Description | |
---|---|---|---|
|
|
| |
|
| ||
|
| Camera’s relative position. | |
|
| Camera’s relative quaternion orientation. | |
|
| File path. |
LeapMotion and Rigel
Argument | Type | Description | |
---|---|---|---|
|
|
| |
|
| ||
|
| Camera’s relative position. | |
|
| Camera’s relative quaternion orientation. |
OpenCV
Generally, this data source type can be used for any camera that the system detects and can be accessed via OpenCV (e.g. StereoLabs ZED2)
Argument | Type | Description | |
---|---|---|---|
|
|
| |
|
| ||
|
| Camera’s relative position. | |
|
| Camera’s relative quaternion orientation. | |
|
| ID of the input camera in the system. | |
|
| Enable/disable grayscale as the color order. | |
|
| The horizontal resolution of the camera image sensor, in pixels. | |
|
| The vertical resolution of the camera image sensor, in pixels. | |
|
| The orientation of the stereo camera. Available options:
| |
|
| Framerate of input images. | |
|
| Exposure value for the camera. | |
|
| Gain value for the camera. | |
|
| Activate/deactivate OpenCV’s verbosity. | |
|
| The desired |
Varjo
This type is for using Varjo XR-3 HMD cameras as data source.
...
Argument | Type | Description | |
---|---|---|---|
|
|
| |
|
| ||
|
| Camera’s relative position. | |
|
| Camera’s relative quaternion orientation. | |
|
|
Others
Argument | Type | Description | |
---|---|---|---|
|
| Available options:
Requires
Requires
Requires
Requires
Requires
Requires
Requires | |
|
|
| |
trackers
section
The mechanism or object responsible for the tracking functionality is referred to as a tracker. Here, one sets the specific configuration for it.
VSLAM
Argument | Type | Description | ||
---|---|---|---|---|
|
|
| ||
|
| |||
General |
|
| Available options:
| |
|
| Path of a direct configuration YAML file for the Visual-SLAM backend. | ||
|
| Activate/deactivate theviewer. | ||
|
| Activate/deactivate sending poses with only orientation information. | ||
|
| Port number to which the poses will be sent. | ||
|
| An ID for the tracker.
| ||
|
| Images per second to show in the viewer. | ||
|
| Enable/disable using CUDA. | ||
|
| Enable/disable using OpenCL. | ||
|
| Enable/disable undistorting the images for better feature estimation and tracking. Same effect as the processor | ||
|
| Path of the file containing the Bag of Words database to assign identifiers to the visual features. | ||
Mapping |
|
| Enable/disable publishing the generated map in real-time. | |
|
| Enable/disable creating a map and only perform localization. | ||
|
| Enable/disable looking for loop closure poses to add to the pose graph. | ||
|
| If | ||
|
| Enable/disable using a map database. | ||
Visual Features |
|
| Depth threshold used to compute ORB keypoints. | |
|
| Minimum number of triangulated points required for a successful pose update in the Visual-SLAM backend. | ||
|
| Maximum number of keypoints to estimate. | ||
|
| Initial threshold for intensity difference when examining pixels around the potential corner detected by FAST. ORB starts with comparing intensities around the corner based on this parameter. | ||
|
| Minimum acceptable intensity difference for a pixel to be considered part of the corner feature. It acts as a filter. Only corners where a certain number of pixels (defined by ORB) exhibit an intensity difference greater than this parameter are retained as features. | ||
|
| Total number of levels in the image pyramid created by ORB. | ||
|
| Multiplicative factor by which the image is progressively scaled down to create a pyramid of images. Each level in the pyramid represents a different scale of the original image. | ||
Others |
|
| Activate/deactivate forwarding data with a higher rate than the image | |
|
| Enable/disable processing and forwarding IMU data to the Visual-SLAM backend. | ||
|
| Enable/disable processing and forwarding navigation odometry data to the Visual-SLAM backend. | ||
|
| The maximum age of laser data before it’s considered outdated when using a laser scanner and a camera in the system. | ||
|
| Enable/disable relocalize with navigation odometry data. | ||
|
| Enable/disable waiting for navigation odometry data to be processed. |
Marker
Requires LPSLAM_BUILD_CHILITAGS
Argument | Type | Description | ||
---|---|---|---|---|
|
|
| ||
|
| |||
|
| The size of the marker, in meters. | ||
|
| Scaling factor for the Process Noise Covariance
| ||
|
| Scaling factor for the Observation Noise Covariance
| ||
|
| Port number to which the poses will be sent. | ||
|
| Enable/disable showing a window with the tracked tag. | ||
|
| If its desired to detect only one marker, the number ID of the desired marker. |
processors
section
This section allows to apply some pre-defined image processing methods to the incoming images.
Camera Calibration
To be deprecated.
Argument | Type | Description |
---|---|---|
|
|
|
|
|
|
Coordinates Alignment
To be deprecated.
Requires LPSLAM_BUILD_OPTIMIZER
Argument | Type | Description |
---|---|---|
|
|
|
|
|
|
Image Blackout
To be deprecated.
Argument | Type | Description |
---|---|---|
|
|
Blacks out the image frames between 150 and 190. |
|
|
|
Image Thresholding
This image processor thresholds the images using truncate fixed-level thresholding.
Argument | Type | Description | |
---|---|---|---|
|
|
| |
|
| ||
|
| Whether automatically determine the threshold via Otsu’s algorithm. | |
|
| Threshold value |
Intensity Adjustment
This image processor adjusts the contrast of the images by mapping the input intensity range to a specified output range.
Argument | Type | Description | |
---|---|---|---|
|
|
| |
|
| ||
|
| Lower bound of the output intensity range. | |
|
| Upper bound of the output intensity range. |
Online Photometric Calibration
This performs Online Photometric Calibration with the upcoming images to generate the camera’s inverse response function. For further details about it refer to: Online Photometric Calibration of Auto Exposure Video for Realtime Visual Odometry and SLAM (P. Bergmann, R. Wang, D. Cremers), In IEEE Robotics and Automation Letters (RA-L), volume 3, 2018 (pdf).
...
Argument | Type | Description | |
---|---|---|---|
|
|
| |
|
| ||
|
| Image patch size used in the frontend tracker. | |
|
| Number of image pyramid levels used in the frontend tracker. | |
|
| Number of features kept for each frame. | |
|
| Number of images used for rapid exposure time estimation. | |
|
| Number of frames kept in the database. | |
|
| Spacing for sampling keyframes in the backend optimization. | |
|
| Minimum number of keyframes a feature should appear. |
Undistortion
This image processor undistorts the images based on the camera parameters and lens model.
Argument | Type | Description |
---|---|---|
|
|
|
|
|
|
markers
section
Requires LPSLAM_BUILD_CHILITAGS
.
...