ROS 2 - Raspberry Pi 4(Single Board Computer) 설정
sudo apt-get update && sudo apt-get upgradeLast updated
sudo apt-get update && sudo apt-get upgradeLast updated
wget https://raw.githubusercontent.com/ntrexlab/ROS_INSTALL_SCRIPT/main/install_ros2_foxy_rp4.sh && chmod 755 ./install_ros2_foxy_rp4.sh && bash ./install_ros2_foxy_rp4.shcd ~/colcon_ws/src/
git clone https://github.com/ntrexlab/STELLA_N2_PI_X4_ROS2_v2.0.git
cd ~/colcon_ws/src/STELLA_N2_PI_X4_ROS2_v2.0/stella_teleop_bluetooth/stella_teleop_bluetooth/
chmod +x stella_teleop_bluetooth.pycd ~/colcon_ws
colcon build --symlink-installcd ~/colcon_ws/src/STELLA_N2_PI_X4_ROS2_v2.0/stella_bringup
sh create_udev_rules.sh
ls -la /dev/ sudo raspi-config
-> 6 Advanced Options를 선택
-> A1 Expand Filesystem을 선택sudo ntpdate ntp.ubuntu.comsudo raspi-config
-> 3 Interface Options를 선택
-> P2 SSH를 선택하여 SSH를 Enable함(원격 PC에서)$ ssh pi@[Raspberry Pi의 ip주소]