ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2016-12-03 16:48:18 -0500 | received badge | ● Great Question (source) |
2014-04-03 16:39:26 -0500 | commented question | Why am I getting an rospy error in __getitem__ raise KeyError(key) ? import roslib and roslib.load_manifest should not be used if you're using ROS Groovy or later and catkin. Not sure if the inclusion of those lines may be causing your issue. |
2013-10-21 02:42:54 -0500 | received badge | ● Good Question (source) |
2013-08-23 04:25:31 -0500 | received badge | ● Famous Question (source) |
2013-07-12 10:37:35 -0500 | commented question | Image_view displays empty gray window you can try running rostopic list which will give you a list of current topics. You may be able to tell which topic you want from the list. It might be /camera/image_raw. |
2013-07-02 21:13:04 -0500 | received badge | ● Notable Question (source) |
2013-06-19 06:12:37 -0500 | received badge | ● Popular Question (source) |
2013-06-14 08:38:49 -0500 | received badge | ● Scholar (source) |
2013-06-14 06:20:34 -0500 | commented question | ImportError with custom action in python Thank you, Dirk, for your help! Would you prefer to answer to the question below or should I save you the time and write the answer myself? |
2013-06-14 06:19:16 -0500 | commented question | ImportError with custom action in python My mistake, yes the the node file had the same name as the package. I'm sorry my question did not reflect that. Changing the name of the node solved the problem. Was python node names not matching package names a requirement added with groovy/catkin or was that required with rosbuild/fuerte too? |
2013-06-13 09:28:16 -0500 | commented question | ImportError with custom action in python No there isn't. When I get a free moment, I'm going to investigate what the python path is when the node runs. Files are generating correctly in devel but then aren't found when the node runs. Could be b/c the python package within the package folder structure has the same name as the ros package? |
2013-06-13 04:58:33 -0500 | commented question | ImportError with custom action in python Yes, I have. |
2013-06-12 04:44:52 -0500 | asked a question | ImportError with custom action in python Ubuntu 12.04, Groovy, catkin build I am trying to define a custom action for a rospy node. my_foo.py starts with: When I run the node with rosrun, it yields the error: I have tried renaming the python package to not match the ROS package name and changing the setup.py file accordingly but that yielded the same error. The message build files are generated into devel/lib/python2.7/dist-packages/my_foo/msg but are not being found at run time. My file structure is: Setup.py: __init__.py is an empty file. CustomAction.action contains: package.xml CMakeLists.txt (more) |
2013-06-05 10:44:38 -0500 | received badge | ● Supporter (source) |
2013-05-07 10:19:47 -0500 | received badge | ● Famous Question (source) |
2013-04-16 05:28:01 -0500 | received badge | ● Notable Question (source) |
2013-04-15 08:44:14 -0500 | received badge | ● Popular Question (source) |
2013-04-15 08:40:39 -0500 | received badge | ● Nice Question (source) |
2013-04-15 08:39:08 -0500 | commented answer | Best practices for setting up catkin_make install for python nodes Would that be considered "best practice" for ROS packages with python nodes? |
2013-04-15 07:31:50 -0500 | commented answer | Best practices for setting up catkin_make install for python nodes I made this change and it returns the error:error: package directory 'scripts/my_pkg_A' does not exist. Should there be a folder /my_pkg_A/scripts/my_pkg_A? Is that where I should place my_node.py? Would this result in being able to use rosrun my_pkg_A my_node.py after sourcing the install setup? |
2013-04-15 07:25:53 -0500 | received badge | ● Student (source) |
2013-04-15 07:19:57 -0500 | received badge | ● Editor (source) |
2013-04-15 07:19:06 -0500 | asked a question | Best practices for setting up catkin_make install for python nodes I am currently updating my code from rosbuild to catkin as I switch from Fuerte to Groovy. Current setup: Ubuntu 12.04, Groovy I am looking for best practices for packages with python nodes and libraries. This is my current file structure: Under /my_pkg_A: setup.py: CMakeLists.txt: When I run in /groovy-workspace, it fails during the make sequence with the error I have deduced that it is looking for the python scripts in the python workspace Would it be best practice to create this directory and move my_node.py, my_API.py, and __init__.py to this directory? Or should I change setup.py to look at /scripts and what would be the best way to do this? Or is there a different way everything should be structured to follow ROS best practices? Thanks for the help! |