The purpose of this project is implementing, researching, developing the Soccer Robot for FIRA RoboSot League.
ROS Kinetic w/ Ubuntu 16.04 Install
$ mkdir robosot_ws/src && cd robosot_ws
$ git clone https://github.com/tkuwheel/TKURoboSot.git src/
$ sudo apt-get install ros-kinetic-rosbridge-server ros-kinetic-web-video-server
$ cd src/
$ pip install -r requirements.txt
see pointgrey_camera_driver/README.md
$ catkin_make
# Get Camera's serial number
$ rosrun pointgrey_camera_driver list_cameras
# Setting Robot's number & Camera's Serail number
$ source Setting.sh
# Gazebo Simulator
$ roslaunch nubot_gazebo game_ready.launch
# Strategy w/ simulation mode
$ roslaunch strategy core.launch sim:=true
# GUI
# using plugin of dynamic_reconfigure
$ rqt
ImportError: No module named 'rospkg'
Add the line to ~/.bashrc
export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages
Error message:
Traceback (most recent call last):
File "/usr/bin/pip3", line 9, in <module>
from pip import main
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 16, in <module>
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/usr/lib/python2.7/dist-packages/pip/vcs/subversion.py", line 9, in <module>
from pip.index import Link
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 30, in <module>
from pip.wheel import Wheel, wheel_ext
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 6, in <module>
import compileall
File "/usr/lib/python3.5/compileall.py", line 20, in <module>
from concurrent.futures import ProcessPoolExecutor
File "/usr/lib/python2.7/dist-packages/concurrent/futures/__init__.py", line 8, in <module>
from concurrent.futures._base import (FIRST_COMPLETED,
File "/usr/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 357
raise type(self._exception), self._exception, self._traceback
^
SyntaxError: invalid syntax
Edit /usr/lib/python2.7/dist-packages/concurrent/futures/_base.py
Replace raise type(self._exception), self._exception, self._traceback
with raise Exception(self._exception).with_traceback(self._traceback)
Tamkang University Intelligent Automation And Robotics Center
Our Research