I have created a msgs package containing a msg folder which contains the custom messages in .msg format. When I try to import the .msg files in eclipse from my module in python, eclipse gives an error that " No Module Named msgs.msg".
The exact code I use is -
from msgs.msg import FloatStamped, FloatArrayStamped, waypoint_navigation_status
The folder structure is like this
surveying - package name
src
module.py (This is where I try to import the msg files)
msgs - package name
msg - folder containing .msg files
FloatStamped.msg, FloatArrayStamped.msg, waypoint_navigation_status.msg
Can anybody please help??
Thanks
↧