hansonrobotics / hrtool

Hanson Robotics Software Management Tool
4 stars 3 forks source link

Blender rig not showing up #32

Open tesYolan opened 6 years ago

tesYolan commented 6 years ago

I have been stumped by the following issue when starting up the hr pipeline with hr run sophia6:

Read blend: /root/hansonrobotics/HEAD/src/sophia_blender_lfs/Sophia6.blend
Dependency cycle detected:
  control depends on deform through Locked Track.
  deform depends on control through Child Of.

Warning: 0 is outside of the expected range  : 1 - 1000
Warning: 0 is outside of the expected range  : 1 - 1000
Warning: 0 is outside of the expected range  : 1 - 1000
Warning: 0 is outside of the expected range  : 1 - 1000
Warning: 0 is outside of the expected range  : 1 - 1000
Warning: 0 is outside of the expected range  : 1 - 1000
Warning: 0 is outside of the expected range  : 1 - 1000
Warning: 0 is outside of the expected range  : 1 - 1000
Warning: 1.2346748113632202 is outside of the expected range  : 0 - 1
Warning: 0 is outside of the expected range  : 1 - 1000
Warning: 1.3054594993591309 is outside of the expected range  : 0 - 1
Warning: 0 is outside of the expected range  : 1 - 1000
Warning: 1.0816614627838135 is outside of the expected range  : 0 - 1

I have setted it up using the latest version of hrtool and still facing the same issue. Any ideas why it is happening?

FYI, I am running it in containerize(docker) env.

wenwei-dev commented 6 years ago

Docker is not supported yet.

linas commented 6 years ago

Wenwei, this should have nothing to do with docker, right?

tesYolan commented 6 years ago

The error seems to stems form the type of screen layout blender starts with. I noticed starting with Sophia7.blend didn't hang the application with the above output. Hence, I could start any of the blend files by adding the following line in autostart.py in blender_api or sophia_blender_lfs.

bpy.context.window.screen = bpy.data.screens['AnimationBasic']

I noticed also Animation (Mark) in the place of AnimationBasic doesn't also create the aforementioned error. And hence can run the model with in my containerize environment.

wenwei-dev commented 6 years ago

Have you tried on physical machine rather than docker? If I have time, I would try to make it run on docker but now it’s not a priority.

On Tue, 17 Apr 2018 at 18:07, Tesfa Yohannes notifications@github.com wrote:

The error seems to stem for the type of screen layout blender starts with. I noticed starting with Sophia7.blend didn't hang the application with the above output. Hence, I could start any of the blend files by adding the following line in autostart.py in blender_api or sophia_blender_lfs.

bpy.context.window.screen = bpy.data.screens['AnimationBasic']

I noticed also Animation (Mark) in the place of AnimationBasic doesn't also create the aforementioned error. And hence can run the model with in my containerize environment.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/hansonrobotics/hrtool/issues/32#issuecomment-381932778, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhJ97zD8SAnznlvlQgAna1ElrNLhJIMks5tpb7ogaJpZM4TWVu5 .

-- Sent from Gmail Mobile

tesYolan commented 6 years ago

I have it working within my docker env't. So no need. I would add it personally when I finalize the dependencies as I have outlined here