Git Product home page Git Product logo

robond-control_rover's Introduction

Deprecated Repository

This repository is deprecated. Currently enrolled learners, if any, can:

Udacity - Robotics NanoDegree Program

RoboND-Control_Rover

A C++ program designed to accept user inputs and issue commands to the rover inside a simulator over a TCP/IP socket.

Rover Simulator

Before you compile and run this program, download the rover simulator for Windows or MacOS. Optionally you can download it for Linux, note that this version will only work with native Ubuntu!

Running the C++ Program

You should consider compiling and executing this program inside an Ubuntu virtual machine! Before doing so, edit your VMWare or VMFusion network settings and make sure you are connected to the NAT network.

Navigate to a working directory and clone the repository

$ cd Desktop
$ git clone https://github.com/udacity/RoboND-Control_Rover.git
$ cd ~/Desktop/RoboND-Control_Rover

Now, compile the code

$ mkdir build
$ cd src/
$ g++ main.cpp -o ../build/app

Before your run the program, take note of the IP address of your virtual machine

$ ifconfig

Finally, run the program

$  ../build/app

Running the Rover Simulator

  1. Leave your virtual machine and run the simulator inside Windows or MacOS.
  2. Then, select your graphics settings and enter the IP address of your Ubuntu VM noted earlier!
  3. Select the Autonomous mode designed to accept TCP Communication.

Controlling the Rover

Refer to this table and control your robot with keyboard commands through the Ubuntu terminal!

Command Description
w Forward
s Backward
a Left
d Right
b Brake
p Pickup Ball

Output

alt text

robond-control_rover's People

Contributors

karimchamaa avatar sudkul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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