Coder Social home page Coder Social logo

iamjadhav / iturtlebot_roomba Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 31.61 MB

ENPM808X - Task to Implement Walker Algorithm on the Turtlebot in a Gazebo Environment

License: MIT License

CMake 52.79% C++ 47.21%
gazebo ros turtlebot3 walker-algorithm

iturtlebot_roomba's Introduction

Turtlebot_Roomba

License: MIT

Overview

A Task to Implement Walker Algorithm on the Turtlebot3 in a Gazebo Environment which demonstates the turtlebot's ability to avoid obstacles and keep walking around an obstacle filled environment

Dependencies

  • Ubuntu 18.04 LTS
  • ROS Melodic
  • Modern C++ Programming Language
  • Roscpp Package
  • Std_msgs Package
  • Geometry msgs Package
  • Catkin_Make Build System

Demo

roomba_result

Build

Create a Catkin Workspace and cd into it

cd ~/catkin_ws
catkin_make

Clone the repository

cd src
git clone https://github.com/iamjadhav/iturtlebot_roomba.git

Run

In a New Terminal, run the code using launch file

cd ~/catkin_ws
catkin_make
source devel/setup.bash
roslaunch iturtlebot_roomba turtle_launch.launch

ROSBAG

  • Recording a bag

The rosbagEnable argument is disabled by default. To record a rosbag: launch the nodes with the following commands,

cd ~/catkin_ws
catkin_make
source devel/setup.bash
roslaunch iturtlebot_roomba turtle_launch.launch rosbagEnable:=true
  • Playing the bag

To play a rosbag: while the nodes are launched OR a separate roscore is running,

in a different terminal, cd to the directory where rosbags are stored and type,

cd cakin_ws/src/iturtlebot_roomba/results
rosbag play recordedbag.bag
  • Compressing the Rosbag

To compress the rosbag: in one terminal, type,

cd cakin_ws/src/iturtlebot_roomba/results
rosbag compress recordedbag.bag
  • Inspecting the bag

To inspect a recorded bag file: cd into the directory where rosbags are stored and type,

rosbag info recordedbag.bag

iturtlebot_roomba's People

Contributors

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