杂货备忘

高通845配置log级别(只对当前终端有效)

export LOG_CONSOLE_LEVEL=debug

 

LOG_CONSOLE_LEVEL=debug ./data/robot/atom_task_sleep
LOG_CONSOLE_LEVEL=debug ./data/robot/atom_task_nav

cmake . -Bbuild -DCMAKE_FIND_ROOT_PATH=/home/oem/android_ndk_build/build5 -DCMAKE_TOOLCHAIN_FILE=/home/oem/android-ndk-r23b-linux/android-ndk-r23b/build/cmake/android.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DANDROID_NATIVE_API_LEVEL=27 -DANDROID_ABI=arm64-v8a -DCMAKE_EXPORT_COMPILE_COMMANDS=ON

export http_proxy=http://127.0.0.1:20171
export https_proxy=http://127.0.0.1:20171
curl -vv google.com

 

------------------------------------------------------------------------

原因:ros裁减,sensormesg安装
雷达编译
不source
source
source 2个,环境变量覆盖,--extend全局变量放在后面,
cmakeprefix

 

------------------------------------------------------------------------docker操作

oem@wang:~$ sudo usermod -aG docker oem
oem@wang:~$ sudo newgrp - docker


docker run --net host -it -v ~/ros1_src/ros_base_src/:/ros_src ubuntu:18.04 /bin/bash
docker run -it -v ~/ros1_src/ros_base_src/:/ros_src ubuntu:18.04 /bin/bash
./src/catkin/bin/catkin_make_isolated --install -DCATKIN_ENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release
docker build --network host -t ubuntu18_ros_base .

 

sudo usermod -aG docker wang 添加用户wang到组docker里
docker version
newgrp - docker

 

 

which,whereis,locate,find

posted on 2022-01-18 13:57  543680484  阅读(22)  评论(0编辑  收藏  举报