ros navigation 튜토리얼을 모두 하고 나면 문득 궁금할 것이다.
과연 rviz에서 화살표를 찍는 방법 말고 목적지까지 갈 수 있는 방법은 없는 것인가?
답은 간단하다. 액션 클라이언트 헤더파일에 있는 함수를 이용하면 된다.
http://wiki.ros.org/navigation/Tutorials/SendingSimpleGoals
navigation/Tutorials/SendingSimpleGoals - ROS Wiki
Note: This tutorial assumes that you have completed the previous tutorials: ROS tutorials. Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of y
wiki.ros.org
자세한 방법은 위 사이트에 친절히 나와있다.
또한 move_base에서 goal만 어떻게 토픽으로 잘 쏴주면 목적지까지 잘 갈 수 있을 것 같다.
728x90
'ROS' 카테고리의 다른 글
[ROS] full coverage path planning (0) | 2023.02.09 |
---|---|
[ROS] custom msg (0) | 2023.02.01 |
[ROS slam] indoor 환경에서 slam map 천장 없애기 (0) | 2023.01.18 |
RTAB-map 명령어 (0) | 2023.01.16 |
[ROS] melodic에서 python3 사용하기 (0) | 2022.12.14 |