-
Raspberrypi使用ssh中文显示和编辑的问题
环境1.raspberryPi 3B+, python2.7 + python3.62.mac OSX 10.13.3 ssh(osx terminal), Termius使用OSX自带的ssh连接树莓派的时候,ssh中不能输入和输出中文,使用vnc打开terminal也一样相关error:SyntaxError: Non-ASCII character ‘\xe4’ in file test1.py on line 2, but no encoding declared; see htt...…
-
Libosmscout地图引擎的进展
libosmscout地图引擎验证过程libosmscout是非常强大的跨平台、离线矢量地图引擎渲染库,支持OpenStreetMap的原生地图格式,.osm或.osm.pbf,具有路径规划,并且支持多种交通工具的规划。1.开发环境验证无论在osx还是ubuntu上验证,都需要参考官网给的building dependence, 注意使用CMAKE最新版,V3.11,环境安装完之后,在osx/ubuntu均可以完整编译。 1.OSX 10.13.3 , build OK,install ...…
-
基于qt5.9.3使用mitab库加载矢量地图
##在三种平台成功运行Qt5.9.3+mitab加载矢量地图(mif)##Window10 + Qt5.9.3 +mitab,OK##ubuntu16.04 +Qt5.9.3+mitab,OKiMX6开发板+Linux4+Qt5.9.3+mitab,OK,但是触摸屏没有反应,不能放大、缩小、移动地图…
-
Search magnetometer calibrate
#search: magnetometer calibratereleated toolsMagCal a software tool developed by the Position, Location And Navigation Group (PLAN) at the University of CalgaryMagneto Magneto looks for the ellipsoid that best fits the magnetometer raw measureme...…
-
Samba_for_ubuntu16.04
ubuntu16.04搭建samba0 install sambasudo apt-get install samba samba-common-bin1 add usersudo smbpasswd -a user-name2 edit smb.conf[home] comment = Home Directories browseale = yes read only = no create mask = 0755 directory mask = 07553 启动samba...…
-
Ubuntu16.04+qt5.9.3+imx6交叉编译环境
#ubuntu16.04+Qt5.9.3搭建交叉编译环境0 安装交叉编译工具链####0-0 下载交叉编译工具链 linaro版本gcc-linaro-arm-linux-gnueabihf解压到任意路径,添加路径到环境变量,profile或~/.bashrc ,然后source修改profile文件后需要重启生效0-1输入arm,按tab确认环境变量是否正确##1 交叉编译tslib####1-0 下载tslib-master源码,解压####1-1 安装工具apt-get instal...…
-
调用驱动程序
#include<stdio.h>#include<sys/types.h>#include<sys/stat.h>#include<fcntl.h>#include<unistd.h>#include<sys/ioctl.h>void main(void){ int fd; char *hello_node = "/dev/hello_ctl123"; if((fd = open(hello_node, O_R...…
-
生成设备节点
在mini linux测试过,可以生成设备节点#include <linux/init.h>#include <linux/module.h>#include <linux/platform_device.h>#include <linux/miscdevice.h>#include <linux/fs.h>#define DRIVER_NAME "hello_ctl"#define DEVICE_NAME "hello_ctl1...…
-
Welcome to Jacklin's Blogll!
test!!!You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and...…