Giter VIP home page Giter VIP logo

task-3's Introduction

Task-3

First we need to install ROS1 on PC remote Open the terminal and enter below commands $ sudo apt update $ sudo apt upgrade $ wget https://raw.githubusercontent.com/ROBOTIS-GIT/robotis_tools/master/install_ros_melodic.sh $ chmod 755 ./install_ros_melodic.sh $ bash ./install_ros_melodic.sh

then Install Dependent ROS 1 Packages Open the terminal and enter below command $ sudo apt-get install ros-melodic-joy ros-melodic-teleop-twist-joy
ros-melodic-teleop-twist-keyboard ros-melodic-laser-proc
ros-melodic-rgbd-launch ros-melodic-depthimage-to-laserscan
ros-melodic-rosserial-arduino ros-melodic-rosserial-python
ros-melodic-rosserial-server ros-melodic-rosserial-client
ros-melodic-rosserial-msgs ros-melodic-amcl ros-melodic-map-server
ros-melodic-move-base ros-melodic-urdf ros-melodic-xacro
ros-melodic-compressed-image-transport ros-melodic-rqt*
ros-melodic-gmapping ros-melodic-navigation ros-melodic-interactive-markers

after that Install TurtleBot3 via Debian Packages. $ sudo apt-get install ros-melodic-dynamixel-sdk $ sudo apt-get install ros-melodic-turtlebot3-msgs $ sudo apt-get install ros-melodic-turtlebot3 $ cd ~/catkin_ws/src/ $ git clone -b melodic-devel https://github.com/ROBOTIS-GIT/DynamixelSDK.git $ git clone -b melodic-devel https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git $ git clone -b melodic-devel https://github.com/ROBOTIS-GIT/turtlebot3.git $ cd ~/catkin_ws && catkin_make $ echo "source ~/catkin_ws/devel/setup.bash" >> ~/.bashrc

then Set TurtleBot3 Model Name $ echo "export TURTLEBOT3_MODEL=burger" >> ~/.bashrc $ echo "export TURTLEBOT3_MODEL=waffle_pi" >> ~/.bashrc

after that we need to install gazebo and SLAM Simulation pakeages so first we will do gazebo Simulation Install Simulation Package $ cd ~/catkin_ws/src/ $ git clone -b melodic-devel https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git $ cd ~/catkin_ws && catkin_make then $ export TURTLEBOT3_MODEL=waffle $ roslaunch turtlebot3_gazebo turtlebot3_world.launch $ roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch

now we will install SLAM Simulation $ export TURTLEBOT3_MODEL=burger $ roslaunch turtlebot3_gazebo turtlebot3_world.launch then $ export TURTLEBOT3_MODEL=burger $ roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=gmapping then $ export TURTLEBOT3_MODEL=burger $ roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch

it will open gazebo and RViz and you can work in the map Also, by last command you can control robots by (w-s-x-a-d) to make move on around the map.

about how to save the map, use this command and it will save it. $ rosrun map_server map_saver -f ~/map

task-3's People

Contributors

amg0z avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.