This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import thread | |
import time | |
import zmq | |
# global zmg context | |
context = zmq.Context.instance() | |
endpoint = "tcp://*:8888" | |
# the subscriber thread function | |
def subscriber(name, address, cnt, subscriptions): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
foobar.py: Does really cool stuff | |
Usage: | |
foobar.py [options] [-q | -v] | |
foobar.py --config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
RP_BASEDIR=~/Code/ros | |
export TURTLEBOT_BASE=kobuki | |
export TURTLEBOT_STACKS=hexagons | |
export TURTLEBOT_3D_SENSOR=kinect | |
# source /opt/ros/groovy/setup.bash | |
source /home/opt/ros-hydro-ws/install_isolated/setup.bash |