pylint & pychecker
Have you tried to use pylint or pychecker to improve/check your python code? I've tried with pylint but it can't import rospy and srv or msg packages:
No config file found, using default configuration
F: 6: Unable to import 'rospy'
F: 8: Unable to import 'my_package.srv'
F: 9: Unable to import 'my_package.msg'
F: 10: Unable to import 'std_srvs.srv'
F: 11: Unable to import 'std_msgs.msg'
...
With PyChecker I've a similar problem:
Processing module my_node (my_node.py)...
ImportError: No module named srvWarnings...
my_node:1: NOT PROCESSED UNABLE TO IMPORT
Any idea? I found this ticket related with this topic, but it was not very useful for me. Thank you!