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
#!/bin/bash | |
#http://wiki.ros.org/noetic/Installation/Ubuntu | |
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-get -y install curl | |
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add - |
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
#!/bin/bash | |
python3.11 -m pip install --upgrade pip | |
pip3.11 install wheel | |
python3.11 -m pip install virtualenv | |
python3.11 -m pip install virtualenvwrapper | |
mkdir ~/ws/test_py |
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
#!/bin/bash | |
echo "------------------------------" | |
echo "------install start-----------" | |
echo "------------------------------" | |
mkdir ~/ws/pyins | |
cd ~/ws/pyins | |
#https://www.python.org/downloads/ |
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
#http://daplus.net/python-%ED%8C%8C%EC%9D%B4%EC%8D%AC%EC%97%90%EC%84%9C-%EB%94%94%EB%A0%89%ED%86%A0%EB%A6%AC%EC%9D%98-zip-%EC%95%84%EC%B9%B4%EC%9D%B4%EB%B8%8C%EB%A5%BC-%EB%A7%8C%EB%93%9C%EB%8A%94-%EB%B0%A9%EB%B2%95/ | |
import os, time | |
import zipfile | |
root_path = 'C:\\Users\\nw\\Desktop\\zip' | |
file_path = 'C:\\Users\\nw\\OneDrive - EXIS\\Data1_0316' | |
save_path = '{}\\{}.zip' | |
# os.chdir(file_path) |
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
#!/bin/bash | |
echo "------------------------------" | |
echo "------install start-----------" | |
echo "------------------------------" | |
sudo apt-get install -y ros-foxy-gazebo-* ros-foxy-cartographer ros-foxy-cartographer-ros | |
sudo apt-get install -y ros-foxy-navigation2 ros-foxy-nav2-bringup | |
#sudo apt install -y ros-foxy-dynamixel-sdk |
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
#!/bin/bash | |
echo "------------------------------" | |
echo "------install start-----------" | |
echo "------------------------------" | |
cd ~ | |
sudo dpkg --add-architecture armhf | |
sudo apt-get update | |
source ~/.bashrc |
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
#!/bin/bash | |
echo "------------------------------" | |
echo "------install start-----------" | |
echo "------------------------------" | |
sudo apt-get install -y ros-foxy-gazebo-*\ | |
ros-foxy-cartographer\ | |
ros-foxy-cartographer-ros\ | |
ros-foxy-navigation2\ |
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
#!/bin/bash | |
echo "------------------------------" | |
echo "------install start-----------" | |
echo "------------------------------" | |
mkdir -p ~/ros2_ws/src | |
cd ~/ros2_ws/src | |
git clone https://github.com/omorobot/omo_r1mini-foxy.git |
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
#!/bin/bash | |
echo "------------------------------" | |
echo "------install start-----------" | |
echo "------------------------------" | |
sudo apt update && sudo apt install -y locales | |
sudo locale-gen en_US en_US.UTF-8 | |
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 |
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 |
NewerOlder