- Install manual: http://api.vispy.org/en/latest/installation.html
apt-get install python3-pyqt4 python3-pyqt4.qtopengl
python3 -m pip install vispy pytest-cov nose flake8 cython
- Run the test in a git repo of vispy
>>> import vispy
>>> vispy.test()
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
echo "You should remove your old installation if it exist (CAUTION: You might damage your system)" | |
echo "sudo apt-get remove gstreamer1.0* libgstreamer1.0* libgstreamer-plugins-base1.0* libgstreamer-plugins-good1.0* libgstreamer-plugins-bad1.0* libgstreamer-plugins-ugly1.0* libgstreamer1.0-0:i386 libgstreamer1.0-0* libgstreamer-plugins-good1.0-0* libgstreamer-plugins-base1.0-0* libgstreamer1.0-0*" | |
echo "" | |
echo "Install some stuff like:" | |
echo "apt-get install libx264-dev liborc-0.4-dev liborc-0.4-0" | |
# Run as sudo | |
if [ $EUID != 0 ]; then |
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
from nav_msgs.msg import OccupancyGrid | |
import numpy as np | |
import StringIO | |
# Check for the numpy serialization for ROS | |
# messages w/o publisher: | |
# http://wiki.ros.org/rospy_tutorials/Tutorials/numpy | |
# This is our buffer | |
buff = StringIO.StringIO() |