自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(29)
  • 收藏
  • 关注

原创 keyring issue in ubuntu

Your password no longer matches your keyring" and then prompts for your a password to “unlock your keyring”Delete the file in ~/.local/share/keyrings/, and next time you will be asked for a new password.

2024-03-31 01:56:03 80

原创 如何在Ubuntu下解决OpenGL问题?

【代码】如何在Ubuntu下解决OpenGL问题?

2023-06-20 09:55:58 359 1

原创 RLException: Invalid <param> tag: Cannot load command parameter [rosversion]: command......

在.local文件夹下,解除bin/和lib/的锁,即可。

2023-06-18 15:40:31 621 2

原创 Error: Flash Download failed - Cortex-M4

Error: Flash Download failed - Cortex-M4

2022-09-20 08:40:35 337 1

原创 Please run the following command first: git submodule update --init

Please run the following command first: git submodule update --init

2022-08-03 16:24:00 246

原创 ros使用构造函数初始化无法订阅节点问题

//主函数int main(int argc, char** argv){ ros::init(argc, argv, "line_patrol"); linework obj;//类的实例化 ros::spin(); return 0;}注意是否为类进行实例化

2021-02-27 12:41:34 920

转载 ros中使用opencv处理图像

cv_bridge::toCvCopy():ROS下的sensor_msgs/ImageConstPtr,和图像压缩类型(例如:sensor_msgs::image_encodings::RGB8),Subscriber 来的图像不能直接使用,需要copy出来。其功能是实现复制图像信息这样,得到副本,这样我们可以从副本的CvImage中提取cv::Mat类型的图像进行处理。例如void convert_callback(const sensor_msgs::ImageConstPtr& msg)

2021-02-23 13:36:35 430

原创 darknet_ros编译与opencv配置遇到的一些问题

在cv_bridge的CMakelists.txt中将第一个set里后的4改为如图的3,下面括号一样(因本人曾经使用opencv4.5)修改完后catkin_make会报如下错误根据错误提示的路径找到/usr/local/include/opencv2/core/cvdef.h这个文件。在/usr/local/include/opencv2/core/这个文件夹下打开终端,执行下面代码。sudo geditcvdef.h接下来还会有一个错误在/usr/local/include/openc

2021-02-19 23:59:54 898

原创 jetson系列命令行更改界面分辨率

xrandr — df 1280x720(双-)

2021-02-15 12:34:48 2036 3

原创 QT----cuda_runtime.h: No such file or directory

AddINCLUDEPATH += /usr/local/cuda-10.2(your cuda version)/targets/aarch64-linux/include \ in .pro

2020-11-10 21:46:54 418

原创 add_custom_target cannot create target “msg_generate_messages_py“ because another target with the

package.xml 依赖没有和cmakelist.txt中设置一致<exec_depend>msg</exec_depend><build_depend>msg</build_depend>find_package(catkin REQUIRED COMPONENTSgeometry_msgsmsgroscpprospystd_msgs)msg is customize

2020-10-30 13:59:27 1025

原创 2020-10-29

catkin_package(# INCLUDE_DIRS include# LIBRARIES joystick CATKIN_DEPENDS geometry_msgs ***message_runtime*** roscpp rospy std_msgs# DEPENDS system_lib) <exec_depend>***message_runtime***</exec_depend>

2020-10-29 21:43:55 58

原创 ROS catkin_make无法通过

自定义消息类型,在src文件夹中的cpp文件中引用pkg.h头,但无法识别。原因是在devel中的include没有生成相应的头文件。我是直接把cpp移除,在进行编译,通过后发现devel中的include文件夹中生成pkg.h文件,此时再将.cpp文件加入,重新编译,此时顺利通过。...

2020-10-29 19:01:41 452

原创 Wrong type of output lines: > ‘type == CV_32FC2 || type == CV_32FC3‘

terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.1.1) /home/nvidia/host/build_opencv/nv_opencv/modules/imgproc/src/hough.cpp:904: error: (-2:Unspecified error) in function 'void cv::HoughLines(cv::InputArray, cv::OutputArr

2020-10-26 07:23:47 423

原创 水下图片

2020-10-07 23:14:36 165

原创 hackson

https://developer.nvidia-china.com/forum.php?mod=forumdisplay&fid=179

2020-10-05 08:00:24 392

