GithubHelp home page GithubHelp logo

qiyd81 / botlab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saptadeb/botlab

0.0 0.0 0.0 12.32 MB

Project for ROB 550. Implementing SLAM using LIDAR, wheel encoders and IMU on MBot.

Makefile 1.30% Python 2.37% Dockerfile 0.06% Shell 0.15% TeX 0.79% C++ 21.12% C 73.51% GLSL 0.68%

botlab's Introduction

Slam and Path Planning implementation on MBot

Codacy Badge

A project for ROB 550: Robotics Systems Lab course taught in University of Michigan, Ann Arbor. Due to the COVID-19 pandemic this project was migrated to an online project. An overview of this project:

  • Acting

    • Planar kinematics of a differential-drive ground robot
    • Motion models with uncertainty
  • Perception

    • Quadrature Encoders
    • MEMS Inertial Measurement Unit
    • 2D LIDAR Rangefinders
  • Reasoning

    • Monte Carlo Localization
    • Simultaneous Localization and Mapping
    • A* search
    • Path planning

Running the code

log_mbot_sensors.sh

  • a script to log the sensor data needed for SLAM so you can easily create your own log files for testing

setenv.sh

  • a script for setting environment variables needed for running Vx applications
  • run this script before running botgui in a terminal on your laptop
  • run via . setenv.sh -- note the space
  1. Mapping

    • lcm-logplayer-gui <log_file.log> and uncheck all SLAM channels but SLAM_POSE
    • ./botgui
    • ./slam --mapping-only
  2. Action Model

    • lcm-logplayer-gui <log_file.log> and uncheck all SLAM channels
    • ./botgui
    • ./slam --action-only
  3. Sensor Model

    • lcm-logplayer-gui <log_file.log> and uncheck all SLAM channels
    • ./botgui
    • ./slam --localization-only <map_file.map>
  4. Full SLAM

    • lcm-logplayer-gui <log_file.log> and uncheck all SLAM channels
    • ./botgui
    • ./slam
  5. Obstacle Distance Grid

    • lcm-logplayer-gui <log_file.log> and uncheck all SLAM channels
    • ./botgui
    • View the generated obstacle distance grid by ticking “Show Obstacle Distances” in botgui
  6. A* Algorithm

    • cd <path_to_dir>/src/sim
    • python3 sim.py <map_file.map>
    • ./timesync
    • ./botgui
    • ./motion_controller
    • ./slam --localization-only <map_file.map>
    • Right-click on the botgui to drive the robot to that location
  7. Frontier exploration

    • cd <path_to_dir>/src/sim
    • python3 sim.py <map_file.map>
    • ./timesync
    • ./botgui
    • ./motion_controller
    • ./slam
    • ./exploration

Check the final report for detailed explanation and results.

Directories

bin/

  • where all built binaries are located

data/

  • where data needed to run parts of the assignment are located
  • log files and target files for SLAM and exploration are here

lcmtypes/

  • where the .lcm type definitions are located
  • the generated types are stored in src/lcmtypes

lib/

  • where static libraries are saved during the build process

src/

  • where all source code for botlab is located
  • subdirectories have a further description of their contents

botlab's People

Contributors

fnivek avatar saptadeb avatar pgaskell avatar mohie34 avatar codacy-badger 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.