mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-08 18:57:46 +08:00
Added Euroc stereo dataset example launch file (ros2). Fixed identity ground_truth when it should be null.
This commit is contained in:
@@ -63,7 +63,7 @@ void transformToTF(const rtabmap::Transform & transform, tf2::Transform & tfTran
|
||||
}
|
||||
else
|
||||
{
|
||||
tfTransform = tf2::Transform();
|
||||
tfTransform = tf2::Transform(tf2::Quaternion(0,0,0,0));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,6 +91,7 @@ void transformToGeometryMsg(const rtabmap::Transform & transform, geometry_msgs:
|
||||
else
|
||||
{
|
||||
msg = geometry_msgs::msg::Transform();
|
||||
msg.rotation.w = 0; // null
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,6 +120,7 @@ void transformToPoseMsg(const rtabmap::Transform & transform, geometry_msgs::msg
|
||||
else
|
||||
{
|
||||
msg = geometry_msgs::msg::Pose();
|
||||
msg.orientation.w = 0; // null
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user