GithubHelp home page GithubHelp logo

kh-ryu / turtlebot-mpc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tsender/me561-unicycle-mpc

0.0 0.0 0.0 295 KB

License: BSD 3-Clause "New" or "Revised" License

Python 51.64% MATLAB 43.03% CMake 5.34%

turtlebot-mpc's Introduction

me561-unicycle-mpc

This is a ROS repo intended to develop a MPC controller for the turtlebot.

Building / Installation

Dependenies

This library requires ROS and CVXPY Note: to install CVXPY, if you get an error about user permissions, execute

    pip install cvxpy --user

Building

The recommended way to build/install this library is with Catkin tools.

Clone this repo into a src folder and build with catkin tools:

mkdir -p ~/catkin_ws/me561-unicycle-mpc/
cd ~/catkin_ws/me561-unicycle-mpc/
git clone --recursive https://github.com/tsender/me561-unicycle-mpc.git src
catkin init
catkin build

Post Setup

Add these lines to the end of your ~/.bashrc file:

source ~/catkin_ws/me561-unicycle-mpc/devel/setup.bash
export TURTLEBOT3_MODEL=burger

Don't forget to source your ~/.bashrc file for the changes to take effect.

Running the Code

In one terminal, do

roslaunch turtlebot_mpc turtlebot_mpc.launch

In another, do

rosrun rqt_gui rqt_gui

In rqt_gui, publich a Bool message only ONCE on topic /go_turtlebot_go with a value of True, and then the robot will start moving

turtlebot-mpc's People

Contributors

samudhbhavprabhu avatar tsender 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.