Created
February 9, 2022 13:07
-
-
Save NamWoo/0dea779a6eb368e8c1e3c5b8838c8a9d to your computer and use it in GitHub Desktop.
omo_ins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt update && sudo apt install locales | |
| sudo locale-gen en_US en_US.UTF-8 | |
| sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 | |
| export LANG=en_US.UTF-8 | |
| sudo apt update && sudo apt install locales | |
| sudo locale-gen en_US en_US.UTF-8 | |
| sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 | |
| export LANG=en_US.UTF-8 | |
| sudo apt update | |
| sudo apt install ros-foxy-desktop | |
| echo "source /opt/ros/foxy/setup.bash" >> ~/.bashrc | |
| . ~/.bashrc | |
| ros2 -h | |
| sudo apt install -y python3-pip | |
| pip3 install -U argcomplete | |
| sudo apt install python3-colcon-common-extensions | |
| ros2 run demo_nodes_cpp talker | |
| ros2 run demo_nodes_py listener | |
| ### | |
| mkdir -p ~/ros2_ws/src | |
| cd ~/ros2_ws/src | |
| export ROS_WS=/home/jetson/ros2_ws | |
| cd $ROS_WS/src/ | |
| git clone https://github.com/omorobot/omo_r1mini-foxy.git | |
| git clone https://github.com/PinkWink/YDLidar-SDK.git | |
| git clone https://github.com/PinkWink/ydlidar_ros2_driver.git | |
| sudo apt install python3-rosdep2 | |
| rosdep update | |
| sudo apt install -y ros-foxy-gazebo-ros \ | |
| ros-foxy-cartographer-ros \ | |
| ros-foxy-nav2-map-server \ | |
| ros-foxy-gazebo-ros-pkgs | |
| cd $ROS_WS/src/YDLidar-SDK | |
| cd build | |
| cmake .. | |
| make | |
| sudo make install | |
| cd $ROS_WS/src/omo_r1mini-foxy/omo_r1mini_bringup | |
| # USB udev rule 추가 | |
| sudo bash create_udev_rules.sh | |
| echo "sudo chmod 666 /dev/ttyTHS1" >> ~/.bashrc | |
| source ~/.bashrc | |
| ## mode 변경 확인 | |
| ll /dev/ttyTHS1 | |
| echo "sudo chmod 666 /dev/ttyTHS1" >> ~/.bashrc | |
| source ~/.bashrc | |
| ## mode 변경 확인 | |
| ll /dev/ttyTHS1 | |
| echo "source $ROS_WS/install/setup.bash" >> ~/.bashrc | |
| source ~/.bashrc | |
| ros2 launch omo_r1mini_bringup omo_r1mini_bringup.launch.py |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
test