

What is TC?
Communication that presents specific information to a specific audience for a specific purpose
Criteria of TC:
Topics:
Requirements
Tenses
Voices
Components:
Notes:
Three different levels of formality:
Be careful when using !, it is super strong tone, meaning frustrated, very very angry.
Common traits
How to state your impact?
Name & Time:
#CV
Sections:
Process
General Rule : if not cited, you are claiming that it is your own work.
Five-consecutive-word Rule
So we need paraphrasing
Style:
Deliverables:
TC element
General Design Logic
CADC Ground Investigation Visual Solution

We want to apply computer vision to the plane to fullfill ground investigation task automatically.
Study note for ROS subscriber.
How to realize a subscriber
Also we put this node into function package learning_topic
Create velocity_publisher.cpp file in learning_topic/src:
1 |
|
Note
Steps same as publisher
Add two lines to learning\_topic/CMakeLists.txt (in build part):
1 | add_executable(velocity_publisher src/pose_subscriber.cpp) |
1 | $ cd ~/ROS_study/catkin_ws |
The output of pose_subscriber:
1 | ... |

Study note for ROS publisher.
Studying note for regular expression
Regular expression describes a pattern of matching string
Can be used to detect/replace/take out specific substring
| symbol | description | example |
|---|---|---|
| ^ | match the beginning of he line | |
| [ABC] | match all char in […] | [aeiou]: google runoob taobao |
| [^ABC] | match all except those in […] | |
| [A-Z] | describe an interval | [a-z] matchs all lower case char |
| (…) | set groups | |
| \1…\n | match the same elements as nth group | |
| {n} | the front element repeats n times | |
| {n,} | the front element repeats at least n times | |
| {n,m} | the front element repeats at least n and at most m times | |
| . | match any char except (\n,\r), same with [^\n\r] | |
| \s\S | match all, \s:match all space char, \S:match all non space char, ‘return’ not included | |
| \w | match letter,number,underline, equal to [A-Za-z0-9 ] | |
| \cx | match the control char indicated by x(A-Z/a-z) | \cM: Control-M or return char |
| \f | match a page change char | |
| \n\r | match a return symbol | |
| \t | match a tab | |
| \v | match a vertical tab | |
| $ | match the end of the string, to match $ itself, use $ | |
| * | match the front subexpression multiple or zero times, use \* to match * | |
| + | match the front subexpression multiple or one times, use \+ | |
| . | match any single char except \n | |
| [ | mark the beginning of a []expression | |
| ? | match the front subexpression one or zero times, or indicate a non-greedy qualifier | |
| | | logic or |
In cpp, we use std::regex to express regular expression, supporting ECMAScripts as default.
Use regex_match() to match xml (or html) format:
1 | std::regex reg("<.*>.*</.*>"); |
Use std::regex_search.
As long as there exists targets in the string, it will return.
1 | std::regex reg("<(.*)>(.*)</(\\1)>"); |
Studying note for customizing vim-snippets.
See Github
Module:
1 | snippet [trigger] ["Description"] [index] |
Index:
| Index | Description |
|---|---|
| b | trigger should be in the front of the line |
| i | trigger can be inside a word |
| w | trigger should be in the edge of two words |
| r | trigger can be a regular expression |
| A | auto trigger |
Generate a two column table:
1 | snippet tb2 "Create table of two columns" b |
Or generate a code block for bash
1 | snippet bbl "Bashblock" b |
1 | Study note for ROS |
This post record the steps I set up this blog site.
Installation
Use following command to confirm:
1 | $ node -v |
Create and copy SSH key:
1 | $ ssh-keygen -t rsa -C "GitHub email" |
Copy the contents
Go to Github -> Settings and Add SSH key
Confirm the connection:
1 | $ ssh -T git@github.com |
Create Username.github.io(your URL)
1 | $ npm install -g hexo-cli |
Setup a local workspace:
1 | $ git init |
launch local server:
1 | $ hexo cl |
or use following command to specify port:
1 | $ hexo server -p 5000 |
visit http://localhost:4000
Install hexo-developer-git:
1 | $ npm install hexo-deployer-git --save |
edit _config file’s Deployment part:
1 | deploy: |
then run in bash:
1 | $ hexo d |