ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

incorrect debian install package for pr2_object_manipulation stack??

asked 2012-11-13 00:25:28 -0600

roskidos gravatar image

updated 2014-01-28 17:14:15 -0600

ngrennan gravatar image

Hi,

I've installed pr2_object_manipulation with debian package installation

sudo apt-get install ros-fuerte-pr2-object-manipulation

and this also installed other dependencies e.g. tabletop_collision_map_processing, robot_self_filter_color, tabletop_object_detector, ....

However, the automatically installed dependencies are in old versions. I've checked tabletop_collision_map_processing package, the message type of service is

# a list of clusters and database models, directly as produced by the detector
# note that it is possible to not set the Table inside here (leave its
# extents set to zero), in which case it does not get added to the environment
tabletop_object_detector/TabletopDetectionResult detection_result

# whether the current collision models should be reset before adding new models
bool reset_collision_models

# whether the current list of models attached to the robot should be reset
bool reset_attached_models

# what tf frame the results should be returned in
# if empty, results will be in the same frame as the input 
string desired_frame

which belongs to fuerte_old version

the new one should be like following:

tabletop_object_detector/TabletopDetectionResult detection_result
bool reset_collision_models
bool reset_attached_models
bool reset_static_map
bool take_static_collision_map
string desired_frame
.....

this causes the demo/tutorial code for "write a simple pick and place application" fails to compile. Could someone update this debian package? or help me to update it so that the new tutorial code can be run??

Thank you!!

Edit 01: the tutorial code is here in which there are several unknown members used:

// defined in python - line 235 of file _TabletopCollisionMapProcessing.py -> fuerte also has this file
    processing_call.request.reset_static_map = true;
....
processing_call.request.take_static_collision_map = true;

.....
pickup_goal.desired_approach_distance = 0.1;
pickup_goal.min_approach_distance = 0.05;
edit retag flag offensive close merge delete

Comments

It makes it hard to answer your questions when you distribute all relevant information over several questions instead of editing your original question. Also, I cannot find the code you have used. In the tutorial, slots such as take_static_collision_map don't seem to be used.

Lorenz gravatar image Lorenz  ( 2012-11-13 01:46:50 -0600 )edit

Thank you for the answer! Ive compiled the tutorial code successfully. The code and installed dependencies are electric version. The mistake was I used the fuerte tutorial code which evokes unknown members. Coz' in my browser, I can still print to see the tut code of fuerte version

roskidos gravatar image roskidos  ( 2012-11-13 04:48:08 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-11-13 02:24:08 -0600

Lorenz gravatar image

I don't see a tutorial for fuerte or groovy, only for electric. And in the electric tutorial, there is no reference to take_static_collision_map if I can trust my browser's search functionality. Either try to use the electric code or comment out the offending lines.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-11-13 00:25:28 -0600

Seen: 154 times

Last updated: Nov 13 '12