strands-project / strands_tabletop_perception

Perception for tabletops
1 stars 1 forks source link

primitives_extraction #21

Closed cburbridge closed 10 years ago

cburbridge commented 10 years ago

What is primitives_extraction ? @nilsbore I can't compile the table detector:

- Generating .msg files for action perceive_tabletop_action/PerceiveTabletop /home/chris/catkin_ws/src/strands_tabletop_perception/perceive_tabletop_action/action/PerceiveTabletop.action
-- perceive_tabletop_action: 7 messages, 0 services
-- +++ processing catkin package: 'primitives_to_tables'
-- ==> add_subdirectory(strands_tabletop_perception/primitives_to_tables)
CMake Error at /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package primitive_extraction.

  Set primitive_extraction_DIR to the directory containing a CMake
  configuration file for primitive_extraction.  The file will have one of the
  following names:

    primitive_extractionConfig.cmake
    primitive_extraction-config.cmake

Call Stack (most recent call first):
  strands_tabletop_perception/primitives_to_tables/CMakeLists.txt:7 (find_package)

-- Eigen found (include: /usr/include/eigen3)
-- +++ processing catkin package: 'table_detection'
-- ==> add_subdirectory(strands_tabletop_perception/table_detection)
CMake Error at /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package primitive_extraction.

  Set primitive_extraction_DIR to the directory containing a CMake
  configuration file for primitive_extraction.  The file will have one of the
  following names:

    primitive_extractionConfig.cmake
    primitive_extraction-config.cmake

Call Stack (most recent call first):
  strands_tabletop_perception/table_detection/CMakeLists.txt:7 (find_package)

-- Eigen found (include: /usr/include/eigen3)
-- +++ processing catkin package: 'visualise_tables'
-- ==> add_subdirectory(strands_tabletop_perception/visualise_tables)
-- Configuring incomplete, errors occurred!
nilsbore commented 10 years ago

It's a package in strands_utils, so just do a git pull over there and it should work. You might have to get the latest data centre also.

cburbridge commented 10 years ago

Ok, got it. Now when I try and launch:

roslaunch table_detection detection.launch cloud:=/head_xtion/depth/points
core service [/rosout] found
process[extraction-1]: started with pid [7861]
process[primitives_to_markers-2]: started with pid [7903]
process[detection-3]: started with pid [7924]
process[tables_to_markers-4]: started with pid [7954]
Failed to find match for field 'rgb'.
process[primitives_to_tables-5]: started with pid [7978]
[ INFO] [1396903087.863773379]: Got back 4 messages
terminate called after throwing an instance of 'ros::serialization::StreamOverrunException'
  what():  Buffer Overrun
process[table_to_marker-6]: started with pid [7997]
[primitives_to_tables-5] process has died [pid 7978, exit code -6, cmd /home/chris/catkin_ws/devel/lib/primitives_to_tables/primitives_to_tables __name:=primitives_to_tables __log:=/home/chris/.ros/log/260ded30-be88-11e3-b416-843a4b7f1c04/primitives_to_tables-5.log].
log file: /home/chris/.ros/log/260ded30-be88-11e3-b416-843a4b7f1c04/primitives_to_tables-5*.log
Failed to find match for field 'rgb'.
^C[table_to_marker-6] killing on exit
[tables_to_markers-4] killing on exit
[detection-3] killing on exit
[primitives_to_markers-2] killing on exit
[extraction-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done
hawesie commented 10 years ago

I think you need to update ros_datacentre as this looks like the problem we fixed yesterday.

nilsbore commented 10 years ago

@cburbridge Did you get this sorted out? The error indeed looks like the one I had before @hawesie patched the datacentre. You should know that the parameters for the primitive extraction (and the assumptions in the table detection) are quite tuned to the local metric map point clouds.

cburbridge commented 10 years ago

I still didn't, but will have a look again..

cburbridge commented 10 years ago

Closing this as duplicated in #27 .