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 python3 | |
""" | |
Before using this script: manually connect to the Wi-Fi of the camera and make sure you have the 10.0.1.1 address in your machine | |
""" | |
import cv2 | |
import urllib.request | |
import numpy as np | |
stream = urllib.request.urlopen('http://10.0.0.1:60152/liveview.JPG?%211234%21http%2dget%3a%2a%3aimage%2fjpeg%3a%2a%21%21%21%21%21') | |
buf = b'' |
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 python3 | |
import sys, select, termios, tty | |
import rospy | |
from sensor_msgs.msg import Joy | |
import std_msgs.msg | |
update_rate = 0.1 # 100 hz loop cycle | |
msg = """ |