Rico's Nerd Cluster

「离开世界之前 一切都是过程」

Web Devel - web-crawler-toyota-rav4-crawler

Google Drive

Complete web crawler code can be found here Beautiful Soup and Selium Beautiful Soup is a Python library for parsing HTML and XML document. It is able to extract elements by class or ids in stati...

Web Devel - Storing Data on Google Drive

Google Drive

For personal projects, all AWS services will start charging once one service starts. Google drive on the other hand, gives everybody 5GB of storage for free. So for infrequent data read / write, Go...

Raspberry Pi 4B

Serial Setup, Ubuntu Core

Set Up Rpi For Serial Communication Enable rpi serial: 1 sudo raspi-config Rpi has an option to allow a user to login to the system via serial. Choose no Answe...

ROS1 Infrastructure Notes

A Running List of ROS1 Infrastructure I found Useful

ROS Basics Where ROS binaries are stored In ROS, many packages come in the C++ binary form. They are installed through apt, and are stored in /opt/ros/noetic/lib. ROS Actions The ROS Action rea...

CMake - Concepts and Options

CMake Concepts, Compile Options, Commands, CMake-Format, Header-Only Library, Static Library, fPIC, CMake Syntax

Concepts CMake is a “write-only” language 😉, because it was only meant to be written, not for reading, jokingly. This is because: The syntax is not quite a real scripting language CMake uses...

Point Cloud Processing

Point Cloud Filtering with PCL: Extract, Crop, and Clean When working with point clouds in robotics (e.g., perception pipelines in ROS 2), raw sensor data is almost never used directly. It’s typic...

Bash Scripting

Common Operations Check if a package has been installed dpkg -l lists all debian packages, including apt packages, not including snap, flatpak, AppImages. or one can do dpkg -l <...

Bash File Management

File Management umask 077 # permissions mask that ensures any new files you create in that shell session are readable and writable only by you, and not accessible to group members or others. A F...

Bash Magic

Bash is great. Here is a list of bash tricks & knowledge points that I found magical

Data Structures Array Bash has 1D indexed array (the common array we normally see), and associative array. Any variable can be used as an array. To declare an array, use declare. Bash Array A...

Cpp Exceptions

Error Throwing

Error Throwing rethrow an error using std::rethrow_exception(std::exception_ptr) 1 2 3 4 5 6 7 8 9 10 11 12 catch (std::exception&) { exptr_ = std::current_exception(); } if (exptr_) { ...