터틀봇 slam hector-mapping 오류

sudo apt-get install ros-melodic-hector-mapping
실행 후
roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=hector 나
roslaunch turtlebot3_slam turtlebot3_slam.launch
을 했을때
ERRor : cannot launch node of type [hector_mapping/hector_mapping]:cannot locate node of type [hector_mapping] in package [hector_mapping]. make sure file exists in package path and permission is set to executable (chmod +x) 라고 뜹니다ㅜ

안녕하세요.

패키지의 실행 파일에 실행 권한이 제대로 설정되어 있는지 확인해야 합니다.

터미널에서 해당 노드의 실행 파일에 대해 아래 명령어를 실행하여 실행 권한을 부여합니다

sudo chmod +x /path/to/your/catkin_workspace/devel/lib/hector_mapping/hector_mapping

감사합니다.

1 Like