渣包车安装.txt 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. 1. 安装teamviewer软件:
  2. (1)copy teamviewer的arm版本
  3. (2)sudo dpkg -i teamviewer_amd64.deb
  4. (3)option -> security -> unattended access -> zhangjiwen4002@gmail.com -> Kiss&820420 -> Apply
  5. 2. 安装vscode及其插件
  6. (1)官网(https://code.visualstudio.com/docs/?dv=linuxarm64_deb)下载arm的vscode文件
  7. (2)安装:sudo dpkg -i code_1.78.2-1683731010_amd64.deb
  8. (3)修改背景为白色:File -> Preferences -> Theme -> Color Theme[Ctrl+k Ctrl+T] - > Light(Visual Stdio)
  9. (4)升级:sudo apt-get update,sudo apt-get install code
  10. (5)安装基本插件:C/C++、c/c++ Extension Pack、CMake、CMake Tools、catkin-tools、ros
  11. 3. 安装Eigen库
  12. (1) 官网下载(tar.gz文件):https://eigen.tuxfamily.org
  13. (2) 解压:tar -xzf eigen-3.4.0.tar.gz
  14. (3) 进入解压后的文件夹eigen:cd eigen-3.4.0
  15. (4) 创建build文件夹,并进入该文件夹
  16. (a)mkdir build
  17. (b)cd build
  18. (5)build文件夹运行:cmake ..
  19. (6)运行以下命令构建eigen库:make
  20. (7)安装eigen库:sudo make install
  21. (8)至此安装完成,可包含:#include <eigen/Dense>
  22. 4. 安装json库
  23. 5. 安装serial
  24. sudo apt-get install ros-noetic-serial
  25. 6. 安装PCL
  26. (1) sudo apt update
  27. (2) sudo apt install libpcl-dev (该命令将会安装pcl的所有依赖库、开发工具和文档等)
  28. (3) sudo apt install pcl-tools (该命令将会安装pcl的可视化工具:pcl_viewer、pcl_convert_pcd_ascii_binary)
  29. (4) 总结:
  30. (a) 安装完成后,可在/usr/include/pcl-1.10目录下找到PCL的头文件
  31. (b) 可在代码中使用#include <pcl/XXX.h>来包含这些头文件
  32. (c) 查看pcl版本: dpkg -l | grep libpc
  33. (d) 检查是否安装成功:pcl_viewer xxx.pcd(查看是否打开相应点云数据)
  34. 7. 安装MQTT
  35. (1)下载源码
  36. (2)解压源码
  37. (3)编译和安装
  38. (a)make
  39. (b)sudo make install
  40. 7. 安装超级终端terminator并修改背景颜色
  41. (1)sudo apt-get install terminator
  42. (2)打开terminator后,右键 -> 配置文件首选项(Preferences) -> 配置(Profiles) -> 色彩(Colors) -> 把”use colors from system theme“的钩去掉 -> 前景与背景 -> 内置方案 -> 白底黑字(Black on white)
  43. 8. 修改终端背景颜色
  44. (1)打开终端 -> 右键 -> Preferences -> unnamed -> Colors -> 把”use colors from system theme“的钩去掉 -> 选择Background颜色和text颜色
  45. 9. 安装中文输入法
  46. (1)先安装fcitx:
  47. (a)sudo apt install fcitx-bin
  48. (b)sudo apt install fcitx-table
  49. (2)卸载ibus:sudo apt purge ibus
  50. (3)ibus改为fcitx:Language Support -> 提醒语言支持未完全安装,点remind me later ->将ibus改为fcitx
  51. (4)重启
  52. (5)安装google拼音输入法:sudo apt-get install fcitx fcitx-googlepinyin -y
  53. (6)点击语言切换图标,在列表中点击configure current input method, 打开input method configuration.此时列表中应该有Pinyin,若没有则点击+号,不勾选only show current language, 搜索pinyin应该会有Pinyin,选中;
  54. (7)再次重启
  55. (8)Fcitx输入中文时不显示候选词框,移除fcitx-module-kimpanel组件,然后重启Fcixt。sudo apt remove fcitx-module-kimpanel
  56. 向日葵
  57. (1) sudo xhost +
  58. (2) 点开客户端,如果一直没有显示“being connect”, ps -ef | grep sun 查看serivce对应的ID -> kill 对应ID
  59. (3) 重新打开客户端