-
Notifications
You must be signed in to change notification settings - Fork 0
/
Installation
50 lines (38 loc) · 1.64 KB
/
Installation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Justin Huang (Youtube Channel)
https://www.youtube.com/watch?v=0BxVPCInS3M
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt install curl # if you haven't already installed curl
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install dpkg
sudo apt install ros-noetic-desktop-full
sudo rosdep init
rosdep update
source /opt/ros/indigo/setup.bash
sudo apt-get install vim
vim ~/.bashrc (then at insert paste source /opt/ros/indigo/setup.bash)
sudo apt-get install python-rosinstall
sudo apt-get install python-catkin-tools
sudo apt-get install ros-indigo-turtlebot ros-indigo
roslaunch turtlebot_ (double tap "tab")
roslaunch turtlebot_gazebo (double tap "tab")
roslaunch turtlebot_gazebo turtlebot_world.launch
roslaunch turtlebot_teleop keyboard_teleop.launch
%%%%%%TURTLEBOT3%%%%%%%%%%%%%%%
$ cd ~/catkin_ws/src/
$ git clone -b noetic-devel https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git
$ cd ~/catkin_ws && catkin_make
%%If catkin_make fails (Invoking "make cmake_check_build_system" failed)%%%%
rosdep install --from-paths ~/catkin_ws/src --ignore-src
$ cd ~/catkin_ws && catkin_make
$ export TURTLEBOT3_MODEL=burger
$ roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch
%if it doesn't work:
source catkin_ws/devel/setup.bash
OR
$ export TURTLEBOT3_MODEL=waffle
$ roslaunch turtlebot3_gazebo turtlebot3_world.launch
OR
$ export TURTLEBOT3_MODEL=waffle_pi
$ roslaunch turtlebot3_gazebo turtlebot3_house.launch
$ roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch