2011-06-05 14:45:39 +00:00
|
|
|
/*
|
2014-08-11 17:00:55 +00:00
|
|
|
Copyright (c) 2010-2014, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
|
|
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
|
|
modification, are permitted provided that the following conditions are met:
|
|
|
|
|
* Redistributions of source code must retain the above copyright
|
|
|
|
|
notice, this list of conditions and the following disclaimer.
|
|
|
|
|
* Redistributions in binary form must reproduce the above copyright
|
|
|
|
|
notice, this list of conditions and the following disclaimer in the
|
|
|
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
|
* Neither the name of the Universite de Sherbrooke nor the
|
|
|
|
|
names of its contributors may be used to endorse or promote products
|
|
|
|
|
derived from this software without specific prior written permission.
|
|
|
|
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
|
|
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
|
|
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
|
DISCLAIMED. IN NO EVENT SHALL UNIVERTY DE SHERBROOKE BE LIABLE FOR ANY
|
|
|
|
|
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
|
|
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
|
|
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
|
|
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
*/
|
2011-06-05 14:45:39 +00:00
|
|
|
|
|
|
|
|
#ifndef VERSION_H_
|
|
|
|
|
#define VERSION_H_
|
|
|
|
|
|
|
|
|
|
// This is auto-generated!
|
2014-10-02 15:12:56 +00:00
|
|
|
#define RTABMAP_VERSION "@PROJECT_VERSION@"
|
2011-06-05 14:45:39 +00:00
|
|
|
|
2014-10-02 15:12:56 +00:00
|
|
|
#define RTABMAP_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
|
|
|
|
|
#define RTABMAP_VERSION_MINOR @PROJECT_VERSION_MINOR@
|
|
|
|
|
#define RTABMAP_VERSION_PATCH @PROJECT_VERSION_PATCH@
|
2011-06-05 14:45:39 +00:00
|
|
|
|
2026-05-04 20:12:31 -07:00
|
|
|
#define RTABMAP_VERSION_COMPARE(OP, MAJOR, MINOR, PATCH) (RTABMAP_VERSION_MAJOR*10000+RTABMAP_VERSION_MINOR*100+RTABMAP_VERSION_PATCH OP MAJOR*10000+MINOR*100+PATCH)
|
2011-06-05 14:45:39 +00:00
|
|
|
|
2016-03-01 14:25:00 -05:00
|
|
|
@NONFREE@#define RTABMAP_NONFREE
|
|
|
|
|
@TORO@#define RTABMAP_TORO
|
|
|
|
|
@G2O@#define RTABMAP_G2O
|
2022-01-03 15:37:06 -05:00
|
|
|
@G2O_CPP_CONF@#define RTABMAP_G2O_CPP11 @G2O_CPP11@
|
2025-10-13 22:54:35 -07:00
|
|
|
@G2O_WITH_SBA_UTILS_CONF@#define RTABMAP_G2O_WITH_SBA_UTILS
|
2016-03-01 14:25:00 -05:00
|
|
|
@GTSAM@#define RTABMAP_GTSAM
|
2019-08-17 03:55:04 -04:00
|
|
|
@CERES@#define RTABMAP_CERES
|
2023-02-03 17:25:38 -08:00
|
|
|
@MRPT@#define RTABMAP_MRPT
|
2016-03-01 14:25:00 -05:00
|
|
|
@VERTIGO@#define RTABMAP_VERTIGO
|
2024-06-15 23:12:07 +02:00
|
|
|
@OPENNI@#define RTABMAP_OPENNI
|
2016-03-01 14:25:00 -05:00
|
|
|
@OPENNI2@#define RTABMAP_OPENNI2
|
|
|
|
|
@FREENECT@#define RTABMAP_FREENECT
|
|
|
|
|
@FREENECT2@#define RTABMAP_FREENECT2
|
2017-11-06 00:19:12 -05:00
|
|
|
@K4W2@#define RTABMAP_K4W2
|
2019-07-09 20:48:09 -04:00
|
|
|
@K4A@#define RTABMAP_K4A
|
2016-03-01 14:25:00 -05:00
|
|
|
@CVSBA@#define RTABMAP_CVSBA
|
2017-08-22 16:20:49 -04:00
|
|
|
@POINTMATCHER@#define RTABMAP_POINTMATCHER
|
2021-03-27 15:11:20 -04:00
|
|
|
@CCCORELIB@#define RTABMAP_CCCORELIB
|
2021-11-13 19:45:57 -05:00
|
|
|
@OPEN3D@#define RTABMAP_OPEN3D
|
2019-08-14 12:09:56 -04:00
|
|
|
@FASTCV@#define RTABMAP_FASTCV
|
2022-07-20 15:20:14 -04:00
|
|
|
@OPENGV@#define RTABMAP_OPENGV
|
2021-01-14 15:49:18 -05:00
|
|
|
@PDAL@#define RTABMAP_PDAL
|
2024-10-06 17:16:22 -07:00
|
|
|
@LIBLAS@#define RTABMAP_LIBLAS
|
2024-09-13 14:22:54 -07:00
|
|
|
@CUDASIFT@#define RTABMAP_CUDASIFT
|
2018-06-28 11:10:46 -04:00
|
|
|
@LOAM@#define RTABMAP_LOAM
|
2021-09-09 17:38:54 -04:00
|
|
|
@FLOAM@#define RTABMAP_FLOAM
|
Add LIO-SAM as an odometry strategy (#1684)
* Added liosam odometry integration
* Add kXYZIRT scan format with per-point ring channel for LIO-SAM integration
Introduce PointXYZIRT point type and kXYZIRT LaserScan format (x,y,z,
intensity,ring,time) so that ring indices survive the scan pipeline.
Update OdometryLIOSAM to require kXYZIRT and properly split ring/time
into the parallel buffers LIO-SAM expects. Extend deskewing to preserve
ring data and disable base-class deskew in OdometryLIOSAM since LIO-SAM
handles it internally.
* Address PR review: config file, deferred init, and GUI panel for LIO-SAM
- Add OdomLIOSAM/ConfigPath parameter to load LIO-SAM settings from a
YAML file. When set, individual params are ignored. Extrinsics from
sensor local transforms always override config file values.
- Defer LioSamCore initialization until both IMU and lidar local
transforms are available, computing T_lidar_imu from sensor data.
IMU samples are buffered and replayed after init.
- Fix deferred init for scan-only messages that arrive after IMU
local transform is already cached.
- Add LIO-SAM entry to odometry strategy combo box (index 14) with
full PreferencesDialog panel including config path browse button
and all parameter widgets.
* OdometryLIOSAM: propagate deskewed scan to SensorData
Capture the deskewed cloud produced by LIO-SAM's image projection
stage and replace the raw scan on SensorData with it, so loop closure
registration and other downstream stages operate on the motion-
compensated points instead of the raw pre-deskew input.
* Minor updates for rtabmap_ros
---------
Co-authored-by: matlabbe <matlabbe@gmail.com>
2026-04-12 20:06:44 -05:00
|
|
|
@LIOSAM@#define RTABMAP_LIOSAM
|
2016-03-01 14:25:00 -05:00
|
|
|
@DC1394@#define RTABMAP_DC1394
|
|
|
|
|
@FLYCAPTURE2@#define RTABMAP_FLYCAPTURE2
|
2016-05-31 19:09:49 -04:00
|
|
|
@ZED@#define RTABMAP_ZED
|
2021-02-28 10:31:18 -05:00
|
|
|
@ZEDOC@#define RTABMAP_ZEDOC
|
2016-07-26 18:39:34 -04:00
|
|
|
@REALSENSE@#define RTABMAP_REALSENSE
|
2017-04-21 21:24:23 -04:00
|
|
|
@REALSENSESLAM@#define RTABMAP_REALSENSE_SLAM
|
2018-06-15 12:24:00 -04:00
|
|
|
@REALSENSE2@#define RTABMAP_REALSENSE2
|
2020-04-30 00:57:47 -04:00
|
|
|
@MYNTEYE@#define RTABMAP_MYNTEYE
|
2021-03-07 12:27:21 -05:00
|
|
|
@DEPTHAI@#define RTABMAP_DEPTHAI
|
2024-05-23 17:02:38 +08:00
|
|
|
@XVSDK@#define RTABMAP_XVSDK
|
2025-10-07 10:22:16 -07:00
|
|
|
@ORBBEC_SDK@#define RTABMAP_ORBBEC_SDK
|
2016-06-28 19:00:44 -04:00
|
|
|
@OCTOMAP@#define RTABMAP_OCTOMAP
|
2023-12-17 22:44:11 -08:00
|
|
|
@GRIDMAP@#define RTABMAP_GRIDMAP
|
2017-05-05 21:44:06 -04:00
|
|
|
@CPUTSDF@#define RTABMAP_CPUTSDF
|
2019-10-24 08:56:23 -04:00
|
|
|
@ALICE_VISION@#define RTABMAP_ALICE_VISION
|
2018-03-26 18:06:41 -04:00
|
|
|
@OPENCHISEL@#define RTABMAP_OPENCHISEL
|
2017-05-30 09:27:31 -04:00
|
|
|
@FOVIS@#define RTABMAP_FOVIS
|
2017-05-30 14:03:46 -04:00
|
|
|
@VISO2@#define RTABMAP_VISO2
|
2017-05-31 20:57:24 -04:00
|
|
|
@DVO@#define RTABMAP_DVO
|
2018-03-07 19:43:30 -05:00
|
|
|
@OKVIS@#define RTABMAP_OKVIS
|
2018-07-14 20:40:44 -04:00
|
|
|
@MSCKF_VIO@#define RTABMAP_MSCKF_VIO
|
2025-09-14 19:29:28 -07:00
|
|
|
@VINSFUSION@#define RTABMAP_VINS_FUSION
|
2021-03-28 23:51:02 -04:00
|
|
|
@OPENVINS@#define RTABMAP_OPENVINS
|
2025-10-03 11:49:21 -07:00
|
|
|
@CUVSLAM@#define RTABMAP_CUVSLAM
|
2021-03-09 16:00:41 -05:00
|
|
|
@ORB_SLAM@#define RTABMAP_ORB_SLAM @ORB_SLAM_VERSION@
|
2019-04-18 19:50:58 -04:00
|
|
|
@ORB_OCTREE@#define RTABMAP_ORB_OCTREE
|
2021-01-17 01:56:27 -05:00
|
|
|
@TORCH@#define RTABMAP_TORCH
|
|
|
|
|
@PYTHON@#define RTABMAP_PYTHON
|
2019-05-07 18:57:53 -04:00
|
|
|
@MADGWICK@#define RTABMAP_MADGWICK
|
2026-05-26 17:43:34 -07:00
|
|
|
@APRILTAG@#define RTABMAP_APRILTAG
|
|
|
|
|
@APRILTAG_ARUCO@#define RTABMAP_APRILTAG_WITH_ARUCO
|
2019-05-07 18:57:53 -04:00
|
|
|
|
2020-11-14 16:52:01 -05:00
|
|
|
#include <pcl/pcl_config.h>
|
|
|
|
|
|
|
|
|
|
#if PCL_VERSION_COMPARE(>, 1, 11, 1)
|
|
|
|
|
#include <pcl/types.h>
|
|
|
|
|
#define RTABMAP_PCL_INDEX pcl::index_t
|
|
|
|
|
#elif PCL_VERSION_COMPARE(>=, 1, 10, 0)
|
|
|
|
|
#define RTABMAP_PCL_INDEX std::uint32_t
|
|
|
|
|
#else
|
|
|
|
|
#include <pcl/pcl_macros.h>
|
|
|
|
|
#define RTABMAP_PCL_INDEX pcl::uint32_t
|
|
|
|
|
#endif
|
2014-11-21 23:37:23 +00:00
|
|
|
|
2011-06-05 14:45:39 +00:00
|
|
|
#endif /* VERSION_H_ */
|
|
|
|
|
|