GithubHelp home page GithubHelp logo

walker's Introduction

TURTLEBOT WALKER

Overview

This package modifies the default Turtlebot simulation and implements a simple walker algorithm. The robot moves forward until it reaches an obstacle, then rotates in place (without colliding) until the way ahead is clear, then move forward again and repeat. It records all messages being published on all topics except the topics related to the RGB-D sensor in a bagfile.

License

This software is released under the BSD-2 License, see LICENSE.txt.

Dependencies

To run this program you need to have the following installed on your system:

  • Ubuntu (Wily/Xenial) or Debian (Jessie)
  • ROS Kinetic
  • Gazebo 7.x (part of ros-kinetic-desktop-full package)
  • Turtlebot simulation stack

To instal ROS, use this link

To install turtlebot simulation stack. In a terminal:

sudo apt-get install ros-kinetic-turtlebot-gazebo ros-kinetic-turtlebot-apps ros-kinetic-turtlebot-rviz-launchers
source /opt/ros/kinetic/setup.bash

Build Instructions

If you do not have a catkin workspace, follow this:

mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make
source devel/setup.bash
cd src/
git clone --recursive https://github.com/inani47/walker.git
cd ..
catkin_make

If you wish to run this code in an existing catkin workspace:

cd ~/catkin_ws/
source devel/setup.bash
cd src/
git clone --recursive https://github.com/inani47/walker.git
cd ..
catkin_make

Run Instructions Using Launch File

After following the build instructions:

To run the simulation, In a new terminal:

cd ~/catkin_ws/
source devel/setup.bash
roslaunch walker walker.launch 

To enable bag file recording of all topics except camera. In a new terminal:

cd ~/catkin_ws/
source devel/setup.bash
roslaunch walker walker.launch rec:=1

The bag file will be stored in the results folder as recording.bag

Inspecting and Replaying Bag Files

To inspect the bag file go the folder where bag file was saved. In a new terminal:

cd ~/catkin_ws/
source devel/setup.bash
cd src/walker/results
rosbag info recording.bag

To replay the bag file, first run rosmaster from the terminal:

roscore

Now, from the results folder run the following command in a new terminal:

cd ~/catkin_ws/
source devel/setup.bash
cd src/walker/results
rosbag play recording.bag

walker's People

Contributors

inani47 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.