Commit Graph
51 Commits
Author SHA1 Message Date
matlabbe 3b5a4ed675 Added error messages when subscribe_odom and odom_frame_id are both not set. rgb_sync: added option "fill_empty_depth" to add fake empty depth for monocular cameras. See also #1363 2025-10-18 13:59:55 -07:00
matlabbe c19240884e Merge branch 'master' of github.com:introlab/rtabmap_ros into ros2 2025-09-21 13:44:51 -07:00
matlabbe f9ad71a7af Updated README with examples of usage of the MIT stata center dataset based on jfr2018 paper. #1350 2025-09-18 04:43:24 +00:00
matlabbe 0ad034680b Odom: added parameter "always_process_most_recent_frame" (default true like before) so that we can disable aggressive frame dropping in case input frames are published with flaky latency (e.g., with large rosbag having issue to replay in time topics) 2025-09-07 19:08:58 -07:00
matlabbe d23e3eef01 Resolving image_transport hints support (#1181) (#1348)
* Resolving image_transport hints support (#1181)

* updated dev container to be able to install packages, updated comment
2025-08-09 15:05:08 -07:00
matlabbe ca6a2c2ff7 bump 0.22.1 2025-07-12 17:18:44 -07:00
matlabbe 8d5af87d17 Fixed compilation errors on rolling (backward compatible for Humble) 2025-07-12 15:18:39 -07:00
matlabbe 42142de82c merged master->ros2 2025-07-04 15:02:12 -07:00
matlabbe 3cc9db8f87 Odom reset on time jump in the past (#1333)
* Odom reset on time jump

* Adding more logs to debug

* refactored

* dont skip frame on clock jump

* Making clock check independent of the topic stamp check

* fixed post check

* Making diagnostic more robust to time jump

* Added node name to warning

* make sync warning msg working in case of time jump

* not need to reset timer

* reset timer

* timer auto reset already

* typo

* Added more time checks to make sure we don't republish a tf frame with stamp from a topic in the future

* dont send tf if time jump happened while processing

* fixed errors

* addressing comments

* fixing time comparison
2025-07-03 17:50:38 -07:00
matlabbe d336369ca4 Debug builtin interfaces issue (#1328)
* debugging builtin_interfaces issue on arm64

* add logh

* cmake debug

* show arch

* refactored

* explicit find_library

* explicitly search builtin_interfaces__rosidl_generator_c

* fixing in rtabmap_slam

* rtabmap_sync

* openssl error

* rtabmap odom

* rtabmap_viz

* adding missing deps instead

* testing on all distros

* limit fix to humble-aarch64 build

* remvoed debug code

* Running aarch64 workaround for all distros

* message_filters error

* added cmake --debug-find

* using 2 threads

* reseting ros2 ci
2025-06-16 19:20:21 -07:00
matlabbe 945101697a bump version 0.22.0 2025-06-08 16:01:18 -07:00
matlabbe 29b4734cd7 merged master->ros2 2025-06-08 15:45:43 -07:00
matlabbe 50fe38ef6c Adding ROS2 Kilted to CI (#1322)
* Adding ROS2 Kilted to CI

* updated ros2 ci workflow

* updated version of action-ros-ci

* Updated dev containers, fixed kilted build

* Added git autocompletion
2025-06-08 15:01:07 -07:00
matlabbe f122dbace5 bump 0.21.13 2025-04-27 15:22:34 -07:00
matlabbe a4dafb6ba5 bump 0.21.10 (merged master) 2025-02-12 19:27:01 -08:00
matlabbe 59390d8199 bump 0.21.10 2025-02-12 19:25:32 -08:00
matlabbe 7ca3a95899 bump 0.21.9 remaining packages 2024-12-01 10:50:39 -08:00
matlabbe 3f6adad463 ROS2 various QOL updates (preparing new binary release) (#1225)
* Updating examples and README

* updated main readme

* odom: Added always_check_imu_tf parameter. sync: increased default sync_queue_size from 2 to 5 (to be more flexible to different hardware), added input and output diagnostics. rtabmap_viz: fixed node with same name redeclared warning.

* update readme

* Added husky demo

* converted demo_robot_mapping.launch to ros2

* Converted stereo_outdoor demo from ros1 to ros2

* Converted multi-session demo to ros2

* Converted demo_find_object launch to ros2

* renamed files

* uniformized default qos, increased sync_queue_size default to 10

* Added vlp16 + imu example

* Added husky 3D lidar demos

* moved demos in subdir

* Added vlp16+zed example

* rtabmap_viz: ignore odom update if tf not ready when not using topic (to avoid showing red screen). Added champ VSLAM demo.

* forwarded camera_model arg for zed examples, removed qos for turtlebot4 demo

* pointcloud_to_depthimage: added more error logs, removed output camera_info published twice and match ros1 namespaces

* Created two base general examples for 3D lidar usage, then create hardware specific examples on top of them.

* Added isaac sim demo

* Final update of all demos. Fixed MapCloud rviz plugin crashing when floor/ceiling filtering is used and resulting cloud is empty.

* Fixed 2d scan deskewing output frame, moved nav2 params under "params" folder, added number of topics processed/dropped for odometry, added icp_odometry option for turtlebot3 scan-only demo.

* rtabmap_demos: added README with examples

* Added TOC

* bump version to 0.21.9
2024-11-30 17:28:16 -08:00
matlabbe ad97f56d0b Multithreaded rtabmap node (#1214)
* Multi-threaded rtabmap node

* Moved data sync logic inside CoreWrapper to process odometry topics outside processing thread

* updated commend

* re-enabled jazzy

* disabled jazzy for this mr

* Added async callbackgroup for imu and landmark topics

* Making all shared variables thread-safe
2024-10-15 21:00:35 -07:00
matlabbeandBorong Yuan c956e3780f Fixing topic sync lagging and delay issues, more examples (depthai, zed) (#1206)
* Fixed odometry latency

* Fixed node ID=0 issues as msgs may not have seq. (#1202)

(cherry picked from commit 097cab0667)

* Odom: removed long processing from ros callbacks (decreasing delay, also making delay independent of the message filters topic_queue_size and sync_queue_size parameters)

* Changed a log from info->debug

* Changed a log from info->debug

* Updated default topic and sync queue_size inside nodes. Exposing topic and sync queue size params in warning when cannot synchronize. Added zed and depthai examples. Odom: Fixed imu callback group, added multi-threaded executors for all odometry nodes.

* fixed merge

* Include everything needed in example launch files for simple launch. Small fixes.

---------

Co-authored-by: Borong Yuan <yuanborong@hotmail.com>
2024-09-04 00:46:44 -07:00
matlabbe d3d874c862 merged master->ros2 2024-06-12 22:51:30 -07:00
matlabbe ae44e1a215 Split queue_size param into sync_queue_size and topic_queue_size parameters for more fine tuning of topic synchronization (#1054) 2024-06-11 22:35:54 -07:00
matlabbe 911e4e8941 Making nav2_msgs optional (not available yet on jazzy). Fixed compilation errors on jazzy with vision_opencv related h->hpp headers. 2024-06-04 22:42:06 -07:00
matlabbe 54f9ec9c39 Fixed diagnostic clock with sim time. Updated docker example with explicit OMP_WAIT_POLICY=passive to avoid high CPU usage. Added log_level argument to rtabmap.launch.py. 2024-06-02 10:49:52 -07:00
matlabbe 86f91f3cec bump 0.21.5 2024-05-27 12:01:05 -07:00
matlabbe 655ab10fc8 bump 0.21.5 2024-05-27 11:19:25 -07:00
matlabbe b2856b3037 merged master->ros2 (0.21.4) 2024-02-20 19:43:45 -08:00
matlabbe 609a424ba6 bump 0.21.4 2024-02-20 19:19:29 -08:00
matlabbe d044c1e092 Fixed all -Werror=format-security 2024-01-09 18:25:41 -08:00
Shane Loretz 3e663e8add Fix format security error in rgbdx_sync.cpp (#1096)
This fixes a regression in Noetic. All the `rtabmap_ros` binary jobs in Noetic are failing with the following error:

```
18:59:28 /opt/ros/noetic/include/ros/console.h:351:176: error: format not a string literal and no format arguments [-Werror=format-security]
...
18:59:28 /tmp/binarydeb/ros-noetic-rtabmap-sync-0.21.3/src/nodelets/rgbdx_sync.cpp:167:3: note: in expansion of macro ‘NODELET_INFO’
18:59:28   167 |   NODELET_INFO(subscribedTopicsMsg.c_str());
18:59:28       |   ^~~~~~~~~~~~
```

https://build.ros.org/job/Nbin_uF64__rtabmap_sync__ubuntu_focal_amd64__binary/6
2024-01-09 12:17:11 -08:00
matlabbe d5dad838ea merged master->ros2 (bump package version to 0.21.3) 2024-01-03 18:58:04 -08:00
matlabbe 6d8e65cfa9 bump ros package version to 0.21.3 2024-01-03 18:52:24 -08:00
matlabbe 399fb33310 merged master->ros2 2023-11-19 17:14:24 -08:00
matlabbe d974c9a72c Uniformized Landmark msg with LandmarkDetection already in ros2 branch. Fixed right image conversion bug when converting from SensorData msg. Fixed some SensorData related subscribers not initialized. 2023-11-19 17:12:04 -08:00
matlabbe 67de27b1ee Add rtabmap_msgs/SensorData (#1055)
* Add rtabmap_msgs/SensorData

* After testing fixes

* Updated output topic name

* added explicit --logconsole for nodelets

* fixed intermediate nodes not generated

* Refactored SyncDiagnostic usage to handle nodelet name

* SyncDiagnostic: added TimeStampStatus. Odom: added new status when data not received yet

* rtabmap: Fixed parameters not updated when using nodelet
2023-11-19 13:16:35 -08:00
matlabbe 806f0ad66d Added localization diagnostic when loc_thr parameter is set. 2023-10-30 18:02:37 -07:00
matlabbe a3b6f0a88f merged master->ros2 (diagnostics, #1046) 2023-10-14 15:22:56 -07:00
matlabbe 61bd84bcd6 Fixed rgbd_cameras=0 when rtabmap is not built with multi rgbd callbacks #1046 2023-10-14 12:59:32 -07:00
matlabbe b3f33cef22 sync diagnostic: added window parameter to smooth approximated target frequency 2023-08-29 14:01:19 -07:00
matlabbe 4a3863cdc7 Added sync diagnostic (#1026)
* Added sync diagnotic

* Removed composite task to avoid empty msg, added odom status task
2023-08-27 12:30:53 -07:00
Linda TJ 40a9fd2f2d update ros2 command for publish rate (#1020) 2023-08-13 15:01:11 -07:00
matlabbe aaac47adae bump version 0.21.2 2023-08-05 14:41:46 -07:00
matlabbe 49316bff00 merged master->ros2 2023-06-17 18:17:20 -07:00
matlabbe 6b5cf04dad Fixed rgb_sync node not installed 2023-05-06 16:56:49 -07:00
matlabbe 822ba11ef7 merged master->ros2 2023-04-09 12:32:43 -07:00
matlabbe fc9ca0e40d bump 0.21.1 2023-04-09 12:07:43 -07:00
matlabbe a430f02cdc merged master->ros2 2023-03-04 17:59:33 -08:00
matlabbe edd86e4f56 bump 0.21.0 2023-03-04 17:58:10 -08:00
matlabbe 778a474b96 ported rtabmap_ros_pkg_split to ros2 2023-02-22 23:11:49 -08:00
matlabbe 0a9f557077 fixed rtabmap_msgs->rtabmap_conversions build dependency. Upgraded min cmake version to 3.5. 2023-02-19 21:13:35 -08:00