偷得浮生半桶水(半日闲), 好记性不如抄下来(烂笔头). 信息爆炸的时代, 学习是一项持续的工作.
全部博文(1748)
分类: 其他平台
2019-03-01 11:33:15
Install Ubuntu kernel 4.15.0 for UP from PPA sudo add-apt-repository ppa:ubilinux/up sudo apt update sudo apt-get autoremove --purge 'linux-.*generic' sudo apt-get install linux-image-generic-hwe-16.04-upboard sudo apt dist-upgrade -y sudo reboot 重启之后查看 $ uname -a Linux upsquared-UP-APL01 4.15.0-37-generic #40~upboard03-Ubuntu SMP Wed Dec 12 16:21:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux 后面还有wifi/bt/Intel graphic driver/ 如何匹配ROS
安装 RTL8812 USB 网卡. https://blog.danielscrivano.com/installing-rtl8812au-on-linux-for-wireless-dual-band-usb-adapters/ sudo apt-get install linux-headers-generic build-essential git git clone cd rtl8812AU_8821AU_linux sudo make install sudo modprobe 8812au sudo apt-get remove -y ufw libreoffice-* deja-dup webbrowser-app cheese gnome-mahjongg gnome-mines gnome-sudoku rhythmbox shotwell thunderbird evince transmission-gtk sudo apt install samba openssh-server xrdp dconf-editor 设置桌面共享参照 https://www.cnblogs.com/xuliangxing/p/7642650.html点击(此处)折叠或打开
- sudo apt-get update
- sudo apt-get dist-upgrade -y
- sudo sh -c '. /etc/lsb-release && echo "deb $DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'
- sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
- sudo apt-get update
- sudo apt-get install ros-kinetic-desktop-full
- sudo rosdep init
- rosdep update
- 配置.bashrc 环境
- # Set ROS Kinetic
- source /opt/ros/kinetic/setup.bash
- source ~/catkin_ws/devel/setup.bash
- source /work/BigRobot/devel/setup.bash
- # Set ROS Network
- export ROS_MASTER_IP=127.0.0.1
- export ROS_MASTER_URI=http://${ROS_MASTER_IP}:11311
- export ROS_HOSTNAME=127.0.0.1
- # Set ROS alias command
- alias cw='cd /work/catkin_ws'
- alias cs='cd /work/catkin_ws/src'
- alias cm='cd /work/catkin_ws && catkin_make'
- alias gw='cd /work/BigRobot'
- alias gs='cd /work/BigRobot/src'
- alias gm='cd /work/BigRobot && catkin_make -DCATKIN_WHITELIST_PACKAGES=""'
- export GIT_SSL_NO_VERIFY=1
- 然后安装独立的部分
- sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential ros-kinetic-rosserial-python ros-kinetic-tf
- sudo apt-get install ros-kinetic-joy ros-kinetic-teleop-twist-joy ros-kinetic-teleop-twist-keyboard ros-kinetic-laser-proc ros-kinetic-rgbd-launch ros-kinetic-depthimage-to-laserscan ros-kinetic-rosserial-arduino ros-kinetic-rosserial-python ros-kinetic-rosserial-server ros-kinetic-rosserial-client ros-kinetic-rosserial-msgs ros-kinetic-amcl ros-kinetic-map-server ros-kinetic-move-base ros-kinetic-urdf ros-kinetic-xacro ros-kinetic-compressed-image-transport ros-kinetic-rqt-image-view ros-kinetic-gmapping ros-kinetic-navigation ros-kinetic-interactive-markers
- 工作空间
- mkdir -p /work/catkin_ws/src
- cd /work/catkin_ws/src
- catkin_init_workspace
- git clone https://github.com/ROBOTIS-GIT/hls_lfcd_lds_driver.git
- $ git clone https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git
- $ git clone https://github.com/ROBOTIS-GIT/turtlebot3.git
- $cm
- #安装激光雷达