摘要: # coding:UTF-8 # Version: V1.0.1 import serial ACCData = [0.0]*8 GYROData = [0.0]*8 AngleData = [0.0]*8 FrameState = 0 # What is the state of the judg 阅读全文
posted @ 2023-05-06 19:53 oftenlin 阅读(71) 评论(0) 推荐(0) 编辑
摘要: # coding: utf-8 # last modified:20220824 import time import serial import re utctime = '' lat = '' ulat = '' lon = '' ulon = '' numSv = '' msl = '' co 阅读全文
posted @ 2023-05-05 19:28 oftenlin 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 1、查看数据库及用户名 ./psql -l 2、以oftenlin 用户登陆 postgres 数据库 ./psql -d postgres -U oftenlin3、列举表,相当于mysql的show tables \dt4、查看表结构,相当于desc tblname,show columns f 阅读全文
posted @ 2020-01-31 10:13 oftenlin 阅读(3361) 评论(0) 推荐(0) 编辑
摘要: pom.xml application.properties 阅读全文
posted @ 2019-11-07 19:15 oftenlin 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 1、numpy.random.shuffle(x) 2、python 下载文件 urllib a).使用 urllib.request.urlretrieve下载 b).内嵌入了一个 回调函数 _progress,显示其进度 c).使用 tar.file.open 进行解压 阅读全文
posted @ 2019-04-18 13:24 oftenlin 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 0、安装 $ bash ~/Downloads/Anaconda3-5.3.1-MacOSX-x86_64.sh source ~/.bash_profile 1、查看 anaconda 的版本 conda --version 2、创建新的环境 conda create --name myenv 3 阅读全文
posted @ 2019-04-18 13:19 oftenlin 阅读(229) 评论(0) 推荐(0) 编辑
摘要: Tusimple 是一家做自动驾驶的公司,他也公布了一些其在自动驾驶领域积累的数据,其中有一些是和车道线检测相关的。2018年6 月份,其举办了一次以摄像头图像数据做车道检测的比赛,公开了一部分数据及其标注。数据下载数据是:https://github.com/TuSimple/tusimple-b 阅读全文
posted @ 2019-04-08 15:00 oftenlin 阅读(19692) 评论(2) 推荐(0) 编辑
摘要: https://blog.csdn.net/yockie/article/details/51973740 阅读全文
posted @ 2018-08-17 15:35 oftenlin 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 使用 supervisor 服务,将程序监控起来,如果程序挂掉了,可以实现自启动 编写 c++ 程序 test.c 启动服务 supervisord -c /etc/supervisord.conf # 使用了默认的配置文件 在 /etc/ 下 要给需要自拉起的程序添加配置文件 默认放在 /etc/ 阅读全文
posted @ 2018-08-17 15:19 oftenlin 阅读(547) 评论(0) 推荐(0) 编辑
摘要: 整合自互联网 一、hiredis 类库的安装 tar -zxvf hiredis-v0.13.3.tar.gz 二、封装 redisUtil.h 访问 实现 redis 的连接,按 key 来获取各个类型的数据 redisUtils.h /* * redis.h * * Created on: 20 阅读全文
posted @ 2018-08-16 14:30 oftenlin 阅读(4856) 评论(0) 推荐(0) 编辑