资源简介
官方point cloud library的发行版包,直接下载会经常失败
代码片段和文件信息
#! /usr/bin/env python3
“““
Software License Agreement (BSD License)
Point Cloud Library (PCL) - www.pointclouds.org
Copyright (c) 2018- Open Perception Inc.
All rights reserved.
Redistribution and use in source and binary forms with or without
modification are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of the copyright holder(s) nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
“AS IS“ AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT
LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT
INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING
BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT
LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
“““
import argparse
from argparse import ArgumentParser
from collections import defaultdict
import getpass
import json
import os
import pathlib
import re
import subprocess
import sys
import requests
def find_pcl_folder():
folder = os.path.dirname(os.path.abspath(__file__))
folder = pathlib.Path(folder).parent
return str(folder)
def find_pr_list(start: str end: str):
“““Returns all PR ids from a certain commit range. Inspired in
http://joey.aghion.com/find-the-github-pull-request-for-a-commit/
https://stackoverflow.com/questions/36433572/how-does-ancestry-path-work-with-git-log#36437843
“““
# Let git generate the proper pr history
cmd = “git log --oneline “ + start + “..“ + end
cmd = cmd.split()
output = subprocess.run(cmd cwd=FOLDER stdout=subprocess.PIPE)
pr_commits = output.stdout.split(b“\n“)
# Fetch ids for all merge requests from PRS
merge_re = re.compile(“\S+ Merge pull request #(\d+) from \S+“)
squash_re = re.compile(“\(#(\d+)\)“)
ids = []
for pr in pr_commits:
pr_s = str(pr)
# Match agains usual pattern
uid = None
match = merge_re.fullmatch(pr_s)
# Match agains squash pattern
if not match:
match = squash_re.search(pr_s)
# Abort
if not match:
相关资源
- 超级场景清理器(SPCleaner)v1.0免费版
- httpclient4.3工具类
- SfM稀疏三维点云重建--完整工程文件
- 全面的点云库PCL学习教程
- CPCL查看器.rar
- Linux ntpclient代码
- 点云库PCL学习教程 完整版
- 中英文PCL5语言参考手册_11086676.zip
- stm32f4+w5500+tcpclient/server源码
- PC-lint 9 + 中文手册
- FTPclinet客户端
- PCL点云库SACSegmentation用法demo
- 小兔子pcd点云数据pcl官方案例1)
- PCL5编程指南中文版
- osg显示点云
- 利用PCL,OpenCV求取点云的体积
- pcl5语言详细介绍
- httpclient-4.5.3 api 中文版
- stm32 lwip DNS DHCP ucosIII TCP Client 原创程
- HttpClient异步请求
- pcl点云模型
- HanV1.0.rar
-
OPCli
nk8 -
Opcli
nk 8.0.0 - VTK+PCL+VS2013显示一个图形的基本功能
- HttpClient实现POST GET和文件
- pcl 1.7.2(vtk6.2)+vs2013_x64 +test.pcd点云
- pclint集成source insight
- 使用HttpURLConnection或HttpClient方式传j
- 点云拼接、点云求交
评论
共有 条评论