본문 바로가기

전체 글

(33)
IntelliThings iAHRS RB-SDA-v1 (IMU 센서) ROS 패키지 - 개발 환경 : Rasberry Pi 4B (Ubuntu 18.04 / ROS melodic) - 준비물 : IntelliThings iAHRS RB-SDA-v1 (로버) - 참조 : https://cafe.naver.com/openrt/26846 https://github.com/wookbin/iahrs_driver Step1. 패키지 다운로드 $ cd catkin_ws/src $ git clone https://github.com/wookbin/iahrs_driver.git $ catkin_make Step2. 심볼릭 링크 만들기 - ttyUSB*가 수시로 변경되기 때문에 심볼릭 링크를 지정하는 것이 좋습니다. (보통 꽂는 순서대로 ttyUSB0, ttyUSB1,,,) - USB Port 권한 주기..
ROS- PS4 Joystick teleop - 개발 환경 : Rasberry Pi 4B (Ubuntu 18.04 / ROS melodic) - 준비물 : md200t, PS4 Controller, 블루투스 동글 - 참조 : https://monotics.tistory.com/28 https://github.com/engcang/PS4_Joystick_teleop_Mobile_Robots_ROS_Python Step1. Bluetooth 연결 - Raspberry Pi USB 포트에 Bluetooth 동글을 연결합니다. - PS4의 "SHARE" 버튼과 "PS4" 버튼을 동시에 눌러 페어링 모드로 진입합니다. (LED가 빠르게 반짝임) - 터미널창에서 bluetooth 프롬포트를 실행하여 Wireless Controller를 연결합니다. $ blu..
아두이노 Wheel encoder를 이용한 Navigation - 개발 환경 : Rasberry Pi 4B (Ubuntu 18.04 / ROS melodic) - 준비물 : 아두이노 메가, 엔코더가 있는 DC 모터(FIT0450) X 2 - 참조 : https://www.youtube.com/watch?v=q1u_cC-5Sac&list=PLpwJoq86vov9U87KZG_x6w739Mlp07-BG&index=2 https://github.com/RBinsonB/Nox_robot $ git clone https://github.com/ros-perception/openslam_gmapping.git $ git clone https://github.com/ros-perception/slam_gmapping.git - Install dependency of all pac..
아두이노 엔코더 값 받기 - 개발 환경 : Rasberry Pi 4B (Ubuntu 18.04 / ROS melodic) - 준비물 : 아두이노 메가, 엔코더가 있는 DC 모터(FIT0450) X 2 - 참조 : https://www.youtube.com/watch?v=q1u_cC-5Sac&t=69s STEP1. 아두이노에 모터드라이버(TB6612FNG) 및 엔코더 모터(FIT0450) 연결 - 아래의 그림과 표를 참조하여 엔코더 모터 및 모터드라이버를 아두이노에 연결합니다. Motor Driver Arduino Motor 모터 외부전력 A0UT - Motor A - BOUT - Motor B - STBY Pin10 - - PWMA Pin4 - - AIN1 Pin9 - - AIN2 Pin8 - - PWMB Pin5 - - BIN..
Hector SLAM - 개발 환경 : Raspberry Pi 4B (Ubuntu 18.04 / ROS melodic) - 준비물 : ydlidar X4 - 참조 : https://www.youtube.com/watch?v=Qrtz0a7HaQ4 https://github.com/tu-darmstadt-ros-pkg/hector_slam/tree/melodic-devel https://archit0994.wixsite.com/architshah/post/manage-your-blog-from-your-live-site lidar $ cd ~/catkin_ws/src $ git clone https://github.com/EAIBOT/ydlidar.git $ cd .. $ catkin_make $ echo "source ~/ca..
Arduino와 ROS로 DC 모터 x2 제어하기 - 개발 환경 : Rasberry Pi 4B (Ubuntu 18.04 / ROS melodic) - 준비물 : 아두이노 메가, DC 모터(FIT0450) X 2, 모터 드라이버(JMOD-MOTOR-1) - 참조 : https://atadiat.com/en/e-rosserial-arduino-introduction/ https://bildr.org/2012/04/tb6612fng-arduino/ Step1. Raspberry Pi 4B에 Ubuntu 18.04 설치하기 https://do-9un6.tistory.com/2 Raspberry Pi 4B에 Ubuntu 18.04 설치하기 - 준비물 : Raspberry Pi 4B, SD Card, SD Card Reader - 참조 : https://www.y..
라즈베리파이 4B(Ubuntu 18.04)에 Pi Camera V2.1 연결하기 - 개발 환경 : Rasberry Pi 4B (Ubuntu 18.04 / ROS melodic) - 준비물 : Pi Camera V2.1 - 참조 : https://chuckmails.medium.com/enable-pi-camera-with-raspberry-pi4-ubuntu-20-10-327208312f6e https://larrylisky.com/2016/11/24/enabling-raspberry-pi-camera-v2-under-ubuntu-mate/ https://gist.github.com/xxl007/5db5a3625f3a5914541c84c37b380bfa https://www.codetd.com/en/article/12943496 라즈베리파이 설정을 위한 raspi-config 설치 ..
01장 파이썬이란 무엇인가? #본 게시글은 점프 투 파이썬을 두서없이 주관적으로 정리한 내용입니다. 01-1 파이썬이란? 파이썬은 인터프리터 언어이다. * 인터프리터 언어란? 한 줄씩 소스 코드를 해석해서 그때그떄 실행해 결과를 바로 확인할 수 있는 언어이다. 파이썬 프로그램은 공동 작업과 유지 보수가 매우 쉽고 편하다. 따라서 사용 업체들이 늘어 가고 있는 추세이다. 01-2 파이썬의 특징 인간 중심의 언어이다. 컴퓨터의 사고 체계에 맞추어 프로그래밍을 하려고 애쓸 필요가 없다. 문법이 쉽고 간결해서 빠르게 배울 수 있다. 오픈 소스, 즉 무료다. 복잡하고 반복 연산이 많은 프로그램과는 어울리지 않는다. 하지만 다른 언어와 결합하여 사용이 가능하다. 따라서 빠른 실행 속도가 필요한 부분은 C로 만들어서 파이썬 프로그램 안에 포함시..

반응형