alias

# ubuntu
alias gb='gedit ~/.bashrc'

# 빌드
alias cbs='colcon build --packages-select'     
alias cbp='colcon build --symlink-install --parallel-workers 2'
alias cb='colcon build --symlink-install'                    
alias sis='source install/setup.bash'
alias rmall='rm -rf install build log'

# turtlebot
export TURTLEBOT3_MODEL=burger_cam
source /usr/share/gazebo/setup.sh
export GAZEBO_PLUGIN_PATH=$HOME/turtlebot3_ws/build/turtlebot3_gazebo:$GAZEBO_PLUGIN_PATH

# ROS2 작업 디렉토리
export CURRENT_WS=~/turtlebot3_ws
cd $CURRENT_WS
source $CURRENT_WS/install/setup.bash

강의자료

ros2 launch turtlebot3_manipulation_bringup hardware.launch.py
compressed_image_pub.py
yolo_detect.py
aruco_marker_detect.py

ros2 launch turtlebot3_manipulation_moveit_config moveit_core.launch.py
turtlebot_arm_controller
manager_node
qt_gui.py
conveyor_node

line detect

cbs turtlebot3_autorace_camera
cbs turtlebot3_autorace_detect
cbs turtlebot3_autorace_driving
cbs aruco_yolo
cbs aruco_msgs

ros2 run turtlebot3_autorace_camera cam_publish
ros2 run turtlebot3_autorace_camera img_publish
ros2 launch turtlebot3_autorace_camera intrinsic_camera_calibration.launch.py
ros2 launch turtlebot3_autorace_camera extrinsic_camera_calibration.launch.py
ros2 run turtlebot3_autorace_detect detect_stop_line

ros2 launch turtlebot3_autorace_detect detect_lane2.launch.py
ros2 launch turtlebot3_autorace_detect detect_lane2.launch.py calibration_mode:=true

ros2 launch turtlebot3_autorace_detect detect_lane2.launch.py calibration_mode:=true raw_mode:=true

ros2 run turtlebot3_autorace_driving lc_test
# 카메라만 실행
ros2 run v4l2_camera v4l2_camera_node

# 캡처
ros2 run turtlebot3_autorace_camera cam_publish
ros2 run turtlebot3_autorace_camera img_publish
ros2 run turtlebot3_autorace_camera capture_img 

주행 테스트

ros2 run turtlebot3_autorace_camera cam_publish
ros2 launch turtlebot3_autorace_detect detect_lane2.launch.py
ros2 run turtlebot3_autorace_camera image_preprocess
ros2 run turtlebot3_autorace_camera image_preprocess --ros-args -p pp:=false

pick and place