Code Monkey home page Code Monkey logo

marsbot's Introduction

MaRS Bot Navigation

Jetson Nano powered bot.

Hardware Requirements

  • Jetson Nano 4GB Developer Kit
  • Power Bank, ~5V/2A (to power Nano)
  • MPU 9250/9050/6050 IMU module

Hardware Setup

  • Preparing Nano

    1. Flash latest jetpack on a micro-sdcard, insert the card and power up Nano
    2. Disconnect the J48 jumper to power nano via micro-USB port
    3. Connect USB-A of power bank to micro-USB B of Nano to power it UP!
    4. Set Nano to 5W(power saving) mode before deploying
    5. Insert the wifi-adapter and connect Nano to a LAN
    6. Note down the Nano's IP address(will be used furhter for SSH and ROS_MASTER_URI):
    $ hostname -I
    
  • IMU

    • Connections:
    IMU Jetson Nano
    VCC pin 17 (3.3V)
    GND pin 25 (GND)
    SCL pin 5 (SCL)
    SDA pin 3 (SDA)
    1. VCC of the IMU to pin 17 (3.3V) of the Jetson Nano
    2. GND of the IMU to pin 25 (GND) of the Jetson Nano
    3. SCL of the IMU to pin 5 (SCL) of the Jetson Nano
    4. SDA of the IMU to pin 3 (SDA) of the Jetson Nano
    • *Note: Check the IMU's orientation before fixing it on the chassis
  • Connect Arduino cable to Nano

Setup

  1. Add or modify following lines into the .bashrc file on Nano:
    • export ROS_URI_MASTER http://<Nano's IP>:11311
    • export ROS_IP http://<Nano's IP>
  2. Connect basestation to the same LAN on which Nano is connected
  3. SSH into Nano via its previous noted IP address
$ sudo ssh -X mars@<Nano's IP>
  1. Launch Rosbridge Server on Jetson Nano
$ roslaunch robridge_server rosbridge_websocket.launch
  1. Launch the IMU publisher Node on Nano
$ roslaunch imu_package imu.launch
  1. Add or modify following lines into the .bashrc file on BaseStation:
    • export ROS_URI_MASTER http://<Nano's IP>:11311
    • export ROS_IP http://<BaseStation's IP>
  2. Launch rosserial node on Nano
$ roslaunch rosserial_python serial.launch /dev/ttyUSB0
  1. Launch marsbot
$ roslaunch marsbot marsbot.launch
  1. Operate

marsbot's People

Contributors

yashksahu avatar

Stargazers

 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.