Robotics StackExchange | Archived questions

Working python script but fails in ROS

I have a working python script. Its works perfectly fine when I run with "python mysample.py". But the same file when I run as part of a ros package throws error "xxx module doesn't have any function called yyyy"

So as much as I have understood, that both the execution point to different package lib. Now how do I correct this?

Asked by Asit on 2019-06-06 05:14:15 UTC

Comments

If you can post the script in question we can probably help you, but there's not much we can do without it.

Asked by PeteBlackerThe3rd on 2019-06-06 07:06:24 UTC

Answers