Open3D源码笔记 Open3D是一个非常棒的点云处理库,包含一系列常用的点云处理函数,而且代码非常干净易读。在此文中我们一起读一下Open3D的源码,借此学习一下C++在比较大型的库中的写作规范。文章目录geometryGeometry.hgeometryGeometry.h在Geometry.h中定义了基类Geometry,Open3D中提到的其他几何类型均继承此基类。#pragma once#include <string>namespace open3d {namespace geome
无sudo安装pcl git clone https://github.com/PointCloudLibrary/pcl.gitcd pcl/mkdir buildmkdir installcd build/cmake -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=./ -DBUILD_apps=ON -DBUILD_examples=ON -DCMAKE_INSTALL_PREFIX=../install ..make -j6make install
没有超级权限的情况下使用不同版本的cmake 在电脑上没有sudo权限,需要编译某个项目的时候提示本机cmake版本过低。需要编译新的高版本cmake。系统:Ubuntu 18.04编译方法$ git clone https://github.com/Kitware/CMake.git$ mkdir cmake-build && cd cmake-build$ ../bootstrap && make使用方法指定某个版本的cmake进行编译$ {CMake_source_path}/cmake-buil
开源视觉软件使用记录【持续更新】 ubuntu18.04 anaconda环境 python3.6 安装wxpython通过pip安装失败更改命令为:pip3 install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04 wxPython --user安装成功...
tcp异常关闭后端口被占用情况的解决 转载链接:https://blog.pinkd.moe/others/2018/07/29/TCP-reuse解决进程结束后端口仍然被占用的问题socket分配一个服务端进程向操作系统申请一个 socket 来监听,但是当进程退出后,还未关闭的连接不会立即消失,而是会留给操作系统处理。操作系统会尝试关闭这个连接。但是如果关闭时出现问题,这个连接就会一直处于 TIME_WAIT 或其他非正常状态,而这是相应的端口还处于占用状态,如果这个时候再重新启动这个服务端程序,就会出现地址被占用的情况。案例测试
Git submodule add: “a git directory is found locally” issue Git submodule add: “a git directory is found locally” issue 解决方法参考链接: https://stackoverflow.com/questions/20929336/git-submodule-add-a-git-directory-is-found-locally-issue问题描述:当添加一个最近刚被删除的同名submodule时会提示:Git submodule add: “a git directory is found loca
【未完成】通过ur_rtde工具包使用C++和python控制UR机器人和Robotiq执行末端记录 通过ur_rtde工具包使用C++和python控制UR机器人和Robotiq执行末端安装安装link仅使用python安装pip install --user ur_rtde我使用的是源码安装,同时要使用python 2.7# python 2.7pip install --user pybind11# python 3.6pip3 install --user py...
【报错】Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) 在pycharm中运行程序报错:Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)检查了常见的问题,与我的情况不相符,自己查看代码发现问题所在:将配置放在字典中,其中有一个是相对路径,但这个相对路径不是从此路径下而是从上层路径下(如下)"physics_config_file": "./data/def...
Ubuntu16.04环境下安装Azure Kinect和使用Open3D通过python来调用相机的记录 系统:Ubuntu16.04安装参考:文章目录安装此路不通第二种尝试安装此路不通安装参考网址:https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/develop/docs/usage.mdOn Linux, binaries are currently available as debian packages. We cu...
UR机器人在ROS中的使用 ROS-Industrial安装和UR机器人的基本设置网址:http://wiki.ros.org/Industrial/Install先安装 ROS “Desktop Full”然后安装如下:Industrial core: apt-get install ros-kinetic-industrial-coreUniversal robot stack: apt-get instal...
pip安装包时conda从py3.6变成py2.7 【问题记录】 遇到了很恼人的问题, 在anaconda中新建了一个环境,然后在pip安装各种包的时候环境的python就从3.6变成2.7了,解决方法是conda install python=3.6
Expected object of type torch.cuda.FloatTensor but found type torch.cuda.DoubleTensor报错的分析 报错:new_cloud = torch.bmm((torch.from_numpy(c[:,0:3]).view(1,-1,3).cuda() - T), R).contiguous()RuntimeError: Expected object of type torch.cuda.FloatTensor but found type torch.cuda.DoubleTensor for ...
复杂累加求平均用一行代码实现 复杂累加求平均用一行代码实现for i in range(0, bs):sum = 0dis_max = dis[i][which_max[i]]sum += dis_maxdis = torch.mean(torch.tensor(sum))dis_max = torch.mean(torch.tensor(list(dis[i][which_max[i]] for i in ran...
如何使用plt时让figure最大化显示 在plt.show()之前插入plt.get_current_fig_manager().window.showMaximized(),适用于backend为FigureManagerQT,如果时wx或者其他的尝试下面几种方法,我也不确定哪种方法对应哪个。plt.get_current_fig_manager().frame.Maximize(True)plt.get_current_fig_...
【问题解决】Failed to load module “canberra-gtk-module“ 加载某软件提示错误信息:Failed to load module "canberra-gtk-module"输入命令行查看:locate libcanberra-gtk-module.so返回信息:/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so分析:系统已经安装了gtk,且动态库已经存在,鉴于我无法在此...
在Ubuntu16.04下photoneo相机驱动与ROS连接教程[兼容问题已解决] 首先在此网址下载电脑对应的驱动Ubuntu Linux 16.04 LTS (64bit) – gcc5.4并安装. 然后在phoxi_camera的github网址上下载包并编译,安装步骤见文件README 注意!!!:在README中你会发现安装的gcc版本是4.9,这与我们下载的Ubuntu16.04对应的PhoXi Control Software的gcc版本5.4不符,需要额外操作....
卡在scanning files to index在pycharm中的解决方法 通过pycharm打开项目无法运行程序,pycharm右下角一直卡在scanning files to index究其原因是项目文件夹中文件过多,这是由于我的datasets文件夹内包含数据库的原因,右键数据库所在文件夹,mark directory as --> excluede。这样pycharm就不会去读这些文件夹内文件的索引了。...