自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(144)
  • 资源 (5)
  • 收藏
  • 关注

原创 《Python Tutorial》阅读笔记之迭代器、生成器

大多数容器对象都可以用for遍历,如在后台,for语句在容器对象中调用iter(),该函数返回一个定义了__next__()方法的迭代器对象,他在容器中逐一访问元素,没有后续元素时,__next__()抛出一个 StopIteration 异常通知 for 语句循环结束。

2023-06-19 15:16:51 204

原创 《Python Tutorial》阅读笔记之方法对象

python类内的变量分为和如将列表作为类变量,下列中所有的狗共享同一个列表该类正确的设计方式4.函数定义代码可以定义在类外,也可以将一个函数对象赋值给类中的一个局部变量5.每个值都是一个对象,因此每个值都有一个类(class)(也称为他的类型type),存储为。

2023-06-19 15:04:13 517

原创 《Python Tutorial》阅读笔记之包

当导入这个包时,Python 通过 sys.path 搜索路径查找包含这个包的子目录。语句首先核对是否包中有这个子项,如果没有,它假定这是一个模块,并尝试加载它。方式导入包时,这个子项(item)既可以是包中的一个子模块(或一个子包),也可以是包中定义的其它命名,像函数、类或变量。这样的语法时,这些子项必须是包,最后的子项可以是包或模块,但不能是前面子项中定义的类、函数或变量。如名为A.B的模块表示了名为A的包中名为B的子模块。当然它也可以执行包的初始化代码,或者定义稍后介绍的。

2023-06-19 14:22:57 204

原创 【已解決】libopencv_imgcodecs3.so.3.3.1: undefined reference to `TIFFReadDirectory@LIBTIFF_4.0‘

libopencv_imgcodecs3.so.3.3.1: undefined reference to `TIFFReadDirectory@LIBTIFF_4.0'

2023-02-22 22:10:32 615

原创 UE4调整光线

UE4调整光线

2023-01-30 12:18:57 287

原创 【无标题】 Unable to create the rendering window after 100 tries.

rviz::RenderSystem: error creating render window: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/RenderSystems/GL/src/GLX/OgreGLXContext.cpp (line 61)

2022-12-06 10:28:00 1822

原创 【已解决】x86_64-conda_cos6-linux-gnu-cc: error trying to exec ‘cc1plus‘: execvp: No such file or directo

x86_64-conda_cos6-linux-gnu-cc: error trying to exec 'cc1plus': execvp: No such file or directory

2022-11-22 20:53:53 2779

原创 [已解决] 编译openmvs出现: undefined reference to symbol ‘_ZN5boost6system15system_categoryEv‘

#ubuntu16.04 配置openmvg与mvs系统介绍:ubuntu 16.04Eigen 3.3.7Ceres-solver 1.14.0vcglib 1.0.1编译openmvs出现: undefined reference to symbol ‘_ZN5boost6system15system_categoryEv’FIND_PACKAGE(Boost ${SYSTEM_PACKAGE_REQUIRED} COMPONENTS filesystem iostreams progra

2022-03-14 16:44:20 5666

原创 ubuntu16.04 原版sources.list

# deb cdrom:[Ubuntu 16.04.7 LTS _Xenial Xerus_ - Release amd64 (20200806)]/ xenial main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.deb http://cn.archive.ubuntu.com/ubuntu/ xe.

2021-12-13 20:14:42 813

原创 【已解决】ibyaml-cpp.a(memory.cpp.o): relocation R_X86_64_PC32 against symbol `_ZTVSt16_Sp_counted_baseIL

问题描述工程文件依赖yaml-cpp,在编译工程文件时显示如下问题/usr/bin/ld: /usr/local/lib/libyaml-cpp.a(memory.cpp.o): relocation R_X86_64_PC32 against symbol `_ZTVSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE' can not be used when making a shared object; recompile with -fPIC

2021-10-16 09:02:49 1320 3

原创 ubuntu16.04 卸载nvidia驱动与cuda并升级驱动与cuda

环境ubuntu16.04GTX1650步骤1.卸载原来的nvidia与cuda10.0sudo apt-get remove --purge nvidia*

2021-10-04 23:17:34 1509

原创 VSCODE自动生成很多mmap_address.bin文件

如上图所示,前两个文件是vscode自动生成的,里面是一个mmap_address,bin文件看着很乱,卸载这个插件即可

2021-09-24 11:12:02 885

原创 [arch]CMakeLists编译选项之-arch参数设置

Sample nvcc gencode and arch Flags in GCCAccording to NVIDIA:The arch= clause of the -gencode= command-line option to nvcc specifies the front-end compilation target and must always be a PTX version. The code= clause specifies the back-end compilation t.

