1 sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak
2 ls
3 sudo nano /etc/apt/sources.list
4 sudo apt-get update
5 sudo nano /etc/apt/sources.list
6 sudo apt-get update
7 sudo nano /etc/apt/sources.list
8 sudo apt-get update
9 sudo sh -c 'echo "deb https://mirrors.ustc.edu.cn/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
10 sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
11 sudo apt update
12 apt list --upgradeable
13 sudo apt-get upgrade
14 df -h
15 htop
16 sudo apt-get install ros-noetic-desktop
17 source /opt/ros/noetic/setup.bash
18 echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
19 source ~/.bashrc
20 rosversion -d
21 rosrun turtlesim turtlesim_node
22 export |grep ROS
23 roscore
24 rosrun turtlesim turtlesim_node
25 rosrun turtlesim turtle_teleop_key
26 sudo apt install python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential
27 sudo apt install python3-rosdep
28 sudo rosdep init
29 rosdep update
30 sudo nano /usr/lib/python2.7/dist-packages/rosdistro/loader.py
31 gcc
32 gcc --help
33 gcc --version
34 sudo raspi-config
35 cd Documents/bobac3_ws/
36 ls
37 catkin_make
38 source devel/setup.bash
39 sudo apt-get install jstest
40 jstest
41 sudo apt-get install jstest
42 apt-cache search jstest
43 sudo apt-get install joystest jstest-gtk
44 sudo apt-get install joystick jstest-gtk
45 jstest /dev/input/js0
46 reboot
47 cd Documents/bobac3_ws/
48 ls
49 source devel/setup.bash
50 roslaunch bobac3_base bobac3_base.launch
51 catkin_make
52 ls
53 sudo nano /etc/bash.bashrc
54 reboot
55 cd Documents/bobac3_ws/
56 source devel/setup.bash
57 roslaunch bobac3_joy bobac3_joy.launch
58 cd /home/pi/Documents/bobac3_ws/devel/lib/joy
59 ls
60 file joy_node
61 ./joy_node
62 cd ..
63 ls
64 cd bobac3_base/
65 ls
66 file bobac3_base_node
67 jstest /dev/input/js0
68 cd Documents/
69 ls
70 cd bobac3_ws/
71 ls
72 source devel/setup.bash
73 cat /etc/bash.bashrc
74 cd devel/
75 pwd
76 sudo nano ~/.bashrc
77 reboot
78 roslaunch bobac3_joy bobac3_joy.launch
79 sudo apt-get install ros-noetic-joystick-drivers
80 cd /etc/
81 ls
82 cd ~
83 ls
84 hisotry
85 history
86 cd Documents/
87 ls
88 history >> history
89 history >> history.txt