Skip to content
Aditya Shriwastava edited this page Dec 15, 2021 · 11 revisions

Quick Start Guide [v0.1.2]

Establishing communication between your mobile phone and laptop.

  1. Connect your mobile phone and laptop to a common network.
  • You can either turn on hotspot on your mobile phone and connect your laptop to that hotspot or you can connect both your laptop and mobile phone to any common hotspot.
  1. Open a terminal window on your laptop and run mobot_spine. mobot_spine1
  2. Open the Mobot app on your mobile phone, enter the ip address and port of mobot_spine and press connect.

app_screenshot1

Running some tests to see every thing is working

IMU Test (Accelerometer + Magnetometer + Gyroscope)

  1. Open a new terminal window and run mobot_accelerometer_test
    $ mobot_accelerometer_test
  2. You should see accelerometer data printing on your terminal.
    mobot_accelerometer_test
  3. In the mobot app you will notice that dot next to Imu turn green from red.
  • Green: Streaming
  • Red: Not Streaming
  • Gray: Not Available
  1. To exit press ctrl+c

Similarly you can run mobot_magnetometer_test and mobot_gyroscope_test to see magnetometer and gyroscope data respectively.

Flashlight Test

  1. Open a new terminal window and run mobot_flashlight_test
$ mobot_flashlight_test
  1. Flashlight should be turned on on your mobile phone.
  2. To exit press ctrl+c

Camera Test

  1. Open a new terminal window and run mobot_camera_test
$ mobot_camera_test
  1. You should see the camera frames being received on your terminal.
    mobot_camera_test
  2. To exit press ctrl+c

Chassis Test

  1. Open a new terminal window and run mobot_chassis_test
$ mobot_chassis_test
  1. Your terminal should display keys to move and turn the robot.
    mobot_chassis_test
  2. Use your keyboard to move and turn the robot.
  3. To exit press ctrl+c

Some Terminology

(Mobot Body) <--> (Mobot Spine) <--> (Mobot Brain)
  • Mobot Body: Sensors and Actuators arranged in a certain way (i.e. Chassis + "Mobile Phone")
  • Mobot Brain: Intelligence that look at the sensor data and commands the actuator.
  • Mobot Spine: Mediator between "Mobot Body" and "Mobot Brain" that helps them discover each other (i.e. mobot_spine).

Check Building Mobot Brain for programming your mobot.