Skip to content

Control orientation of robot arm with IMU data from smartphone

Notifications You must be signed in to change notification settings

SibiAkkash/IMU-robot-controller

Repository files navigation

Steps to run

Clone the repo

Create a virtual environment

  • python -m venv env
  • cd env/
  • Activate the virtual env

Install requirements

  • python -m pip install -r requirements.txt

Local mosquitto broker

  • Download mosquitto
  • cd into the install location
  • Add these lines to the mosquitto.conf file.
per_listener_settings true
listener 1883
protocol mqtt

listener 8883
protocol websockets

allow_anonymous true
  • Remove trailing spaces from the above lines, if any
  • Start the broker by running mosquitto -c [path-to-mosquitto.conf] -v

The subscriber.py and publisher.py have sample implementations of pub sub with mqtt.

Set appropriate IP and port to connect to the mosquitto broker.

About

Control orientation of robot arm with IMU data from smartphone

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published