Giter VIP home page Giter VIP logo

delsys_trigno's Introduction

delsys_trigno

ros2 data collection from Delsys Trigno sensors

Step-1 Installation and setup

Download the package

git clone https://github.com/anwaybose/delsys_trigno.git

Install mosquitto and paho-mqtt

sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
sudo apt-get update
sudo apt-get install mosquitto
sudo apt-get install mosquitto-clients
sudo apt clean

pip3 install paho-mqtt

Step-2 Initiate the broker

cd delsys_trigno
mosquitto -v -c test.conf

Step-3 Build and Launch the mqtt_client and the trigno data collection package

In a new terminal

cd delsys_trigno
colcon build
source ./install/setup.bash

ros2 launch trigno_multi trigno_mqtt.launch.py 

Step-4 check for available topics

In a new terminal

cd delsys_trigno
source ./install/setup.bash

ros2 topic list

To use as a Docker container

Option 1

  • Run Docker image
cd delsys_trigno/docker_files

docker compose up
  • Open url

  • Force image rebuild after updating the Dockerfile

In a new terminal

cd delsys_trigno/docker_files
docker compose up -d --build 

Then follow Steps 2-4

Option 2

  • Run Docker image
cd delsys_trigno/mqtt_docker

docker compose up
  • Open url

  • Force image rebuild after updating the Dockerfile

In a new terminal

cd delsys_trigno/docker_files
docker compose up -d --build 

Then follow Steps 2-4

delsys_trigno's People

Contributors

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