LiDAR(5)
-
LiDAR 센서 이해하기
✅ LiDAR 센서 이해하기 cd ~/catkin_ws/srcgit clone https://github.com/robopeak/rplidar_ros.git --branch slamcd ..catkin_makesource devel/setup.bashls -l /dev | grep ttyUSBsudo chmod 666 /dev/ttyUSB0sudo apt install ros-melodic-rvizroslaunch rplidar_ros view_rplidar.launch
2024.07.09 -
ROS(Robot Operating System)
✅ ROS ✅ ROS의 개념 sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654sudo apt-key adv --keyserver 'hkp://pool.sks-keyservers.net:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654sudo apt updatesudo apt install..
2024.07.08 -
RFID
✅ RFID ✅ RFID 동작 ✅ RFID - RC522#include #include // 리셋 핀 번호#define RST_PIN 9// I2C SDA 핀 번호#define SS_PIN 10// 모듈 설정MFRC522 mfrc522(SS_PIN, RST_PIN);void setup() { Serial.begin(9600); SPI.begin(); // RFID 모듈 초기화 mfrc522.PCD_Init(); // 연결 테스트 : 연결 되었다면 true를 반환 bool result = mfrc522.PCD_PerformSelfTest(); if (result) Serial.println("Connect !!"); else Serial.println("Not Commect !!"..
2024.07.08 -
Processing
✅ Processing 개발 환경 구축https://processing.org/donate DonateWe need your help! Please support Processing by making a donation to the Processing Foundation. Your donation contributes to software development, education resources like code examples and tutorials,…processing.org ✅ Processing ✅ Processing 오류 원인✅ Processing 코딩void setup() { Serial.begin(9600);}void loop() { // 프로세싱으로 값을 전달 Serial.wr..
2024.07.05 -
I2C 통신
✅ I2C 통신 ✅ RFID - RC522 ✅ I2C를 이용한 아두이노와 ESP32 보드 연결#include const byte address = 0x3F; // 통신에서 사용할 주소void setup() { Serial.begin(9600); Serial.println("I2C test !!"); Wire.begin(address); Wire.onReceive(receiveEvent);}void loop() { delay(500);}void receiveEvent(int howMany) { while(Wire.available()) { char c = Wire.read(); Serial.println(c); }}#include const byte address = 0x3F; //..
2024.07.04