Skip to content

Commit

Permalink
[jsk_panda_teleop] Fix catkin_install_python usage
Browse files Browse the repository at this point in the history
  • Loading branch information
pazeshun committed Dec 12, 2024
1 parent 25dd087 commit 03730a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
6 changes: 1 addition & 5 deletions jsk_panda_robot/jsk_panda_teleop/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ find_package(catkin REQUIRED
message_generation
)

if(NOT $ENV{ROS_DISTRO} STREQUAL "indigo") # on noetic it needs catkin_install_python to support Python3 and it does not work on indigo for some reason...
catkin_python_setup()
endif()

add_service_files(
FILES
ControlBilateral.srv
Expand All @@ -23,7 +19,7 @@ install(DIRECTORY config launch script
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
)
if(NOT $ENV{ROS_DISTRO} STREQUAL "indigo") # on noetic it needs catkin_install_python to support Python3 and it does not work on indigo for some reason...
if($ENV{ROS_DISTRO} STREQUAL "indigo") # on noetic it needs catkin_install_python to support Python3 and it does not work on indigo for some reason...
install(DIRECTORY python
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
Expand Down
8 changes: 0 additions & 8 deletions jsk_panda_robot/jsk_panda_teleop/setup.py

This file was deleted.

0 comments on commit 03730a0

Please sign in to comment.