Coder Social home page Coder Social logo

vlv-squid / turtlebot2-on-melodic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gaunthan/turtlebot2-on-melodic

0.0 0.0 0.0 13 KB

Make your Turtlebot2 runs on ROS Melodic (Ubuntu 18.04).

License: GNU Lesser General Public License v3.0

Shell 100.00%

turtlebot2-on-melodic's Introduction

Turtlebot2-On-Melodic

Make your Turtlebot2 run on ROS Melodic (Ubuntu 18.04).

This project referenced this issue. Thanks to the work of bunchofcoders and ProfJust.

Prerequisites

  • ROS Melodic on Ubuntu 18
  • Turtlebot2

Build Turtlebot2 Workspace

Firstly, cd to your catkin workspace.

If you don't have one, cd to somewhere you want to create it, and then run the following commands to create one

mkdir -p src
catkin_make

Now run the following command (inside the root of catkin workspace) to build up running environment for Turtlebot2

curl -sLf https://raw.githubusercontent.com/gaunthan/Turtlebot2-On-Melodic/master/install_basic.sh | bash
catkin_make

Bring Up Turtlebot2

Now connect a turtlebot2 to the computer. After that, run this command to bring up the Turtlebot2

source ./devel/setup.bash
roslaunch turtlebot_bringup minimal.launch

If nothing wrong, you will hear the Turtlebot2 give out a reminder.

Test Turtlebot2

If you want to use keyboard to control it, just run the following command

source ./devel/setup.bash
roslaunch turtlebot_teleop keyboard_teleop.launch

And it will output something like this

ROS_MASTER_URI=http://localhost:11311

process[turtlebot_teleop_keyboard-1]: started with pid [23757]

Control Your Turtlebot!
---------------------------
Moving around:
   u    i    o
   j    k    l
   m    ,    .

q/z : increase/decrease max speeds by 10%
w/x : increase/decrease only linear speed by 10%
e/c : increase/decrease only angular speed by 10%
space key, k : force stop
anything else : stop smoothly

CTRL-C to quit

currently:	speed 0.2	turn 1 

Now you should be able to use keyboard to control your Turtlebot2.

turtlebot2-on-melodic's People

Contributors

gaunthan avatar hanzheteng avatar marvinferber avatar surfertas 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.