Proj-2013-2014-RobAIR-1/getStarted

From air
Revision as of 20:28, 9 February 2014 by RICM4-prj14-grp2 (talk | contribs)
Jump to navigation Jump to search

Requirement

About ROS install and to know how ROS is working please go on this page

Packages install

First of all, you need some packages to run graphique interface : You need to install "gevent-websocket" on your computeur. To do this use this command :

sudo pip install gevent-websocket

if u don't have « pip » go on this page and just follow the instructions

after that, you need to install "flask" :

sudo pip install flask

Don't forget to install this application in this folder : /home/fablab/ros_workspace Yes we know it's so bad but all student write the path directly in their files, so you don't have choice...

If you want to hear Robair spoke, you have to to run the sound so you need to install :

sudo apt-get install gstreamer0.10-pocketsphinx ros-hydro-audio-common

If you download our files to us, you should have no problem. If this is not the case, you need to modify multiple files : On /home/fablab/ros_workspace/robair_demo/scripts/kb_control.py add this follow instructions :

import roslib

if __name__ == '__main__':

   keyboard_node = KeyboardNode()
   rospy.loginfo("%s running..." % keyboard_node.node_name)
   os.system("rosrun sound_play soundplay_node.py &")
   keyboard_node.main_loop()
   rospy.loginfo("%s stopped." % keyboard_node.node_name)