Fix use with "external" gzclient

Issue #76 new
Deanna Hood created an issue

Meshes of parts on the belt are too large (collisions are fine) if running gzclient outside of the ARIAC roslaunch invocation

Comments (5)

  1. Deanna Hood reporter

    another issue with external clients is that ur10 meshes are refered to by the location on the machine running the gzserver. If the gzclient machine doesn't install them in that location it can crash with something like:

    dhood@osrf-esteve:~/ariac_ws/ariac-docker/ariac-server [ariac-server (master *>)]$ GAZEBO_MASTER_URI=http://172.17.0.2:11345 gzclient
    terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
      what():  boost::filesystem::status: Permission denied: "/root/ariac_ws/install/share/osrf_gear/vendor/ur_description/meshes/ur10/visual/base.dae"
    Aborted (core dumped)
    

    That's particularly harsh because it's looking for meshes in /root. Otherwise you get:

    GAZEBO_MASTER_URI=http://172.18.0.22:11345 gzclient --verbose
    
    [Err] [Visual.cc:2763] No mesh specified
    [Err] [SystemPaths.cc:410] File or path does not exist["/opt/ros/kinetic/share/osrf_gear/vendor/ur_description/meshes/ur10/visual/upperarm.dae"]
    [Err] [Visual.cc:2403] No mesh found, setting mesh to a unit box
    
  2. Log in to comment