Working python script but fails in ROS

asked 2019-06-06 05:14:15 -0500

Asit gravatar image

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?

edit retag flag offensive close merge delete

Comments

3

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

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2019-06-06 07:06:24 -0500 )edit