Fixed humble build

This commit is contained in:
matlabbe
2022-09-10 10:54:26 +13:00
9 changed files with 60 additions and 32 deletions
+1 -1
View File
@@ -2139,7 +2139,7 @@ bool convertScanMsg(
rtabmap::Transform tmpT = getTransform(
odomFrameId.empty()?frameId:odomFrameId,
scan2dMsg.header.frame_id,
rclcpp::Time(scan2dMsg.header.stamp.sec, scan2dMsg.header.stamp.nanosec) + rclcpp::Duration(scan2dMsg.ranges.size()*scan2dMsg.time_increment*10e9),
rclcpp::Time(scan2dMsg.header.stamp.sec, scan2dMsg.header.stamp.nanosec) + rclcpp::Duration::from_seconds(scan2dMsg.ranges.size()*scan2dMsg.time_increment*10e9),
tfBuffer,
waitForTransform);
if(tmpT.isNull())