- 博客(42)
- 收藏
- 关注
原创 An error occurred: ‘numpy.ndarray‘ object has no attribute ‘clone‘
这个错误是因为对一个 NumPy 数组调用 PyTorch 的 clone()是一个 NumPy 数组,而不是 PyTorch 张量。转换为 PyTorch 张量,然后再调用 clone()方法,但 NumPy 数组并没有 clone()将 NumPy 数组转换为 PyTorch 张量。可以使用 torch.from_numpy()这是因为x_past。
2025-03-17 16:47:45
131
原创 运行PyBullet强化学习例程时报错AttributeError: ‘dict‘ object has no attribute ‘env_specs‘
AttributeError: 'dict' object has no attribute 'env_specs'
2025-03-13 14:51:53
298
原创 使用OpenCV的absdiff函数报错
terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.2.0) ../modules/core/src/arithm.cpp:666: error: (-209:Sizes of input arguments do not match) The operation is neither 'array op array' (where arrays have the same size and t
2024-07-09 11:25:40
433
原创 安装Intel Realsense D435i驱动与ROS包报错
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_workspace.cmake:100 (message): This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command
2024-07-03 14:37:25
924
1
原创 SSH可视化问题qt.qpa.xcb: could not connect to display;connect /tmp/.X11-unix/X1: Connection refused
qt.qpa.xcb: could not connect to displayconnect /tmp/.X11-unix/X1: Connection refused
2024-05-07 14:40:50
1156
原创 CMake Error:add_library cannot create imported target “glog::glog“
CMake Error at /usr/local/lib/cmake/Ceres/FindGlog.cmake:349 (add_library): add_library cannot create imported target "glog::glog" because another target with the same name already exists.
2024-04-30 13:30:22
742
3
原创 编译Sophus库报错error: array subscript ‘__m128_u[0]‘ is partly outside array bounds of ‘Sophus::Vector
error: array subscript '__m128_u[0]' is partly outside array bounds of 'Sophus::Vector [1]' {aka 'Eigen::Matrix [1]'} [-Werror=array-bounds]
2024-04-28 18:49:17
796
原创 编译GTSAM库时报错undefined reference to `_dl_vsym@GLIBC_PRIVATE‘
编译GTSAM库时报错undefined reference to `_dl_vsym@GLIBC_PRIVATE'
2024-04-28 10:19:09
444
原创 Gitee仓库配置SSH密钥
在 Gitee 一般使用http 和 ssh 两个地址,使用http拉取项目时不仅需要输入gitee账号和密码,而且下载速度较慢。配置SSH秘钥之后就可以使用SSH进行项目拉取,更方便。
2024-04-19 17:36:21
1020
原创 E: 无法定位软件包 ros-noetic-desktop-full 或者E: 无法定位软件包 ros-noetic-message-generation(换源没用,版本正确,已解决)
E: 无法定位软件包 ros-noetic-desktop-full 或者E: 无法定位软件包 ros-noetic-message-generation(换源没用,版本正确,已解决)
2024-04-19 17:14:47
5478
7
原创 Ros安装编译Navigation
Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)Could not find a package configuration file provided by "tf2_sensor_msgs"
2024-04-03 16:23:41
485
2
原创 ros找不到生成的可执行文件[rosrun] Couldn‘t find executable named hello_world_cpp below
[rosrun] Couldn't find executable named hello_world_cpp below
2024-03-25 17:09:36
1903
1
原创 boost错误:error: ‘boost::optional’ has not been declared
error: ‘boost::optional’ has not been declared
2024-02-20 16:32:01
697
原创 ROS找不到eigen库:Project ‘eigen_conversions‘ specifies ‘/usr/include/eigen3‘ as an include dir, which
Project 'eigen_conversions' specifies '/usr/include/eigen3' as an include dir, which is not found. It does neither exist as an absolute directory nor in '${{prefix}}//usr/include/eigen3'.
2024-02-20 16:00:10
866
原创 ORB_SLAM2编译之Pangolin安装与报错解决
/home/river/soft/Pangolin/components/pango_core/include/sigslot/signal.hpp:269:26: error: ‘decay_t’ is not a member of ‘std’; did you mean ‘decay’?
2024-02-19 18:20:54
1200
2
原创 运行roscore报错:RLException: Unable to contact my own server at [http://10.0.0.48:37535/].
roscore启动错误:RLException: Unable to contact my own server at [http://10.0.0.48:37535/].This usually means that the network is not configured properly.
2024-02-19 14:06:37
1315
1
原创 conda 加载conda-libmamba-solver时找不到libarchive.so.19
Error while loading conda entry point: conda-libmamba-solver (libarchive.so.19: cannot open shared object file: No such file or directory)
2024-01-09 19:23:06
6689
11
原创 pinocchio使用叉乘
pinocchio的叉乘封装在pinocchio.utils中,需要import才能使用。pinocchio.utils中的cross函数在进行向量和矩阵的叉乘的时候,是按照矩阵的列计算的。因此需要矩阵的行与向量的列的维度相同。pinocchio还封装了numpy,可以直接调用numpy,从而调用里面的cross。可以看到 utils里的cross计算方法与numpy的不同。
2023-12-07 21:04:12
477
原创 pinocchio示例 Inverse kinematics 报错: Boost.Python.ArgumentError: *** did not match C++ signature:
pinocchio的示例为啥不能运行啊,不能理解。Boost.Python.ArgumentError: Python argument types in pinocchio.pinocchio_pywrap.integrate(Model)did not match C++ signature:
2023-12-07 10:31:54
764
原创 ImportError: libeigenpy.so: cannot open shared object file: No such file or directory
复制过去之后就能找到了。也不知道为啥添加环境变量为啥不行,按理说原理是一样的,给位置就能找到啊!错误是无法找到libeigenpy.so动态库。,添加环境变量和修改。文件的权限均未解决。
2023-12-04 19:46:48
696
原创 报错error adding symbols: DSO missing from command line
无法添加符号: DSO missing from command line
2023-11-03 18:28:43
1079
1
原创 Ros启动双目相机+分割左右目图像+标定+实时运行VINS-Fusion+实时运行ORB_SLAM2
使用Ros打开双目相机,并添加时间戳,实时运行VINS-Fusion和ORB_SLAM2。
2023-10-08 18:59:09
2823
3
原创 Ubuntu20.04安装Eigen3.3.7、模板类Sophus和Ceres
Sophus的使用必须依赖3.3以上的Eigen版本。如果版本太低,Sophus库将无法安装使用。
2023-09-27 13:36:41
2642
2
原创 Ubuntu20.04环境下银牛相机(inuchip)的配置与标定
银牛相机C158配置与标定。实时运行Vins-Fusion。实时运行ORB-SLAM2
2023-08-30 17:46:22
800
1
原创 Ubuntu20.04+Ros noetic+OpenCV4+Python3 安装Kalibr
支持Ubuntu20.04和python3的Kalibr版本: https://github.com/ori-drs/kalibr
2023-08-25 13:07:40
833
2
原创 运行Vins-Fusion无法显示轨迹
运行Vins-Fusion没有报错,播包也能看见那边的图像在动,但是rviz就是死活不显示轨迹。认真观察了一下,运行yaml的那个窗口一直卡在[ WARN] [1692692126.409951085]: waiting for image and imu...这说明ros包里面的信息根本就没有读取进去啊!
2023-08-22 16:21:53
721
7
原创 Ubuntu20.04配置开机自启动
命令:/home/hhh(hhh为启动hhh程序的可执行文件)名称可以自己随便设置,命令就是该程序的启动命令。在弹出的界面点击添加,然后可以添加想要开机自启动的程序。
2023-08-18 12:43:49
787
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人