logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

成功解决Python的ValueError: The truth value of an array with more than one element is ambiguous

报错ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()错误原因比较的两个变量不在同一维度上。比如类型是<class ‘numpy.ndarray’> 和 浮点数没有办法比较。'''enumerate() 函数用于将一个可遍历的数据对

#python#bug
基于多平面先验的高效VIO-PVIO

浙大最新开源SLAM! 基于多平面先验的高效VIO

成功解决CMake Error at src/CMakeLists.txt:3 (add_library): Cannot find source file:

目前整个的文件结构如下:user@user-B460MPOWER:~/work/xinguo/rgbd-slam-tutorial-gx/partI$ tree -L 2.├── bin├── build│├── CMakeCache.txt│├── CMakeFiles│├── cmake_install.cmake│├── Makefile│└── src├── cmake-build-deb

#c++
【LaTEX学习笔记】如何在LaTEX中引用网页

正文前引用\usepackage{url}bib文件中加入@Misc{cite变量名,howpublished = {\url{网页地址}},note = {Accessed进入网页的具体日期},title = {网页名称},author = {作者}}正文中具体使用为\cite{cite变量名}...

Python成功解决TypeError: __init__() missing 1 required positional argument: ‘comment‘

文章目录源代码报错类型解决方法源代码class Book:def __init__(self, name, author, comment, state = 0):self.name = nameself.author = authorself.comment = commentself.state = state# 创建一个Book类的子类 FictionBookclass FictionBoo

#python
成功解决使用git clone下载失败的问题: fatal: 过早的文件结束符(EOF) fatal: index-pack 失败

问题描述~$ git clone https://github.com/oKermorgant/ecn_baxter_vs.git正克隆到 'ecn_baxter_vs'...remote: Enumerating objects: 13, done.remote: Counting objects: 100% (13/13), done.remote: Compressing objects:

#git#bug
Python成功解决 ERROR:Could not find a version that satisfies the requirement nuscenes-devkit

报错信息ERROR:Could not find a version that satisfies the requirement nuscenes-devkitERROR No matching distribution found for nuscenes-devkit出错原因没有在激活conda 环境,激活conde环境后,我们可以pip install nuscenes-devkit没有c

Python成功解决TypeError: __init__() missing 1 required positional argument: ‘comment‘

文章目录源代码报错类型解决方法源代码class Book:def __init__(self, name, author, comment, state = 0):self.name = nameself.author = authorself.comment = commentself.state = state# 创建一个Book类的子类 FictionBookclass FictionBoo

#python
Python成功解决 UnboundLocalError: local variable ‘xxx‘ referenced before assignment

scores = {'语文':89, '数学':95, '英语':80}sum_score = 0def get_average(scores):for subject, score in scores.items():sum_score += scoreprint('现在的总分是%d'%sum_score)ave_score = sum_score/len(scores)print('平均分是%

#python#bug
成功解决ROS报错RLException: [turtlebot3_fake.launch] is neither a launch file in package [turtlebot3_fake]

成功解决ROS报错RLException: [turtlebot3_fake.launch] is neither a launch file in package [turtlebot3_fake] nor is [turtlebot3_fake] a launch file name解决方案错误原因为环境变量设置有问题运行下方代码后再执行roslaunchsource ~/catkin_ws/

#linux#ubuntu
到底了