Skip to content

Instantly share code, notes, and snippets.

@GigaFlopsis
GigaFlopsis / WebsocketROSClient.py
Created June 4, 2018 19:52
Websocket ROS client for rosbridge: publisher and subscriber
#!/usr/bin/env python
import json
from uuid import uuid4
# Note that this needs:
# sudo pip install websocket-client
# not the library called 'websocket'
import websocket
import yaml
from geometry_msgs.msg import PoseStamped