
c
心在不焉
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C&&C++:string与char
在c++中用string定义一串汉字,比如string “心在不焉”;但又想这与char有何不同,于是用char数组重新定义,输出没有问题# include <stdio.h># include <iostream># include <string>using namespace std;int main(){ string i="心在不焉"; cout << i <<endl; char ii[]="心在不.原创 2021-10-31 21:12:42 · 485 阅读 · 0 评论 -
基于python的opencv摄像头采集
直接上例程# -*- coding: utf-8 -*-import cv2import numpy as npfrom std_msgs.msg import Stringimport ftplibftp = ftplib.FTP() # 设置变量 ,实例化ftp.set_debuglevel(2) # 打开调试级别2,显示详细信息ftp.connect("255.255.255.255", 000) # 连接的ftp sever和端口ftp.login("***", "*原创 2021-11-05 11:02:15 · 4593 阅读 · 1 评论 -
浅谈嵌入式:opencv接收topic转换格式上传
有些地方没有注释,上一篇文章可以找到,想学习的可以看看上一篇文章,偷懒的可以直接复制。大家点个赞再走吧,敲代码不容易,欢迎白嫖。大家的支持就是我的动力。#!/usr/bin/env python3# -*- coding: utf-8 -*-import cv2import rospy# import StringIO # 缓冲区读取类 from sensor_msgs.msg import Image as RosImagefrom cv_bridge import.原创 2021-11-05 11:09:16 · 1411 阅读 · 1 评论 -
redis使用函数总结
#include "teb_local_planner/utils/redis_util.hpp"Redis::Redis() {}Redis::~Redis() { _connect = nullptr; _reply = nullptr;}bool Redis::connect(const string &host, int port) { _connect = redisConnect(host.c_str(), port); if (_conn.原创 2022-02-11 16:42:08 · 1364 阅读 · 0 评论