当前位置:网站首页>【ORB_SLAM2】SetPose、UpdatePoseMatrices
【ORB_SLAM2】SetPose、UpdatePoseMatrices
2022-08-02 01:05:00 【小秋SLAM实战教程】
SetPose
void Frame::SetPose(cv::Mat Tcw)
{
mTcw = Tcw.clone();
UpdatePoseMatrices();
}
UpdatePoseMatrices
void Frame::UpdatePoseMatrices()
{
mRcw = mTcw.rowRange(0,3).colRange(0,3);
mRwc = mRcw.t();
mtcw = mTcw.rowRange(0,3).col(3);// 世界到相机
mOw = -mRcw.t()*mtcw;// 相机到世界
}
世界到相机 mtcw/n[0;
0;
0]
相机到世界 mOw/n[0;
0;
0]
边栏推荐
猜你喜欢

html+css+php+mysql实现注册+登录+修改密码(附完整代码)

Local storage in Kubernetes

Redis和MySQL数据一致性问题,有没有好的解决方案?

Reflex WMS中阶系列6:对一个装货重复run pick会有什么后果?

mapbox使用教程

哪里有期货开户的正规途径?

ERROR 2003 (HY000) Can‘t connect to MySQL server on ‘localhost3306‘ (10061)

Use flex-wrap to wrap lines in flex layout

【刷题篇】打家劫舍

Rust P2P网络应用实战-1 P2P网络核心概念及Ping程序
随机推荐
管理基础知识18
Why is on-chain governance so important, and how will Polkadot Gov 2.0 lead the development of on-chain governance?
严格模式,use strict
PHP直播源码实现简单弹幕效果的相关代码
pcie inbound和outbound关系
Day.js 常用方法
期货开户调整交易所保证金标准
【目标检测】FCOS: Fully Convolutional One-Stage Object Detection
期货开户如何确定期货公司正规性?
Pcie the inbound and outbound
Flask gets post request parameters
ELK日志分析系统
GO GOPROXY代理设置
Kubernetes — 核心资源对象 — 存储
传统企业数字化转型需要经过几个阶段?
flyway的快速入门教程
管理基础知识17
浅谈国产ERP的“横纵竖”三向发展态势
Redis cluster mode
mapbox使用教程