From e1cf6dd460ce8a5ea501bfe9c3a27de85db02147 Mon Sep 17 00:00:00 2001 From: Anton Tetov <anton@tetov.se> Date: Fri, 15 Oct 2021 17:02:26 +0200 Subject: [PATCH] fixed some packaging stuff and removed some venv stuff --- CMakeLists.txt | 18 ++++++++++++++---- README.md | 9 +-------- package.xml | 10 +++------- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f5e4d36..f64da4b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,20 @@ cmake_minimum_required(VERSION 3.0.2) project(ros_jr3_comedi) -find_package(catkin REQUIRED ) +find_package(catkin REQUIRED COMPONENTS + roscpp + rospy + std_msgs + geometry_msgs +) + +catkin_package(CATKIN_DEPENDS + roscpp + rospy + std_msgs + geometry_msgs +) -catkin_install_python( - PROGRAMS - nodes/publisher +catkin_install_python(PROGRAMS nodes/publisher DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} ) diff --git a/README.md b/README.md index 2ef21c1..a882db7 100644 --- a/README.md +++ b/README.md @@ -4,16 +4,10 @@ ```bash source /usr/lib64/ros/setup.bash -source ~/catkin_ws/devel_isolated/setup.bash mkdir -p ~/catkin_ws/src -cd ~/catkin_ws/ - -virtualenv venv -source venv/bin/activate -pip install pexpect >= 4.8.0 +cd ~/catkin_ws/src -cd src git clone https://gitlab.control.lth.se/tetov/ros_jr3_comedi.git cd .. @@ -25,7 +19,6 @@ catkin_make_isolated ```bash source /usr/lib64/ros/setup.bash source ~/catkin_ws/devel_isolated/setup.bash -source ~/catkin_ws/venv/bin/activate export ROS_MASTER_URI=http://130.235.83.121:11311 roslaunch ros_jr3_comedi publish.launch diff --git a/package.xml b/package.xml index edfc556..41559eb 100644 --- a/package.xml +++ b/package.xml @@ -11,20 +11,16 @@ <buildtool_depend>catkin</buildtool_depend> <build_depend>roscpp</build_depend> <build_depend>rospy</build_depend> - <build_depend>geometry_msg</build_depend> + <build_depend>geometry_msgs</build_depend> <build_depend>std_msgs</build_depend> <build_export_depend>roscpp</build_export_depend> <build_export_depend>rospy</build_export_depend> - <build_export_depend>geometry_msg</build_export_depend> + <build_export_depend>geometry_msgs</build_export_depend> <build_export_depend>std_msgs</build_export_depend> <exec_depend>roscpp</exec_depend> <exec_depend>rospy</exec_depend> - <exec_depend>geometry_msg</exec_depend> + <exec_depend>geometry_msgs</exec_depend> <exec_depend>std_msgs</exec_depend> - - <export> - <pip_requirements>requirements.txt</pip_requirements> - </export> </package> -- GitLab