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

电子商务网站建设维护实训报告二级网站建设标准

电子商务网站建设维护实训报告,二级网站建设标准,多用户商城app开发,成都成华区两位区领导聊天记录前言 我安装Kimera-VIO-ROS的时间是2023.10.28。由于已经离Kimera发布过去两年,所以遇到版本不同步问题,Kimera-VIO,Kimera-VIO-ROS,GTSAM的版本需要精心挑选。 Kimera-VIO在2021.07.01之后没有更新,git commit版本为…

前言

我安装Kimera-VIO-ROS的时间是2023.10.28。由于已经离Kimera发布过去两年,所以遇到版本不同步问题,Kimera-VIO,Kimera-VIO-ROS,GTSAM的版本需要精心挑选。

Kimera-VIO在2021.07.01之后没有更新,git commit版本为641576f
Kimera-VIO-ROS在2021.07.26之后就没有更新,git commit版本为9b8aeae
但是用他的依赖包安装程序会出错(如下),因为他们所依赖的其他库更新了。

wstool merge Kimera-VIO-ROS/install/kimera_vio_ros_ssh.rosinstall

我们只能找2021.07.01之前其他库的版本。再考虑到MIT团队开发一个庞大程序,时间必然不会小于半年,于是所依赖的库版本最早也得是2021年上半年的版本。

GTSAM需要选则 4.1.1 ,git commit版本是69a3a75,虽然是2021.12.21的,但是发现版本依旧适配。但是更新版本的GTSAM就不行了(比如4.2,4.3不行)。因为GTSAM后面大部分函数的指针都变成了std::shared_ptr.而Kimera依旧用大量使用了boost::shared_ptr。因为旧版本的GTSAM就是用了boost::shared_ptr。所以适配没问题。

Kimera-RPGO需要选择master分支 git commit版本是9e1bf93


正确安装方式

# Setup catkin workspace
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin init
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release -DGTSAM_TANGENT_PREINTEGRATION=OFFcatkin config --merge-devel# Add workspace to bashrc for automatic sourcing of workspace.
echo 'source ~/catkin_ws/devel/setup.bash' >> ~/.bashrc# 如果是自己新建的目录,举个例子,在~/.zshrc中
source ~/ros_ws/kimera_ws/devel/setup.zsh
export ROS_PACKAGE_PATH=/opt/ros/melodic:$HOME/ros_ws/kimera_ws/src
export LD_LIBRARY_PATH=/usr/local/lib:usr/lib:/home/zph/ros_ws/kimera_ws/devel/lib# Clone repo
cd ~/catkin_ws/src
# For ssh:
# 需要下载三角mesh所用的插件
git clone https://github.com/ToniRV/mesh_rviz_plugins.git# 下载主文件
git clone git@github.com:MIT-SPARK/Kimera-VIO-ROS.git
git checkout 9b8aeae
# For https:
# git clone https://github.com/MIT-SPARK/Kimera-VIO-ROS.git# Install dependencies from rosinstall file using wstool
wstool init # Use unless wstool is already initialized# For ssh:
wstool merge Kimera-VIO-ROS/install/kimera_vio_ros_ssh.rosinstall
# For https
# wstool merge Kimera-VIO-ROS/install/kimera_vio_ros_https.rosinstall# download and update repos:
wstool update# 需要 git checkout 合适版本
rm -rf gtsam #删除最新版本
git clone -b 4.1.1 https://github.com/borglab/gtsam.git# 进入Kimera-RPGO目录
cd Kimera-RPGO
git checkout 9e1bf93# 进入Kimera-VIO目录
cd Kimera-VIO
git checkout 641576f# 进入Kimera-VIO-ROS目录
cd Kimera-VIO-ROS
git checkout 9b8aeae# Compile code
catkin build# Optionally install all dependencies that you might have missed:
# Some packages may report errors, this is expected
# rosdep install --from-paths . --ignore-src -r -y

Bug1

为防止Pangolin报错,需要在Kimera-VIO中CmakeLists.txt添加

if(NOT CMAKE_CXX_STANDARD) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) 
endif()

Bug2

注意GTSAM在4.1.1中使用了quaternion()函数,但在未来版本4.2或者4.3中使用toQuaternion()代替,因为之前的4.1.1有歧义。所以目前Kimera使用了带歧义的GTSAM。自己改写时需要注意。见Fix / Move Rot3::quaternion to deprecated block #1219

Bug3

我电脑Ubuntu里自带tbb不是4.0版本以上的,而最新的GTSAM对TBB有了要求,在gtsam/cmake/HandleTBB.cmake文件中

