linux serial communication reading information
In these two days, we need to do a serial communication to receive the information transmitted from peripheral devices. Many programs on the Internet are more complex. We have written a simple and easy program. The main process is: open serial port - > initialization - > circular reading.
The code is as follows:
#include & ...
Posted by mb81 on Sun, 08 Dec 2019 05:25:13 +0100
CMake install grpc to generate gRPCTargets.cmake file
The following are the installation statements:
cd grpc_folder
git submodule update --init
cmake ..
make -j 4
sudo make install
However, when writing a program that depends on gRPC, it is found that the CMake file of gRPC cannot be called. The error prompt is as follows:
include could not find load file:
/usr/local/lib/cmake/grpc/gRPCTarg ...
Posted by Vertical3 on Wed, 04 Dec 2019 09:41:09 +0100
MySQL-8.0 source package installation
1) install Mysql database
[root@localhost ~]# rpm -q mysql mysql-server
Package mysql is not installed
Package MySQL server is not installed
[root@localhost ~]# yum -y install ncurses-devel
[root@localhost ~]# rpm -q ncurses-devel
ncurses-devel-5.9-14.20130511.el7_4.x86_64
Install configuration tool cmake
[root@localhost ~]# tar xf cmak ...
Posted by tulleh on Tue, 03 Dec 2019 17:14:09 +0100
MySQL 5.6 source compilation and installation
Preface
This article is suitable for the scenarios where mysql needs debugging or mysql database is installed through source code on the localization platform. Although the title indicates mysql version 5.6, version 5.7 is also basically applicable, but the compilation parameters of cmake are slightly different from those of initializing the da ...
Posted by jcarver on Thu, 28 Nov 2019 08:03:49 +0100
kde Plasmoid Applet Development
Links to the original text: https://my.oschina.net/fuyajun1983cn/blog/263829
abstract
The plasmoid will contain a text box and buttons.
Code
. desktop file
Each plasmoid nee ...
Posted by Ree on Tue, 17 Sep 2019 11:52:24 +0200
Visual SLAM 14 Reading Programming Notes Chapter12 Loop Detection
Chapter 12 loop detection
Word bag model (BoW)
Dictionaries
Dictionary structure
Practice: Creating Dictionaries
Computation of Similarity
Theoretic part
Practice: Similarity Computation
Processing of similarity score
Key Frame Processing
Verif ...
Posted by bassguru on Wed, 28 Aug 2019 14:40:58 +0200
CMake Introduction - 04 - Custom Compilation Options
work environment
System: macOS Mojave 10.14.6
CMake: Version 3.15.0-rc4
Hello,World! - Custom compilation options
CMake allows you to add compilation options to your project, so that you can choose the most appropriate compilation solution based on the user's environment and needs.
For example, you can set the MathFunctions library as an opti ...
Posted by Zyx on Fri, 23 Aug 2019 11:57:36 +0200
Install opencv4.1.1 under Ubuntu 16.04 (learn from many articles, climb some pits) (001)
Install opencv4.1.1 under Ubuntu 16.04 (learn from many articles, climb a few pits)
Download
First go to github to download the corresponding opencv version and opencv_contrib version. I downloaded opencv 4.1.1, so contrib also needs to download ...
Posted by jwilh on Thu, 22 Aug 2019 05:33:00 +0200
OpenCV+Contrib+CUDA configuration under WINDOWS (CUDA10.1,VS2017,opencv3.4.5)
After two days, we finally got it, Big Head!! First used VS2019, compiled four or five times has been unsuccessful, angry, uninstall VS2019, CUDA, reinstall VS2017, CUDA, and then a success, is so amazing!
Important Reference Articles:
Configuration process
1. Install VS2017 first, you must instal ...
Posted by HTF on Sat, 10 Aug 2019 16:08:29 +0200
Android NDK develops the application of two parts (2) (incremental updates are the same)
Catalog
Android NDK Develops Two Songs (1) The First Knowledge (JNI General Knowledge and NDK Configuration)Android NDK develops the application of two parts (2) (incremental updates are the same)
Preface
A previous blog about JNI and NDK on Eclipse Android JNI and Android NDK Literacy Now let's start to study NDK development in detail on the ...
Posted by AJReading on Mon, 15 Jul 2019 22:28:39 +0200