Code Monkey home page Code Monkey logo

amiro.robot.autonomous.docking's Introduction

DIFFERENTIAL WHEELED ROBOT AUTONOMOUS DOCKING

In this project we made a differential wheeled robot named AMiRo dock to a charging point autonomously.

Autonomous Docking

SETTING UP THE ENVIRONMENT :

The development environment is setup in ubuntu 16.04. The following steps are tried and tested in ubuntu 16.04.

COMPILER SETUP for AMiRo :
  1. cd ~/; sudo apt-get install cmake gcc-multilib

  2. git clone <this_repo>

  3. cd <this_repo>

  4. cd src/amiro-blt

  5. ./setup

  6. Select [B] - enter bootloaders setup

  7. Select [S] - enter AMiRo-BLT setup

  8. Select [S] - build SerialBoot tool

  9. Select y - WARNING: SerialBoot has been built before. Delete and rebuild? [y/n]

  10. Select [C] - enter compiler setup

  11. Select [G] - enter GCC setup

  12. Select [I] - install another version

  13. Copy proper link from: [https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q1-update]

    FOR UBUNTU: https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q1-update/+download/gcc-arm-none-eabi-4_8-2014q1-20140314-linux.tar.bz2
    FOR MAC: https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q1-update/+download/gcc-arm-none-eabi-4_8-2014q1-20140314-mac.tar.bz2
    FOR Windows: https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q1-update/+download/gcc-arm-none-eabi-4_8-2014q1-20140314-win32.exe
    
  14. Installation directory: ~/opt/gcc-arm-none-eabi-4_8-2014q1

  15. Link directory: ~/opt

  16. Select [Q] - quit this setup

  17. Add gcc path to .bashrc

    echo "export PATH=$PATH:~/opt/" >> ~/.bashrc

  18. Add SerialBoot path to .bashrc

    echo "export SERIALBOOT="~/AMiRo_ROBOT_Autonomous_Docking_v1/src/amiro-blt/bootloader/AMiRo-BLT/Host/Source/SerialBoot/build/SerialBoot"" >> ~/.bashrc

  19. source ~/.bashrc

  20. cd ../amiro-os

  21. cd devices

  22. make all

  23. make flash #Connect AMIRO via Serial before flashing

COMPILING AND FLASHING CODE TO AMiRo :
  1. AMiRo needs the gcc version 4.8.3 [Make sure it is installed in your system]

  2. Check gcc version by executing

    $arm-none-eabi-gcc -v

  3. Compiling code [ for more details, follow README.txt from amiro_os ]

     $cd ./amiro-os/devices
     $make all
    
  4. Flash code to AMiRo Robot

     	$make flash
    
CONNECTING TO AMiRo via SERIAL PORT :
  1. Open ~/.gtktermrc

    #Modify the following [AMiRo] port = /dev/ttyUSB0 speed = 115200 crlfauto = True #save and exit

  2. $gtkterm -c AMiRo

    $[Enter F8 to enter amiro cli]

    #Keep amiro in deepsleep mode [it is like turning off the amiro] $shutdown d

DOCKER CODE LOCATION :

Docker code location : <base_dir>/src/amiro-os/devices/DiWheelDrive/docker/docker_main.cpp

amiro.robot.autonomous.docking's People

Contributors

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