ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

hector_sab's profile - activity

2016-10-19 16:07:50 -0500 received badge  Teacher (source)
2016-10-19 16:07:50 -0500 received badge  Necromancer (source)
2016-09-19 15:36:12 -0500 answered a question Integrating Tensorflow into ROS

If you check the content of the following link and reads the CMakeLists.txt and the main program, you will find that adding the next lines allows you to use tensorflow with ROS. I'm still new so I only copied things...

https://github.com/flobotics/flobotic...

  • add the following to your package CMakeLists.txt, where script.py is the script you are going to run

    catkin_python_setup()
    

    and

    catkin_install_python(PROGRAMS
        scripts/script.py
        DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
    
  • Copy setup.py files to your package src folder

  • Enjoy