Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- QT
- ubuntu
- Puck LITE
- GPS
- 터틀심
- C++
- GUI
- ROS
- ZED2
- DevOps
- Simulation
- ROS2
- 로봇
- 자율탐사
- RTK
- 젯슨
- Gazebo
- 인공지능
- 자율주행
- 티스토리챌린지
- WSL
- turtlebot3
- Jetson
- Visual SLAM
- U-blox
- 강화학습
- SLAM
- turtlesim
- WSL2
- 오블완
Archives
- Today
- Total
직관적인느낌
키보드 조작 실행 에러 본문
728x90
반응형
https://github.com/SimonLee9/leecar20
GitHub - SimonLee9/leecar20
Contribute to SimonLee9/leecar20 development by creating an account on GitHub.
github.com
leecar18@ubuntu:~$ rosrun steering_straight teleop_key.py
[rosrun] Couldn't find executable named teleop_key.py below /home/leecar18/catkin_ws/src/steering_straight
[rosrun] Found the following, but they're either not files,
[rosrun] or not executable:
[rosrun] /home/leecar18/catkin_ws/src/steering_straight/src/teleop_key.py
Solution
- 파일 권한 변경: teleop_key.py 파일이 실행 가능한 파일로 설정되어 있지 않을 수 있습니다. 이 경우 아래 명령어로 실행 가능한 파일로 변경해줍니다.
$ chmod +x /home/leecar18/catkin_ws/src/steering_straight/src/teleop_key.py
- catkin_make 실행: catkin_ws의 빌드 폴더에서 catkin_make 명령어를 실행하여 패키지를 빌드합니다.
$ cd /home/leecar18/catkin_ws
$ catkin_make
- 환경 변수 설정: ROS 패키지가 저장된 경로가 환경 변수에 등록되어 있는지 확인합니다. 만약 등록되어 있지 않다면, 아래 명령어로 등록해줍니다.
$ echo "source /home/leecar18/catkin_ws/devel/setup.bash" >> ~/.bashrc
$ source ~/.bashrc
728x90
반응형