当前位置: 首页 > wzjs >正文

看视频的app有哪些合肥百度快照优化排名

看视频的app有哪些,合肥百度快照优化排名,javascript教程网站,在线做ps是什么网站背景:mars实验室又发福利啦!跑跑效果,验了那句,mars出品,必属精品!本人pc环境ubuntu20.04,基本流程按照readme走就行,sophus和vikit安装有些注意地方。本文做了一些部署踩坑记录&…

背景:mars实验室又发福利啦!跑跑效果,验了那句,mars出品,必属精品!本人pc环境ubuntu20.04,基本流程按照readme走就行,sophus和vikit安装有些注意地方。本文做了一些部署踩坑记录,方便大家参考。

一、报错汇总

报错1

/home/ylh/code_ws/fastlivo/src/FAST-LIVO2/src/vio.cpp: In member function ‘void VIOManager::initializeVIO():
/home/ylh/code_ws/fastlivo/src/FAST-LIVO2/src/vio.cpp:45:13: error:class vk::AbstractCamerahas no member namedfx45 |   fx = cam->fx();|             ^~
/home/ylh/code_ws/fastlivo/src/FAST-LIVO2/src/vio.cpp:46:13: error:class vk::AbstractCamerahas no member namedfy46 |   fy = cam->fy();|             ^~
/home/ylh/code_ws/fastlivo/src/FAST-LIVO2/src/vio.cpp:47:13: error:class vk::AbstractCamerahas no member namedcx47 |   cx = cam->cx();|             ^~
/home/ylh/code_ws/fastlivo/src/FAST-LIVO2/src/vio.cpp:48:13: error:class vk::AbstractCamerahas no member namedcy48 |   cy = cam->cy();|             ^~
/home/ylh/code_ws/fastlivo/src/FAST-LIVO2/src/vio.cpp:49:30: error:class vk::AbstractCamerahas no member namedscale49 |   image_resize_factor = cam->scale();

解决方式
根据readme安装vikit(注意使用作者推荐版本)

git clone https://github.com/xuankuzcr/rpg_vikit.git 

注意一些关于sophus的依赖报错,务必安装指定sophus分支,再在cmakelist文件做一些修改,详情看后续报错

报错2

/home/ylh/software/Sophus/sophus/so2.cpp:32:26: error: lvalue required as left operand of assignment32 |   unit_complex_.real() = 1.;|                          ^~
/home/ylh/software/Sophus/sophus/so2.cpp:33:26: error: lvalue required as left operand of assignment33 |   unit_complex_.imag() = 0.;

解决方式
安装对应的分支

git clone https://github.com/strasdat/Sophus.git
cd Sophus
git checkout a621ff
mkdir build && cd build && cmake ..
make
sudo make install

修改一些报错源码的写法

SO2::SO2()
{// unit_complex_.real() = 1.;// unit_complex_.imag() = 0.;unit_complex_ = std::complex<double>(1,0);
}

参考

报错3

/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::SE3(Eigen::Matrix<double, 3, 3, 0, 3, 3> const&, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::operator*(Eigen::Matrix<double, 3, 1, 0, 3, 1> const&) const'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::exp(Eigen::Matrix<double, 6, 1, 0, 6, 1> const&)'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::operator*(Sophus::SE3 const&) const'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::operator=(Sophus::SE3 const&)'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::SE3()'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SO3::matrix() const'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::SE3(Sophus::SE3 const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [rpg_vikit/vikit_common/CMakeFiles/test_vk_common_camera.dir/build.make:134: /home/ylh/code_ws/fastlivo2/devel/lib/vikit_common/test_vk_common_camera] Error 1
make[1]: *** [CMakeFiles/Makefile2:424: rpg_vikit/vikit_common/CMakeFiles/test_vk_common_camera.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::SE3(Eigen::Matrix<double, 3, 3, 0, 3, 3> const&, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::operator*(Eigen::Matrix<double, 3, 1, 0, 3, 1> const&) const'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::exp(Eigen::Matrix<double, 6, 1, 0, 6, 1> const&)'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::operator*(Sophus::SE3 const&) const'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::operator=(Sophus::SE3 const&)'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::SE3()'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SO3::matrix() const'
/usr/bin/ld: /home/ylh/code_ws/fastlivo2/devel/lib/libvikit_common.so: undefined reference to `Sophus::SE3::SE3(Sophus::SE3 const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [rpg_vikit/vikit_common/CMakeFiles/test_vk_common_triangulation.dir/build.make:134: /home/ylh/code_ws/fastlivo2/devel/lib/vikit_common/test_vk_common_triangulation] Error 1
make[1]: *** [CMakeFiles/Makefile2:856: rpg_vikit/vikit_common/CMakeFiles/test_vk_common_triangulation.dir/all] Error 2

解决方式
cmakelist文件中加入

set(Sophus_LIBRARIES libSophus.so)//虽然解决了编译问题,但是运行会报错,最终写法如报错6

参考

报错4

error: field ‘fout_imu’ has incomplete type ‘std::ofstream’ {aka ‘std::basic_ofstream<char>}52 |   ofstream fout_imu;

解决方式
/IMU_Processing.h加入

#include <fstream>

参考

报错5
本地安装多个opencv版本,而工程依赖ros的4.2.0版本,因此给所有的工程强行指定版本编译

find_package(OpenCV 4.2.0 EXACT REQUIRED)

报错6

/home/ylh/code_ws/fastlivo2/devel/lib/fast_livo/fastlivo_mapping: error while loading shared libraries: libSophus.so: cannot open shared object file: No such file or director

解决方式

set(Sophus_LIBRARIES /usr/local/lib/libSophus.so)

二、运行效果

在这里插入图片描述
###################
好记性不如烂笔头
积跬步期千里
觉得不错的话,记得点赞收藏

http://www.dtcms.com/wzjs/14134.html

相关文章:

  • 网站如何做熊掌号哪里可以建网站
  • 做网站定金一般多少成品短视频app下载有哪些
  • 大学生做网站类型精准营销系统价值
  • 常州做的网站的公司哪家好军事新闻俄乌最新消息
  • 黄浦区做网站优化设计七年级下册语文答案
  • 长春企业建站程序关键词优化一般收费价格
  • 当日网站收录查询统计外贸网站平台
  • 策划咨询温州seo排名优化
  • 学校网站建设审批怎么做网络广告
  • 完善门户网站建设东莞seo技术
  • 深圳怎么建设网站关键词推广优化外包
  • 信访局网站模版搜索引擎营销的实现方法
  • 品牌服装网站建设现状全网关键词云查询
  • 制冷 网站建设 中企动力上海seo推广服务
  • wordpress中文连接seo关键词排名查询
  • 广州冼村拆迁事件青岛seo整站优化
  • 广州seo网站推广公司网络营销的作用和意义
  • 蛋糕网站建设方案长尾词优化外包
  • 国外平面设计网站有哪些最新新闻事件今天
  • 局域网网站建设的步骤过程南京seo报价
  • 网站流量seoqq群引流推广软件
  • 网站如何做担保交易平台十大骗子教育培训机构
  • 网站必须备案吗宁波网站推广专业服务
  • 哪个网站用户体验较好seo专业推广
  • 网站开发要用哪些语言开发全国病毒感染最新消息
  • 扫码进入网站 怎么做值得收藏的五个搜索引擎
  • 十万pv的网站建设微营销推广软件
  • 一级a做爰电影免费观看网站成人英语培训
  • 推广品牌平台郑州网站优化渠道
  • 搭建网站需要什么工具营销培训讲师