moveit / moveit_ros

THIS REPO HAS MOVED TO https://github.com/ros-planning/moveit
70 stars 118 forks source link

Duplicate moveit_ros.py #638

Closed 130s closed 8 years ago

130s commented 8 years ago

Maybe a minor issue though.

Asked in https://github.com/ros-planning/moveit_ros/pull/584#issuecomment-173017776 originally. moveit_joy.py gets installed in 2 different locations after #584.

-rw-r--r-- 1 n130s n130s 23K Jun 19  2015 ./install/lib/moveit_ros_visualization/moveit_joy.py
-rw-rw-r-- 1 n130s n130s 23K Jun 19  2015 ./install/lib/python2.7/dist-packages/moveit_ros_visualization/moveit_joy.py

I may have found why #584 is needed; roslaunch YOURROBOT_moveit_config joystick_control.launch (in visualization/doc/joystick.rst) fails without #584.

But if this is correct, distutils-based installation by setup.py is not working. We don't want to clutter install space with duplicate files.

130s commented 8 years ago

I think ideally what we want is a python module that can also be called via rosrun. I asked how to do so by Catkin (maybe keep using distutils).

130s commented 8 years ago

A couple of PRs to address this issue exist.

I'm file for either way but leaning toward guaranteed backward compatibility #704.

davetcoleman commented 8 years ago

The ROS guidelines say "executable script names generally do not include a .py suffix" but I think we have a good exception to this general rule. If we can name them both moveit_joy.py as @v4hn recommended that would be best

v4hn commented 8 years ago

resolved in #704