When using a QWidget and QMainWindow, we can use overridden methods to handle mouse and key-press events. However, such predefined methods do not contain anything… Read More »Handling MacOS Gesture Events (Pinch, Zoom, Rotate) in PyQt or PySide2
A summary of commonly used docker commands. Docker Image Management Search/List Check the images on your host: docker image ls Search images from the Docker… Read More »Quick Command References: Docker Container
Tips for enabling your Mac to connect to your Ubuntu 18+ remote desktop. [Step 1] Ubuntu: Install Vino Server Install the Vino server: sudo apt… Read More »Connecting to Ubuntu 18+ Remote Desktop from Mac
Addressing the host key inconsistency issue when using the same IP address in multiple OSes instances. When using a Raspberry Pi board with switching between… Read More »Addressing the Issue “WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!” when SSH to Raspberry Pi
A short answer for how to enforce a wired Sidecar connection between a Mac and an iPad. Sidecar allows us to use an iPad as… Read More »Forcing iPad Sidecar to Connect via USB
Digging into the source code to understand how the five threads in Ardupilot in Linux are created and run. The Linux version’s Ardupilot takes advantage… Read More »How Threads Run in Ardupilot in Linux (AP_HAL_Linux)?
Details about where to modify the kernel source code to add a kernel parameter that can be accessed in procfs. Kernel parameters that are accessible… Read More »Adding a Kernel Parameter to Proc Filesystem (procfs)
Detailing where the main function is in ArduPilot, taking ArduCopter + Linux as an example. When studying ArduPilot’s source code, the first question most people… Read More »Where Is The Main Function in ArduPilot?