Giter Site home page Giter Site logo

Comments (4)

mikeferguson avatar mikeferguson commented on June 2, 2024

rosrun won't look in dist-packages, thats for things you want to find through the python path -- it looks in /opt/ros//lib/<pkg_name> -- so the location you mention is the correct one -- what is the error that you get when trying to rosrun -- and what does your ros path look like ("echo $ROS_PACKAGE_PATH")

from moveit_commander.

diecastzinc avatar diecastzinc commented on June 2, 2024

Hrm. My ROS_PACKAGE_PATH is /home/dcz/catkin_ws/src:/opt/ros/hydro/share:/opt/ros/hydro/stacks

The error is: [rosrun] Couldn't find executable named moveit_commander_cmdline.py below /opt/ros/hydro/share/moveit_commander

Is it just a matter of adding /opt/ros/hydro/lib to ROS_PACKAGE_PATH? If so, I'm pretty sure that's not part of the installation instructions, should it be?

from moveit_commander.

mikeferguson avatar mikeferguson commented on June 2, 2024

Ok, so lib won't be in the path -- but the fact that share is in the path tells me that your paths are probably set up properly. What is the output of "catkin_find moveit_commander" (which is what happens under the hood, on my system it finds both lib and share folders)? For that matter, what version is catkin?

from moveit_commander.

diecastzinc avatar diecastzinc commented on June 2, 2024

Agh! Problem solved with catkin_find:

/home/dcz/catkin_ws/devel/share/moveit_commander
/opt/ros/hydro/lib/moveit_commander
/opt/ros/hydro/share/moveit_commander

I d/led from source a while back, guess it was looking for moveit_commander_cmdline.py in ~/catkin_ws/src/moveit_commander but when I deleted the folder from src, it kept leftovers in devel. It'd be nice if catkin cleaned up after itself... :)

Thanks so much for your help.

from moveit_commander.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.