From f40e3e2d2f2890b3511f181cdacccc35f673192f Mon Sep 17 00:00:00 2001 From: Sebastian Hahta <joseha@utu.fi> Date: Fri, 7 Jun 2019 10:33:58 +0300 Subject: [PATCH] default pose to identity matrix --- components/rgbd-sources/include/ftl/rgbd_source.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/rgbd-sources/include/ftl/rgbd_source.hpp b/components/rgbd-sources/include/ftl/rgbd_source.hpp index aa5748324..1c147e961 100644 --- a/components/rgbd-sources/include/ftl/rgbd_source.hpp +++ b/components/rgbd-sources/include/ftl/rgbd_source.hpp @@ -82,7 +82,7 @@ class RGBDSource : public ftl::Configurable { cv::Mat depth_; private: - Eigen::Matrix4f pose_; + Eigen::Matrix4f pose_ = Eigen::Matrix4f::Identity(); private: static std::map<std::string,std::function<RGBDSource*(nlohmann::json&,ftl::net::Universe*)>> *sources__; -- GitLab