mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
See #658. README: added example to colcon with cmake options.
This commit is contained in:
@@ -43,6 +43,11 @@ $ ros2 launch rtabmap_ros rtabmap.launch.py \
|
|||||||
$ colcon build --symlink-install
|
$ colcon build --symlink-install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
* To build with `rgbd_cameras>1` support and/or `subscribe_user_data` support:
|
||||||
|
```bash
|
||||||
|
$ colcon build --symlink-install --cmake-args -DRTABMAP_SYNC_MULTI_RGBD=ON -DRTABMAP_SYNC_USER_DATA=ON
|
||||||
|
```
|
||||||
|
|
||||||
# Example with Turtlebot3
|
# Example with Turtlebot3
|
||||||
|
|
||||||
1. Launch Turtlebot3 simulator:
|
1. Launch Turtlebot3 simulator:
|
||||||
|
|||||||
+1
-1
@@ -3199,7 +3199,7 @@ void CoreWrapper::globalBundleAdjustmentCallback(
|
|||||||
iterations,
|
iterations,
|
||||||
pixelVariance,
|
pixelVariance,
|
||||||
rematchFeatures?"true":"false");
|
rematchFeatures?"true":"false");
|
||||||
bool success = rtabmap_.globalBundleAdjustment((Optimizer::Type)optimizer, iterations, pixelVariance, rematchFeatures);
|
bool success = rtabmap_.globalBundleAdjustment((Optimizer::Type)optimizer, rematchFeatures, iterations, pixelVariance);
|
||||||
if(!success)
|
if(!success)
|
||||||
{
|
{
|
||||||
RCLCPP_ERROR(get_logger(), "Post-Processing: Global Bundle Adjustment failed!");
|
RCLCPP_ERROR(get_logger(), "Post-Processing: Global Bundle Adjustment failed!");
|
||||||
|
|||||||
Reference in New Issue
Block a user