Apollo3.5上手

steps: # install git-lfs first sudo apt-get install -y git-lfs # pull large files (some js, model, .so file) git-lfs fetch –all echo ‘export APOLLO_HOME=$(pwd)’ >> ~/.bashrc source ~/.bashrc # pull apollo docker first ./docker/scripts/dev_start.sh # into apollo docker ./docker/scripts/dev_into.sh…

关于Gtest 和 ros_test

http://wiki.ros.org/gtest https://github.com/VGonPa/ros-testing-tutorial Ros Testing Tutorial from Víctor Pacheco https://docs.google.com/presentation/d/1miS-qttABKfkIT9TG_HU6Kn3FrxZ9VNHD7nHIL4_3wE/present?slide=id.i0

usage-model (from linux kernel)

Linux and the Device Tree The Linux usage model for device tree data Author: Grant Likely grant.likely@secretlab.ca This article describes how Linux uses the device tree. An overview of the device tree data format can be found on the device…

Linux kernel coding style

Linux kernel coding style This is a short document describing the preferred coding style for the linux kernel. Coding style is very personal, and I won’t force my views on anybody, but this is what goes for anything that I…

error: implicit declaration of function ‘copy_from_user’

编译内核模块出现以下错误: error: implicit declaration of function ‘copy_from_user’ [-Werror=implicit-function-declaration] 解决办法: 添加头文件: #include <linux/uaccess.h> 原因: asm/uaccess.h does not have copy_to_user on kernel > 4.11. https://github.com/raspberrypi/linux/commit/701cac61d0250912b89cbc28589969530179099a#diff-073429958395ac01bbdf79a3face785d https://github.com/raspberrypi/linux/commit/d597580d373774b1bdab84b3d26ff0b55162b916