No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
Repository Summary
Checkout URI | https://github.com/loyvanbeek/telegram_ros2.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2020-07-18 |
Dev Status | UNMAINTAINED |
CI status | No Continuous Integration |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
Name | Version |
---|---|
telegram_ros2 | 0.0.0 |
README
telegram_ros2
Bridge the Telegram chat service to ROS2. Send messages, images, locations to and from ROS2
Useage
mkdir -p ~/dev_ws/src
cd ~/dev_ws/src
git clone https://github.com/LoyVanBeek/instant_messaging_interfaces.git
git clone https://github.com/LoyVanBeek/telegram_ros2.git
Get a Telegram API token via https://core.telegram.org/bots#6-botfather
The token can be put in the config/example_param.launch
:
$EDITOR config/example_param.launch
and save your token instead of the dummy example token (nope, the example one is not valid, you really need your own)
cd ~/dev_ws # or cd .., whatever floats your goat.
colcon build # --symlink-install # TIL this is possible, for those wanting to hack on this
ros2 launch telegram_ros2 telegram_bridge.launch.py
Now, chat with your bot via Telegram.
It’ll report you need to first send a /start
command (ince this bot can currently only talk to 1 person at a time)
So, enter /start
and start chatting.
Topics
- Receiving messages from Telegram:
ros2 topic echo /message_to_ros
- Receiving images from Telegram:
ros2 topic echo /image_to_ros
or rather look at images withrqt
-
Receiving location from Telegram:
ros2 topic echo /location_to_ros
- Sending a message to Telegram:
ros2 topic pub --once /message_from_ros std_msgs/msg/String data:\ \'Hello\'\
- Sending a location to Telegram:
ros2 topic pub --once /location_from_ros sensor_msgs/msg/NavSatFix
or also userqt
- Images are sent to Telegram via publishing them to
/image_from_ros
, so you can remap your camera feed for example.
CONTRIBUTING
Any contribution that you make to this repository will be under the MIT license, as dictated by that license.
No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.