Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 49

Error in Importing Custom Message Types in a Python File in Eclipse

$
0
0
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

Viewing all articles
Browse latest Browse all 49

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>