原创 欢迎NVIDIA-SMI has failed because it couldnt communicate with the NVIDIA driver. Make sure that the...

先确定secure boot已经关闭

2020-10-02 08:27:06 98

原创 arduino_rov_just_depth_pid

PID_D(int rov_depth,float kp_D,float ki_D,float kd_D){ static float sum1,new_e; new_e=rov_depth_target-rov_depth,D_flag=0; if(new_e<0) { D_flag=1; new_e=-new_e; } float r; sum1+=new_e; rov_deep_pid=kp_D*new_e+ki_D*sum1+kd_D*pid

2020-09-25 21:21:22 134

原创 ros串口发送数据格式(小坑)

3种格式size_t write (const uint8_t *data, size_t size)size_t write (const std::vector< uint8_t > &data)size_t write (const std::string &data)本人使用第三种进行发送,需将int数据转成string发送,使用to_string()报错,因为没有加入c++11,需在CMakeLists.txt 中取消注释add_compile_op

2020-09-25 16:40:36 658

原创 ros中catkin_make出现undefined reference to `serial::Serial...........

原因可能是Cmakelists.txt中find_package没有添加serialfind_package(catkin REQUIRED COMPONENTS roscpp std_msgs geometry_msgs serial )

2020-09-25 08:56:22 2152

原创 ROS通过rosserial_arduino与arduino进行通讯时,无法读取i2c数据。

#include "I2Cdev.h"#include "MPU6050_6Axis_MotionApps20.h"#if I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE#include "Wire.h"#endif#include <ArduinoHardware.h>#include <geometry_msgs/Twist.h>#include <ros/time.h>#include <tf/tran

2020-09-24 07:05:56 422

原创 arduino-dmp-mpu6050

#include "I2Cdev.h"#include "MPU6050_6Axis_MotionApps20.h"#if I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE#include "Wire.h"#endifMPU6050 mpu;#define OUTPUT_READABLE_YAWPITCHROLL#define LED_PIN 13 // (Arduino is 13, Teensy is 11, Teensy++ is 6)bool

2020-09-23 16:31:49 932

原创 itg3200-笔记

#include <Wire.h> // I2C library, gyroscope// Accelerometer ADXL345#define ACC (0x53) //ADXL345 ACC address#define A_TO_READ (6) //num of bytes we are going to read each time (two bytes for each axis)// Gyroscope ITG3200#define GYRO

2020-09-23 07:39:31 293

转载 arduino-kalman

#include <Wire.h> // I2C library, gyroscope// Accelerometer ADXL345#define ACC (0x53) //ADXL345 ACC address#define A_TO_READ (6) //num of bytes we are going to read each time (two bytes for each axis)// Gyroscope ITG3200#define GYRO

2020-09-21 09:00:07 1010

原创 与jetson nano建立ssh

(1)、虚拟机网络设置为nat(无需桥接),将主机与nano连接在同一路由器上即可。(2)、仔细检查各项名称是否写对。

2020-08-29 18:23:37 309

原创 “Train dataset for temp stage can not be filled. Branch training terminated ...“

负样本neg.txt文件中使用精确地址(千万注意)!!!!!

2020-07-25 14:06:40 377 1

原创 opencv生成vec样本文件时找不到opencv_createsamples.exe的解决方案

opencv_createsamples.exe -vec pos.vec -info pos.txt -num 18500 -w 20 -h 20(原操作)找不到opencv_createsamples.exe文件,只有opencv_createsamples,其是共享库 (application/x-sharedlib)类型用./opencv_createsamples测试下其内容是否正确(以下为输出)Usage: ./opencv_createsamples [-info <collecti

2020-07-25 07:40:53 2564 1

原创 QT中使用opencv c++批量处理图像(缩放、转灰度)

main.cpp#include <iostream>#include <opencv2/opencv.hpp>#include<stdio.h>using namespace std;using namespace cv;int main(){ cv::Mat outImage,dstImg,andstImg; cv::String src_path = "/home/jacky/people re/new/*.JPG"; ..

2020-07-24 22:14:20 438

原创 QT(ROS)程序无错但无GUI出现原因分析

(1)、检查"项目"->"运行"是否对应正确路径。(2)、检查Cmakelist文件底add_executabletarget_link_librariesinstall文件内是否添加对应package。

2020-07-22 00:34:54 196

空空如也

空空如也

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

TA关注的人

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