Rico's Nerd Cluster

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

Docker Ignore

A .dockerignore file lives next to your Dockerfile and controls which files are excluded from the Docker build context. Why use .dockerignore? ✅ Faster builds: smaller context → quic...

Docker Workflow And Networking

VSCode Devcontainer

Pulling Containers & Networking When you run a container for the first time, Docker pulls the image and sets up networking based on defaults or your configuration. Bridge Networks (docker0) ...

Autonomous Vehicle Introduction

General Project Flow What the robot sees - Perception localization + mapping Navigation - Motion Planning Planning + control Autonomy Levels from SAE (Society of Automotive Engineers) ...

Computation Tools - Eigen Expression Templates and SIMD

Fused Computation

Eigen Expression Template. Optimization Impact: ⭐️⭐⭐️️⚪⚪ Expression templates are one of those “powerful but mysterious” C++ features that libraries like Eigen, Blaze, and even TensorFlow (C++) us...

Computation Tools - OpenCV, PCL, PCD, NanoFLANN

A Running List of Computer Vision Tools

OpenCV Image Processing cv::Mat Create a cv::Mat In C++: 1 2 3 4 5 6 7 8 // method 1 cv::Mat(another_mat); // method 2 cv::Mat A = (cv::Mat_<uchar>(1,2)<<1,2); //CV_8U // method ...

Things About Leetcode Before That Coding Interview

Leetcode IDE Tips, Common Leetcode Problems, C++ Commands, String

Introduction At the bare minimum, it’s good to have a solid understanding of 2 Pointers, sliding window, BFS/DFS, Trees, Graphs, Stacks, Queus, Hash Maps. Leetcode IDE Tips No Global Variables ...

Foundamental Structure of Programs

Callstack

Callstack A callstack is a stack of frames, where a frame represents an active call. Each frame has: return address (where the function returns after it completes), local variables. E.g., if func...

C++ - Specifiers

Declaration-Only Specifiers

Declaration Only Specifiers These specifiers will only appear in an .hpp file, not in .cpp files. Keyword What it does virtual Marks a member as p...

C++ - Specifiers

Ament CPP

What Ament Cpp Actually Does ament_cppcheck is a ROS 2 wrapper around Cppcheck for static analysis of C/C++ source files, and ROS documents it as a lint/static-analysis tool, not as something that...

C++ - Rounding

llround llround follows round half away from zero (not bankers rounding)., and returns long long 1 2 3 4 5 6 7 std::llround(2.3) → 2 std::llround(2.5) → 3 std::llround(2.7) → 3 std::llr...