Skip to content

Commit

Permalink
renaming and organization of the python scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
weblucas committed Aug 3, 2018
1 parent 50c8504 commit 6f3bcc1
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ cs_add_executable(ros_backend_node src/ros_backend_node.cc include/visensor_simu
cs_add_library(poltergeist_gimbal_plugin src/gazebo_poltergeist_gimbal_plugin.cpp)
target_link_libraries(poltergeist_gimbal_plugin ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES})

catkin_install_python(PROGRAMS scripts/visensor_sim_bagcreator.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})

cs_install()

cs_export()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD

from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup

# fetch values from package.xml
setup_args = generate_distutils_setup(
packages=['visensor_simulator'],
package_dir={'':'scripts'},
scripts=['scripts/visensor_sim_bagcreater']
)

setup(**setup_args)

0 comments on commit 6f3bcc1

Please sign in to comment.