ros-industrial-attic / robotiq

Robotiq packages (http://wiki.ros.org/robotiq)
BSD 2-Clause "Simplified" License
241 stars 382 forks source link

Assimp reports no scene in robotiq_c2_model_visualization #49

Open davetcoleman opened 8 years ago

davetcoleman commented 8 years ago

When using Rviz, the meshes in robotiq_c2_model_visualization seem to be improperly exported from SolidWorkds/MeshLab or wherever they came from:

ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_adapter_plate.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/visual/robotiq_85_gripper_adapter_plate.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_2_L.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_3_L.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_0_L.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_1_L.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_2_R.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_3_R.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_0_R.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_1_R.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_adapter_plate.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/visual/robotiq_85_gripper_adapter_plate.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_2_L.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_3_L.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_0_L.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_1_L.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_2_R.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_3_R.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_0_R.dae
ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_1_R.dae

I believe @mcevoyandy knows the easy fix for this

shaun-edwards commented 8 years ago

This sometimes happens when the file path is too long. You could try moving your workspace. On Tue, Feb 9, 2016 at 2:36 PM Dave Coleman notifications@github.com wrote:

When using Rviz, the meshes in robotiq_c2_model_visualization seem to be improperly exported from SolidWorkds/MeshLab or wherever they came from:

ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_adapter_plate.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/visual/robotiq_85_gripper_adapter_plate.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_2_L.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_3_L.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_0_L.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_1_L.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_2_R.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_3_R.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_0_R.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_1_R.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_adapter_plate.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/visual/robotiq_85_gripper_adapter_plate.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_2_L.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_3_L.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_0_L.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_1_L.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_2_R.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_3_R.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_0_R.dae ros.rosconsole_bridge.console_bridge: Assimp reports no scene in package://robotiq_c2_model_visualization/meshes/robotiq_c2/collision/robotiq_85_gripper_joint_1_R.dae

I believe @mcevoyandy https://github.com/mcevoyandy knows the easy fix for this

— Reply to this email directly or view it on GitHub https://github.com/ros-industrial/robotiq/issues/49.

davetcoleman commented 8 years ago

Indeed, I renamed the package from robotiq_c2_model_visualization to robotiq_c2 and the problem went away. Note I did not change any filenames or folder names. I think I have a better fix than changing my root file path...