트러블 슈팅 1 🏀

sudo rm -rf 삭제할 디렉토리명

Git Clone해서 Gazebo 실습

환경 구성

mkdir -p gazebo_ws/src
cd gazebo_ws/src
cd ..
cd src
git clone <https://github.com/Road-Balance/gcamp_ros_basic.git>
cd ..
catkin_make
source devel/setup.bash

catkin_make에서 에러가 났었는데, 한번 더 catkin_make 해줬더니 정상 작동하였다.

gedit ~/.gazebo/gui.ini

# 파일에 입력 
[model_paths]
filenames=/home/sumi/gazebo_ws/src/gcamp_ros_basic/GazeboFiles/model

cd /gazebo_ws/src/gcamp_ros_basic/gcamp_gazebo/launch
roslaunch gazebo_world.launch

TeleOperation 실습

sudo apt-get install ros-noetic-teleop-twist-keyboard
rosrun teleop_twist_keyboard teleop_twist_keyboard.py

# 조종
Reading from the keyboard  and Publishing to Twist!
---------------------------
Moving around:
   u    i    o
   j    k    l
   m    ,    .

q/z : increase/decrease max speeds by 10%
w/x : increase/decrease only linear speed by 10%
e/c : increase/decrease only angular speed by 10%
anything else : stop

CTRL-C to quit

6bfc0585-86e0-48c8-852b-9d272374ae90.mp4

트러블 슈팅 2 🏀

트러블 슈팅 3 🏀