ROS 1 - Raspberry Pi 4(Single Board Computer) 설정
sudo apt-get update && sudo apt-get upgrade
PreviousRaspberry Pi 4(Single Board Computer) 설정NextROS 2 - Raspberry Pi 4(Single Board Computer) 설정
Last updated
sudo apt-get update && sudo apt-get upgrade
Last updated
wget https://raw.githubusercontent.com/ntrexlab/ROS_INSTALL_SCRIPT/main/install_ros_melodic_rp4.sh && chmod 755 ./install_ros_melodic_rp4.sh && bash ./install_ros_melodic_rp4.shcd ~/catkin_ws/src/
git clone https://github.com/ntrexlab/STELLA_N2_PI.git
cd ~/catkin_ws/src/STELLA_N2_PI/stella_teleop_bluetooth/src/
chmod +x stella_teleop_bluetooth.pysource ~/.bashrc
cd ~/catkin_ws/
catkin_makecd ~/catkin_ws/src/STELLA_N2_PI/stella_bringup
sh create_udev_rules.sh
ls -la /dev/ sudo nano ~/.bashrc # 마지막 줄에 아래 코드 추가
export ROS_MASTER_URI=http://[원격 PC의 ip주소]:11311
export ROS_HOSTNAME=[Raspberry Pi의 ip주소]source ~/.bashrcsudo raspi-config
-> 6 Advanced Options를 선택
-> A1 Expand Filesystem을 선택sudo apt-get install ntpdate
sudo ntpdate ntp.ubuntu.comsudo raspi-config
-> 3 Interface Options를 선택
-> P2 SSH를 선택하여 SSH를 Enable함(원격 PC에서)$ ssh pi@[Raspberry Pi의 ip주소]