To run this code you need to have ros melodic full version installed on your system
Secondly, you need: python 2.7
Tensorflow version 1.8
($ pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp27-none-linux_x86_64.whl)
matplotlib pyqtgraph (conda install matplotlib pyqtgraph)
Keras (pip install keras==2.1.5)
Credits for the code go to: Hands-On ROS for Robotics Programming by Bernardo Ronquillo Japo Git link: https://github.com/PacktPublishing/Hands-On-ROS-for-Robotics-Programming