발표자: 길기종(동아대학교 석사과정)
발표일: 2017.10.
2017 R-BIZ 챌린지 - 터틀봇3 오토레이스 부문에서 은상(2등) 수상
목차:
터틀봇3 오토레이스 대회 소개- 경기 규칙, 미션, 경기장 소개
하드웨어 & 소프트웨어 소개- 터틀봇3, OpenCR, ROS 소개
영상처리 알고리즘- 자율주행을 위한 이미지 처리
ROS 메시지 통신- 터틀봇3와 PC간의 메시지 통신
12. 영상 처리 알고리즘
• How to detect the lines?
- Color detection (HSV)
- Line detection (Canny, Houghline)
• How to track the lines?
- Using two lines or one line(white or yellow)
- Angle
- Distance
22. ROS 메시지 통신
roslaunch turtlebot3_bringup turtlebot_robot.launch
roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch
w
s da
x
cmd_vel
23. ROS 메시지 통신
• Topic name : cmd_vel
• Topic type : geometry_msgs/Twist
• Compact Message Definition
- geometry_msgs/Vector3 linear
float64 x
float64 y
float64 z
- geometry_msgs/Vector3 angular
float64 x
float64 y
float64 z
전진 후진
2.0 ~ -2.0
좌 우
2.0 ~ -2.0
24. ROS 메시지 통신
roslaunch turtlebot3_bringup turtlebot_robot.launch
rosrun autorace cam.py
rosrun autorace autorace_main
25. ROS 메시지 통신
• Topic name : Vision
• Topic type : std_msgs/Float32
• Compact Message Definition
- std_msgs/Float32 white_1
- std_msgs/Float32 white_2
- std_msgs/Float32 yellow_1
- std_msgs/Float32 yellow_2
- std_msgs/Float32 stats
stats 0 1 2 3 4 5 6 7
mode white yellow slow stop park park_1 park_2 tunnel
• Topic name : turtlebot_stats
• Topic type : std_msgs/Int32
• Compact Message Definition
- std_msgs/Int32 stats