# In Home Folder mkdir -p turtlebot_ws/src cd turtlebot_ws catkin_make cd src sudo apt-get install git -y #Turtlebot Packages git clone https://github.com/turtlebot/turtlebot.git git clone https://github.com/turtlebot/turtlebot_msgs.git git clone https://github.com/turtlebot/turtlebot_apps.git git clone https://github.com/turtlebot/turtlebot_simulator git clone --branch indigo https://github.com/turtlebot/turtlebot_viz.git # Kobuki Packages git clone https://github.com/yujinrobot/kobuki_msgs.git git clone https://github.com/yujinrobot/kobuki_desktop.git git clone --branch melodic https://github.com/yujinrobot/kobuki.git git clone https://github.com/yujinrobot/kobuki_core.git git clone https://github.com/ros-perception/depthimage_to_laserscan.git git clone https://github.com/ros-perception/slam_gmapping.gitssssg # yocs_controllers git clone https://github.com/yujinrobot/yocs_msgs.git git clone https://github.com/yujinrobot/yujin_ocs.git # ar_track_alvar_msgs git clone --branch melodic-devel https://github.com/ros-perception/ar_track_alvar.git mv ar_track_alvar/ar_track_alvar_msgs ./ rm -rf ar_track_alvar #Dependencies sudo apt-get install ros-noetic-openslam-gmapping -y sudo apt-get install ros-noetic-ecl-build -y sudo apt-get install ros-noetic-ecl-geometry -y sudo apt-get install ros-noetic-ecl-threads -y sudo apt-get install ros-noetic-ecl-devices -y sudo apt-get install ros-noetic-ecl-sigslots -y sudo apt-get install ros-noetic-ecl-command-line -y sudo apt-get install ros-noetic-ecl-streams -y sudo apt-get install ros-noetic-joy -y sudo apt-get install ros-noetic-base-local-planner -y sudo apt-get install ros-noetic-move-base -y sudo apt-get install ros-noetic-kobuki-driver -y sudo apt-get install libusb-dev -y sudo apt-get install libftdi-dev -y sudo apt-get install ros-noetic-amcl -y sudo apt-get install ros-noetic-map-server -y sudo apt-get install pyqt5-dev-tools -y sudo apt-get install python -y apt-get install curl curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py python -m pip install pyyaml python -m pip install rospkg cd .. catkin_make echo "source ~/turtlebot_ws/devel/setup.bash" >> ~/.bashrc # Export parameters for tutlebot echo "export TURTLEBOT_BASE=kobuki" >> ~/.bashrc echo "export TURTLEBOT_BATTERY=/sys/class/power_supply/BAT0" >> ~/.bashrc echo "export TURTLEBOT_STACKS=hexagons" >> ~/.bashrc echo "export TURTLEBOT_3D_SENSOR=asus_xtion_pro" >> ~/.bashrc echo "export TURTLEBOT_SIMULATION=false" >> ~/.bashrc echo "export TURTLEBOT_SERIAL_PORT=/dev/kobuki" >> ~/.bashrc # For teleoperation # sudo gedit /opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_base.py # replace line 160 # from (e_errno, msg, *_) = e.args # to (e_errno, msg) = e.args cd .. # source ~/.bashrc #rosrun kobuki_ftdi create_udev_rules