Giter Club home page Giter Club logo

telegram_ros's Introduction

telegram_ros

Bridges between a Telegram conversation and ROS.

Only a single Telegram user can send and receive text, images and locations to/from the ROS bridge. A user must send the /start command to start a conversation. A new user can then /start as well and take over. Once connected, a user can type /stop to disconnect

Currently, there is no authentication (Issue #6)

Travis CI Build Status

Build Status

Installation (from source)

Go to the src directory of your catkin workspace and clone the package from github:

git clone https://github.com/tue-robotics/telegram_ros.git

Install the required dependencies:

rosdep install --from-path -y -i telegram_ros

Compile your workspace

catkin build # or catkin_make (make sure to refresh your workspace env afterwards)

Create a bot

If you don't have a bot yet, chat to BotFather in Telegram to create one. You can provide a name for your bot and you will receive the API token.

Run

rosrun telegram_ros telegram_ros_bridge _token:="YourToken:FromBotFather"

rosparam set /telegram_ros_bridge/whitelist '[1, 2]'  # For the chat IDs that should be allowed

ROS API

Topics

Output

Input

Parameters

  • ~token (string): Telegram BOT API token
  • ~caption_as_frame_id (bool): Whether to put the caption of the image in the frame_id (default: False)
  • ~whitelist (bool or list): False when everyone can use the bot or a list of telegram user IDs that are allowed to talk with the bot (default: False)

telegram_ros's People

Contributors

ar13pit avatar josjag avatar loyvanbeek avatar matthijsburgh avatar reinzor avatar timple 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.