if (GTSAM_WITH_TBB)# Find TBBfind_package(TBB 4.4 COMPONENTS tbb tbbmalloc)# Set up variables if we're using TBBif(TBB_FOUND)set(GTSAM_USE_TBB 1)  # This will go into config.hif ((${TBB_VERSION_MAJOR} GREATER 2020) OR (${TBB_VERSION_MAJOR} EQUAL 2020))set(TBB_GREATER_EQUAL_2020 1)else()set(TBB_GREATER_EQUAL_2020 0)endif()# all definitions and link requisites will go via imported targets:# tbb & tbbmalloclist(APPEND GTSAM_ADDITIONAL_LIBRARIES TBB::tbb TBB::tbbmalloc)else()set(GTSAM_USE_TBB 0)  # This will go into config.hendif()################################################################################ Prohibit Timing build mode in combination with TBBif(GTSAM_USE_TBB AND (CMAKE_BUILD_TYPE  STREQUAL "Timing"))message(FATAL_ERROR "Timing build mode cannot be used together with TBB. Use a sampling profiler such as Instruments or Intel VTune Amplifier instead.")endif()endif()

但是我不计划用新的TBB,因为之前的OpenCV4.6也是基于旧的TBB编译的,重新安装新的TBB会破坏原有环境。


文章转载自:

http://jyc1Yt5G.sjgsh.cn
http://y1KE1Iea.sjgsh.cn
http://yrNtf5Yz.sjgsh.cn
http://oVSRdEQa.sjgsh.cn
http://af2Kj4l2.sjgsh.cn
http://JZKP6SEt.sjgsh.cn
http://oW3k70ut.sjgsh.cn
http://rREk6QtI.sjgsh.cn
http://eyCsRt4T.sjgsh.cn
http://ZPxeGPnX.sjgsh.cn
http://Uho1ho18.sjgsh.cn
http://F2XQTlLP.sjgsh.cn
http://N1M4RMTv.sjgsh.cn
http://FptNj7Us.sjgsh.cn
http://iMR39uN2.sjgsh.cn
http://Cpb4V9IQ.sjgsh.cn
http://aywH1tZV.sjgsh.cn
http://dmz33e6i.sjgsh.cn
http://YzDpDyMT.sjgsh.cn
http://PBZ4mTJ5.sjgsh.cn
http://fhiPwjcp.sjgsh.cn
http://znQK6beF.sjgsh.cn
http://6W9ym55p.sjgsh.cn
http://BLAun8KE.sjgsh.cn
http://kS0pcXQ3.sjgsh.cn
http://PWyiVLs8.sjgsh.cn
http://zZgXeN8n.sjgsh.cn
http://DOYZyWsY.sjgsh.cn
http://qnWi0C0B.sjgsh.cn
http://yGFI2dId.sjgsh.cn
http://www.dtcms.com/wzjs/729090.html

相关文章:

  • 临湘网站建设公司简介ppt模板素材
  • 济南传承网站建设公司网页设计师是前端吗
  • 仙游县建设局网站电子商城开发网站建设
  • 网站免费的正能量漫画北京移动官网网站建设
  • 网站制作可以卖多少钱平顶山建设局网站
  • 大连做网站哪家服务好像素人物制作网站
  • 网站建设供需厦门外贸网站找谁
  • 有没有便宜做网站的 我要做个电子商务网站建设流程是什么
  • 购物网站公司要花费多少钱php程序员网站开发建设
  • 凡科做的网站可以优化淄博网站运营公司
  • 京东商城网站首页石家庄英文网站建设
  • 网站怎么做缓存北京产品网站建设
  • 做简历最好的网站网站建设与网页设计百度文库
  • aspcms网站地图生成网站开发诺亚科技
  • 三明网站建设商场设计师
  • 做表格的网站传媒公司logo设计创意
  • 网站建设的维护工作如何编辑html网页
  • 房地产网站建设分析移动网站开发面试
  • 网站开发的发展历史及趋势怎么自己做网站的推广
  • 做网站要哪些技术服务器销售网站源码
  • 直播网站开发技术wordpress自动采集文章
  • 建设银行网上官方网站如何搜索公司所有的网站
  • 温州做网站掌熊号深圳鸿天顺网站建设
  • 一个公司做多个网站是好还是坏百姓装潢上海门店具体地址
  • 网站开发设计哪家好电子商务网站平台有哪些
  • 网站基础建设和管理暂行办法江宁招网站建设58
  • 备案系统网站软件界面设计与色彩搭配
  • 重庆住房城乡建设厅官方网站asp.net 大网站
  • 杭州商标设计中山seo外包
  • 学习教建网站页面设计简历