2021-09-14 11:43:06 2376

原创 ubuntu安装mysql

ubuntu18安装mysql安装sudo apt install mysql-server mysql-client查看~$ sudo cat /etc/mysql/debian.cnf# Automatically generated for Debian scripts. DO NOT TOUCH![client]host = localhostuser = debian-sys-maintpassword = SEo3MwyJl0VNbbe6socket

2021-09-02 17:12:55 105

原创 [已解决]g2o编译找不到lopengl-helper

编译g2o提示CMakeFiles/Makefile2:1276: recipe for target 'g2o/apps/g2o_viewer/CMakeFiles/viewer_library.dir/all' failedmake[1]: *** [g2o/apps/g2o_viewer/CMakeFiles/viewer_library.dir/all] Error 2make[1]: *** Waiting for unfinished jobs....解决办法① 打开g2o安装源文

2021-09-02 11:14:32 345

原创 mysql卸载与重新安装

1.卸载sudo apt purge mysql-*2.安装 sudo apt-get install mysql-server -y sudo apt install mysql-client -y sudo apt install libmysqlclient-dev -y

2021-09-01 20:23:11 107

原创 [已解决]smallbin double linked list

记录一个奇怪的错误:为备份之前更改好的代码,就直接拷贝啦之前的工程文件夹(包含build文件夹),在新的工程文件夹内进行修改代码后,就直接在build文件夹内进行啦make -j4,生成可执行文件后出现下述错误。屡次检查代码都不觉的有问题,网上搜寻资料后,发现问题:build文件夹内的编译文件是之前备份文件夹里的,清空build文件后重新cmake,make编译就没有问题啦*** Error in `./run_image_slam': malloc(): smallbin double linked

2021-07-17 10:46:28 2910

原创 [已解决]bantu下qq登录后看不到界面

解决方法:

2021-07-03 15:02:33 181

原创 【已解决】error: ‘xxx’ is not a member of ‘xxx’

一、问题描述在改动openvslam源码时,遇到如下问题: error: ‘keyframe’ is not a member of ‘openvslam::data’改动为在system.h中加入了如下函数 std::vector<data::keyframe*> get_current_all_keyfrms() const;报错显示$:system.h:94:23: error: ‘keyframe’ is not a member of ‘openvslam::data’

2021-06-04 21:19:35 10451

原创 【已解决】The plain signature for target_link_libraries has already been used with the target “run_imag

一、问题描述cmake时报错CMake Error at example/CMakeLists.txt:74 (target_link_libraries): The plain signature for target_link_libraries has already been used with the target "run_image_slam". All uses of target_link_libraries with a target must be either al

2021-05-12 21:57:08 6262 3

原创 【已解决】cmakelist找不到源文件

一、问题描述cmakelists显示error,找不到源文件xxx.cc,定位到cmakelist问题处add_library(${PROJECT_NAME)SHARED${CMAKE_CURRENT_SOURCE_DIR}/type.h${CMAKE_CURRENT_SOURCE_DIR}/system.h${CMAKE_CURRENT_SOURCE_DIR}/model.h${CMAKE_CURRENT_SOURCE_DIR}/system.cc${CMAKE_CURRENT_SOURC

2021-05-12 11:42:53 4480 2

原创 【已解决】openvslam段错误

问题描述:在网上下载openvslam后,会莫名奇妙段错误[2021-05-10 12:50:00.312] [I] loading ORB vocabulary: /home/ubuntu/nyj/1.codespace/openvslam_1/vocb/orb_vocab.dbow2[2021-05-10 12:50:00.578] [I] clear map database[2021-05-10 12:50:00.578] [I] clear BoW database[2021-05-10

2021-05-10 12:57:39 382

原创 【已解决】加入头文件,却显示error: ‘’ in namespace ‘’ does not name a type

error: ‘frame_statistics’ in namespace ‘openvslam::data’ does not name a type解决办法:在代码中加入#ifnedef#define#endif#ifndef OPENVSLAM_DATA_FRAME_STATISTICS_H#define OPENVSLAM_DATA_FRAME_STATISTICS_Hnamespace openvslam{ namespace data{ class frame_stati.

2021-05-10 09:18:54 6510 1

原创 【已解决】 fatal error: cuda_runtime.h: 没有那个文件或目录

一、问题描述 fatal error: cuda_runtime.h: 没有那个文件或目录二、解决办法sudo gedit ~/.bashrc1.运行上面命令打开文档后输入下面的语句,关键是第一句export CPATH=/usr/local/cuda-10.1/targets/x86_64-linux/include:$CPATHexport LD_LIBRARY_PATH=/usr/local/cuda-10.1/targets/x86_64-linux/lib:$LD_LIBRARY

2021-04-27 20:58:10 20729 7

原创 教程:ubuntu安装pycolmap

安装pycolmap前必须安装colmap!安装pycolmap前必须安装colmap!安装pycolmap前必须安装colmap!一、下载并安装colmap跟着官方说明文档安装,基本没有什么问题,唯一一个难解决的问题,对‘TIFFSetField@LIBTIFF_4.0’未定义的引用,可以参考这篇文章解决/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libfreeimage.so:对‘TIFFSetField@LIBTIFF_

2021-04-24 15:11:05 2901 2

原创 【已解决】libfreeimage.so:对‘TIFFTileRowSize@LIBTIFF_4.0’未定义的引用

一、问题编译安装colmap时遇到下面问题[100%] Linking CXX executable colmap/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libfreeimage.so:对‘TIFFTileRowSize@LIBTIFF_4.0’未定义的引用/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libfreeimage.so:对‘TIFFReadD

2021-04-24 14:44:55 2985 4

原创 [已解决]__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> > >::value_type {aka

一\问题描述: error: cannot convert ‘__gnu_cxx::__alloc_traits<std::allocator<std::__cxx11::basic_string<char> > >::value_type {aka std::__cxx11::basic_string<char>}’ to ‘__gnu_cxx::__alloc_traits<std::allocator<double> >::va

2021-04-19 11:02:52 8132 1

原创 python与C++之间的参数传递

import syssys.path.remove('/opt/ros/kinetic/lib/python2.7/dist-packages')import numpy as npimport timefrom ctypes import *import osimport cv2import ctypesll = ctypes.cdll.LoadLibrarylib = ll("./build/libpython2share.so")count = 0gps_path="xxx.t

2021-04-02 16:01:16 1014 1

原创 【已解决】AttributeError: ‘Hardswish‘ object has no attribute ‘inplace‘

背景描述:使用网上下载好的yolov5权重,运行deect.py测试图像,出现以下问题AttributeError: 'Hardswish' object has no attribute 'inplace'按照网上的方法进行解决(包括调试代码和更改环境),最后经同学提醒发现问题:网上下下来的权重pt文件无法直接使用进行检测,需要使用训练后的pt文件进行检测...

2021-03-25 22:07:56 2753 2

原创 [已解决]error: cannot convert ‘const string {aka const std::basic_string<char>}’ to ‘const char*’ for a

: error: cannot convert ‘const string {aka const std::basic_string<char>}’ to ‘const char*’ for argument ‘1’ to ‘int rename(const char*, const char*)’ std::rename(old_img_path,new_img_path);出错代码const std::string old_img_path=result_p

2021-03-06 10:35:04 9592

原创 [已解决]Aborted at 1614944422 (unix time) try “date -d @1614944422“ if you are using GNU date ***

记录一次奇怪的错误报错部分代码void readFile(std::string path, std::vector<cv::Point2d>& points){//载入二维点 std::cout<<"point.size(): "<<points.size()<<std::endl; ifstream in(path); string line; while (getline(in, line)) { //按行处理

2021-03-05 19:56:03 4709 1

原创 [详细教程]使用ros编译运行自己写的程序

一、准备需要在电脑上事先安装好ROS二、创建工作区间ROS不同于其他软件,需要在特定的工作区间下通过ros编译运行自己的程序。假设电脑上已经安装好ROS,则$ source /opt/ros/noetic/setup.bash//创建和编译一个 catkin workspace$ mkdir -p ~/catkin_ws/src$ cd ~/catkin_ws/$ catkin_make在执行完上述操作后,会在~/目录下,生成catkin_ws文件夹,~/catkin_ws/src下有

2020-11-27 18:46:38 16095 1

原创 [详细教程]使用ros将自己数据打包成rosbag

一、ROS安装电脑必须安装好ROS,ROS安装参考资料:官方安装教程,安装ROS遇到的问题记录下面的话不用看了,直接访问这个网址,有现成的代码和教程二、环境测试在进行数据打包成rosbag前,强烈建议需要先走一下下面的流程。$ mkdir -p ~/image_transport_ws/src //创建工作区间$ cd ~/image_transport_ws/src$ source /opt/ros/kinetic/setup.bash #将kinetic换成自己电脑上的ros版本,mel

2020-11-26 21:36:42 4291 2

原创 [详细教程]ubuntu16.04安装ORB-SLAM与ORB-SLAM2

一、ORB-SLAM介绍ORB-SLAM是一种多功能且精确的单目SLAM解决方案,能够实时计算摄像机轨迹,并在各种环境下稀疏地重建场景,从小型手持序列到在几个城市街区行驶的汽车。它能够关闭大的循环,并从宽基线实时执行全局重新定位。项目主页:链接二、准备1.boost库开始多线程sudo apt-get install libboost-all-dev2.安装ROS参考链接:1.博客 2.官方文档3.安装opencv4.g2o (included in Thirdparty)源码链接:

2020-11-25 16:31:47 2527

原创 [详细教程]ORB-SLAM2安装教程

1.参考网站:https://github.com/raulmur/ORB_SLAM2一、开始安装1.下载源码git clone https://github.com/raulmur/ORB_SLAM2.git ORB_SLAM2遇到问题* GnuTLS recv error (-54): Error in the pull function.* Closing connection 0error: RPC failed; curl 56 GnuTLS recv error (-54):

2020-11-19 16:30:15 4069

原创 ubuntu 安装输入法

ibus输入法的安装1.安装语言包System Settings–>LanguageSupport–>Install/RemoveLanguages选中chinese,点击Apply应用即可,等待下载安装完成。2.安装ibus框架sudo apt-get install ibus ibus-clutter ibus-gtkibus-gtk3 ibus-qt4启动ibus框架:im-config-s ibus或者im-config。3.安装拼音引擎4.设置ibus框架sudo i

2020-11-11 17:00:48 1460

原创 olympe安装笔记

ubuntu16.04安装oplympe克隆parrot-groundsdk存储库工作区cd $HOME$ mkdir -p code/parrot-groundsdk$ cd code/parrot-groundsdk$ pwd~/code/parrot-groundsdk$ repo init -u https://github.com/Parrot-Developers/groundsdk-manifest.git$ repo sync运行过程ning@ning:~/Proj

2020-10-24 15:25:58 6577

原创 [已解决]ubuntu下谷歌浏览器无法上网

事情描述:在ubuntu上安装了谷歌浏览器后,一直无法上网,设置了搜索引擎和用命令行设置代理的方法均不管用解决办法:检查systemp setting》network》network proxy,里面的method需要设置为none,即无代理模式。大功告成!之前为了破墙下载文件,设置了代理一直没改回来,琢磨了一下午加一晚上。。。...

2020-10-23 22:35:22 10050 3

原创 ros入门与控制无人机

一、概述总体来说,分为三步step1:roscorestep2:发布话题step3:订阅话题bing显示二、roscoreroscore 是你在运行所有ROS程序前首先要运行的命令。现理解几个有关ros的概念Nodes:节点,一个节点即为一个可执行文件,它可以通过ROS与其它节点进行通信。Messages:消息,消息是一种ROS数据类型,用于订阅或发布到一个话题。Topics:话题,节点可以发布消息到话题,也可以订阅话题以接收消息。Master:节点管理器,ROS名称服务 (比如

2020-10-23 21:34:41 2598

原创 已解决:ubuntu-软件&更新处无nvidia驱动/ubuntu检测不到扩展屏幕

添加源就好打开终端输入,下面的代码重新打开system setting》》software&updates》》additinal-drivers,就可以看到出来nvidia驱动选项 sudo add-apt-repository ppa:graphics-drivers/ppa && sudo apt update选中第一个选项,点击apply changes,就可以看到右下角安装的进度条这个其实是我在解决ubuntu检测不到扩展屏时用到的哈哈哈哈如果扩展屏幕检测不到

2020-10-23 17:31:16 2183

ippicv_2017u3_lnx_intel64_general_20170822.tgz及其他版本

ippicv_2017u3_lnx_intel64_general_20170822.tgz及其他版本

2021-10-23

CoinUtils-2.2.5.zip

通过源码编译生成coinutils库,具体安装流程mkdir build cd build ../configure

2020-01-30

Osi-master.zip

osi-master,用来编译osi,在安装alicevision时需要用到,具体安装教程见内部说明

2020-01-30

lemon-1.3.1.tar.gz

lemon1.3.1版本,用来生成liblemon.a静态库,安装流程为mkdir build,cd build,cmake ..,make(到这里就已经生成静态库了,可根据需要选择下面是否安装),make install(可选)

2020-01-30

popsift-0.9-ladio-gpu.tar.gz

安装alicevision所必需的popsift,版本为1.0.0,依赖:at least CUDA 7.0 and Boost >= 1.55.在网上找了好久才找到,在此分享给大家,安装流程为:mkdir build && cd build cmake .. make make install

2020-01-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除