일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- CodeUp
- ros2 환경설정
- ros2 튜토리얼
- humble 환경설정
- nav2 first-time robot setup guide
- nav2 dev contatiner
- Nav2 document
- 코드업
- nav2 튜토리얼
- error
- Foxy tutorial
- nav2 development guides
- nav2 tutorial
- first-time robot setup guide
- Python
- ros2 configuring environment
- docker foxy
- nav2 설치
- ros2 development guides
- ros2 transformations 개념
- ROS FOXY 튜토리얼
- nav2 getting started
- foxy nav2
- humble development guides
- ros2 튜토리얼 환경설정
- ros2 remapping
- ros2 foxy docker
- ros2 foxy tutorial
- setting up transformations
- CODEUP 6073
Archives
- Today
- Total
목록Python (2)
BAN2ARU
[Python] for문에서 'int' object is not iterable 오류
TypeError: 'int' object is not iterable 오류가 발생한 경우에는 for i in 변수 : --> for i in range(변수) 로 변경하면 오류가 해결된다. 오류가 발생한 이유는 변수가 'int' 즉 숫자형이여서 발생한 것인데, for문은 list형에 있는 iterable 즉, 단계별로 수행할 수 있는 list의 형태가 필요하기 때문이다. range(변수)로 하면 해당 변수가 0~변수 값까지의 list형식으로 변환되어 오류가 해결된당!
Language/Python
2022. 2. 23. 15:31