Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch demo has some problems executing #50

Open
schmerl opened this issue Jul 16, 2020 · 2 comments
Open

Fetch demo has some problems executing #50

schmerl opened this issue Jul 16, 2020 · 2 comments

Comments

@schmerl
Copy link
Collaborator

schmerl commented Jul 16, 2020

The demo for fetch described on http://docs.fetchrobotics.com/gazebo.html#running-the-mobile-manipulation-demo has some problems in the built docker image.

Issue 1: The robot gets to the table and just rotates/oscillates

This (maybe) turns out to be a problem with the inflation radius in the planner. This can be fixed by changing it to 0.05 in /ros_ws/src/fetch_ros/fetch_navigation/config/costmap_common.yaml. Change it to:

robot_base_frame: base_link

transform_tolerance: 0.5

robot_radius: 0.30
inflater:
  robot_radius: 0.30
  inflation_radius: 0.05

# Obstacles are defined in robot folders

Issue 2: There is a python error when trying to grab the object on the table

After the robot raises its torso at the first table, it tries to pick up the object. But this python error occurs:

Traceback (most recent call last):
  File "/ros_ws/src/fetch_gazebo/fetch_gazebo_demo/scripts/demo.py", line 274, in <module>
    grasping_client.updateScene()
  File "/ros_ws/src/fetch_gazebo/fetch_gazebo_demo/scripts/demo.py", line 152, in updateScene
    wait = False)
TypeError: addSolidPrimitive() got an unexpected keyword argument 'wait'

This can be fixed by changing the calls in line 149-152 and 163-166 of /ros_ws/src/fetch_gazebo/fetch_gazebo_demo/scripts/demo.py to:

            self.scene.addSolidPrimitive(obj.name,
                                         obj.primitives[0],
                                         obj.primitive_poses[0])
#                                         wait = False)

Issue 3: The robot cannot go through the door to the second table

Not sure how to resolve this

It's possible that this is indicative of a larger error of some versioning mismatches on the grabbed sources.

@ChrisTimperley
Copy link
Collaborator

@afsafzal and @DebyKatz may also find this interesting and informative.

@afsafzal
Copy link
Member

afsafzal commented Nov 7, 2020

This seems to be the fix for the demo: ZebraDevs/fetch_gazebo#101
I tried it a couple times and it works, but apparently it's not super stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants