File tree Expand file tree Collapse file tree 5 files changed +18
-7
lines changed
costar_perception/sp_segmenter Expand file tree Collapse file tree 5 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -68,9 +68,11 @@ before_install:
6868 - sudo sh -c "echo \"deb http://packages.ros.org/ros/ubuntu $ROS_CI_DESKTOP main\" > /etc/apt/sources.list.d/ros-latest.list"
6969 - wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
7070 # Do not build/test costar-perception: it requires OpenCV-nonfree, which is not automatically installed.
71- - touch $CI_SOURCE_PATH/costar_perception/CATKIN_IGNORE
7271 - sudo apt-get update -qq
7372 - sudo apt-get install -y python-catkin-pkg python-rosdep python-wstool python-catkin-tools ros-$ROS_DISTRO-catkin
73+ - sudo add-apt-repository --yes ppa:xqms/opencv-nonfree
74+ - sudo apt-get update
75+ - sudo apt-get install libopencv-nonfree-dev
7476 # - sudo apt-get install -y ros-$ROS_DISTRO-fcl ros-$ROS_DISTRO-soem ros-$ROS_DISTRO-moveit-full liburdfdom-headers-dev ros-$ROS_DISTRO-control-msgs ros-$ROS_DISTRO-gazebo-ros-control ros-$ROS_DISTRO-python-orocos-kdl xdot ros-$ROS_DISTRO-ros-control ros-$ROS_DISTRO-universal-robot ros-$ROS_DISTRO-ur-msgs ros-$ROS_DISTRO-octomap-msgs ros-$ROS_DISTRO-object-recognition-msgs ros-$ROS_DISTRO-realtime-tools ros-$ROS_DISTRO-soem ros-$ROS_DISTRO-gazebo-plugins ros-$ROS_DISTRO-pcl-ros ros-$ROS_DISTRO-socketcan-interface ros-$ROS_DISTRO-rqt-gui ros-$ROS_DISTRO-rqt-gui-py ros-$ROS_DISTRO-position-controllers ros-$ROS_DISTRO-robot-state-publisher ros-$ROS_DISTRO-joint-state-controller ros-$ROS_DISTRO-robot-state-publisher ros-$ROS_DISTRO-joint-trajectory-controller ros-$ROS_DISTRO-openni2-launch
7577 - source /opt/ros/$ROS_DISTRO/setup.bash
7678 # Prepare rosdep to install dependencies.
@@ -85,6 +87,7 @@ install:
8587 - cd ~/costar_ws/src
8688 - git clone https://github.com/SalvoVirga/iiwa_stack.git
8789 - git clone https://github.com/ros-industrial/robotiq.git
90+ - git clone https://github.com/jhu-lcsr/ObjRecRANSAC.git
8891 - git clone https://github.com/jbohren/rqt_dot.git
8992 - git clone https://github.com/sniekum/ar_track_alvar.git
9093 - git clone https://github.com/sniekum/ar_track_alvar_msgs.git
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ OPTION(BUILD_USE_OBJRECRANSAC "Use ObjRecRANSAC" ON)
88OPTION (BUILD_PYTHON_BINDING "Build Python Binding" OFF )
99OPTION (BUILD_ENABLE_TRACKING "Build Enable Tracking Keypoints (EXPERIMENTAL)" OFF )
1010
11- OPTION (BUILD_SCENE_PARSING_SUPPORT "Build with Scene Parsing Hypothesis Message (EXPERIMENTAL)" ON )
11+ OPTION (BUILD_SCENE_PARSING_SUPPORT
12+ "Build with Scene Parsing Hypothesis Message (EXPERIMENTAL)" OFF )
1213
1314# Enable C++11
1415include (CheckCXXCompilerFlag)
Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ class RosSemanticSegmentation : public SemanticSegmentation
7070 void initializeSemanticSegmentationFromRosParam ();
7171 void populateTFMap (std::vector<objectTransformInformation> all_poses);
7272
73- #ifdef SCENE_PARSING
74- objrec_hypothesis_msgs::AllModelHypothesis generateAllModelHypothesis () const ;
7573 costar_objrec_msgs::DetectedObjectList last_object_list_;
7674 sensor_msgs::PointCloud2 last_segmented_cloud_;
75+ #ifdef SCENE_PARSING
76+ objrec_hypothesis_msgs::AllModelHypothesis generateAllModelHypothesis () const ;
7777 bool getLastHypotheses (std_srvs::Empty::Request& request, std_srvs::Empty::Response& response);
7878#endif
7979
Original file line number Diff line number Diff line change 4242 <buildtool_depend >catkin</buildtool_depend >
4343
4444 <build_depend >costar_objrec_msgs</build_depend >
45- <build_depend >objrecransac </build_depend >
45+ <build_depend >ObjRecRANSAC </build_depend >
4646 <build_depend >sensor_msgs</build_depend >
4747 <build_depend >geometry_msgs</build_depend >
4848 <build_depend >pcl_ros</build_depend >
Original file line number Diff line number Diff line change @@ -6,19 +6,26 @@ mkdir -p costar_ws/src
66cd ~ /costar_ws
77source /opt/ros/indigo/setup.bash
88sudo apt-get update -qq
9+
10+ # Set up your basic deps
911sudo apt-get install -y python-catkin-pkg python-rosdep python-wstool python-catkin-tools ros-$ROS_DISTRO -catkin
12+
13+ # Set up Opencv-nonfree
14+ sudo add-apt-repository --yes ppa:xqms/opencv-nonfree
15+ sudo apt-get update
16+ sudo apt-get install libopencv-nonfree-dev
17+
1018catkin init
1119cd ~ /costar_ws/src
1220git clone https://github.com/cpaxton/costar_stack.git
1321git clone https://github.com/SalvoVirga/iiwa_stack.git
1422git clone https://github.com/ros-industrial/robotiq.git
23+ git clone https://github.com/jhu-lcsr/ObjRecRANSAC.git
1524git clone https://github.com/jbohren/rqt_dot.git
1625git clone https://github.com/sniekum/ar_track_alvar.git
1726git clone https://github.com/sniekum/ar_track_alvar_msgs.git
1827git clone https://github.com/gt-ros-pkg/hrl-kdl.git
1928git clone https://github.com/xqms/ur_modern_driver.git --branch thread_safety
2029rosdep install -y --from-paths ./ --ignore-src --rosdistro $ROS_DISTRO
21- echo " Ignore COSTAR_PERCEPTION until you have installed its dependencies."
22- touch costar_stack/costar_perception/CATKIN_IGNORE
2330catkin build --continue
2431source ../devel/setup.bash
You can’t perform that action at this time.
0 commit comments