GithubHelp home page GithubHelp logo

Comments (11)

linas avatar linas commented on May 31, 2024

Interesting -- it looks good, when running blender version 2.76 -- however, hrtool installs version 2.71 which looks really bad.

from head.

linas avatar linas commented on May 31, 2024

Using ppa:thomas-schiex/blender instead of ppa:irie/blender in hrtool installs a newer version of blender. However, the newer version has errors:

blender_api/rigControl/commands.py: line 154
SetGesture ... 
AttributeError: module 'bpy' has no attribute 'evaAnimationManager'.

This may be due to the fact that animations did not start. Clikcing on StartAnimation gives

blender_api/rigControl/commands.py: line 14
RuntimeError: Operator bpy.ops.wm.animation_playback.poll() failed, context is incorrect.

from head.

linas avatar linas commented on May 31, 2024

More errors, that might be causing this:

Traceback (most recent call last):
  File "/home/ubuntu/hansonrobotics/HEAD/src/blender_api/Sophia.blend/loader.py", l
ine 15, in <module>
    register()
  File "/home/ubuntu/hansonrobotics/HEAD/src/blender_api/Sophia.blend/loader.py", l
ine 13, in register
    rigControl.init()
  File "/home/ubuntu/hansonrobotics/HEAD/src/blender_api/rigControl/__init__.py", l
ine 47, in init
    animationManager.init()
  File "/home/ubuntu/hansonrobotics/HEAD/src/blender_api/rigControl/animationManage
r.py", line 602, in init
    bpy.evaAnimationManager = AnimationManager()
  File "/home/ubuntu/hansonrobotics/HEAD/src/blender_api/rigControl/animationManage
r.py", line 77, in __init__
    self.actuatorManager = ActuatorManager()                            [1459/1493]
  File "/home/ubuntu/hansonrobotics/HEAD/src/blender_api/rigControl/actuators.py", 
line 83, in __init__
    import artistic.actuators
  File "/home/ubuntu/hansonrobotics/HEAD/src/blender_api/artistic/actuators.py", li
ne 2, in <module>
    import numpy as np
  File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 153, in <module>
    from . import add_newdocs
  File "/usr/lib/python3/dist-packages/numpy/add_newdocs.py", line 13, in <module>
    from numpy.lib import add_newdoc
  File "/usr/lib/python3/dist-packages/numpy/lib/__init__.py", line 8, in <module>
    from .type_check import *
  File "/usr/lib/python3/dist-packages/numpy/lib/type_check.py", line 11, in <modul
e>
    import numpy.core.numeric as _nx
  File "/usr/lib/python3/dist-packages/numpy/core/__init__.py", line 6, in <module>
    from . import multiarray
ImportError: cannot import name 'multiarray'
Command Source 'ros' won't build
No Command Sources found

from head.

linas avatar linas commented on May 31, 2024

According to goolge and various mailing lists, numpy has not yet been ported to python 3.whatever. We probably should not be using numpy with blender, if we want this stuff to work.

from head.

linas avatar linas commented on May 31, 2024

Stubbing out the entire contents of "artistic", so that the numpy error is avoided, does get blender to power up, and gets her to do keepalive motions. However, animations still won't work, I still get:

Dependency cycle detected:
  deform depends on control through Child Of.
  control depends on deform through Locked Track.

Command Source 'ros' won't build
No Command Sources found
Traceback (most recent call last):
  File "/home/ubuntu/hansonrobotics/HEAD/src/blender_api/rigControl/blenderPlayback.py", line 85, in execute
    logger.info(eval(self.action))
  File "<string>", line 1, in <module>
  File "/home/ubuntu/hansonrobotics/HEAD/src/blender_api/rigControl/commands.py", line 14, in init
    bpy.ops.wm.animation_playback()
  File "/usr/share/blender/2.78/scripts/modules/bpy/ops.py", line 189, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Operator bpy.ops.wm.animation_playback.poll() failed, context is incorrect

location: <unknown location>:-1

location: <unknown location>:-1

from head.

demaris avatar demaris commented on May 31, 2024

I was about to try to use 1.76 in order to get radeon gpu acceleration. I
seem to have some memory that you have to start blender and put some
startup script in the text editor or some fiddly thing like that.
I once got a newer version to work, will check back through emails and
slack for any insight.

On Wed, Sep 7, 2016 at 5:03 PM, Linas Vepštas [email protected]
wrote:

Using ppa:thomas-schiex/blender instead of ppa:irie/blender in hrtool
installs a newer version of blender. However, the newer version has errors:

blender_api/rigControl/commands.py: line 154
SetGesture ...
AttributeError: module 'bpy' has no attribute 'evaAnimationManager'.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#204 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF3yl0nCvUVTveC4VaYvNqWQme-ordOuks5qnzS0gaJpZM4J2UjN
.

from head.

linas avatar linas commented on May 31, 2024

Ahh .. OK .. more debugging results: the error message

Command Source 'ros' won't build
No Command Sources found

really does mean that ROS is not attached to blender. Thus, when she comes up, she will just do breathing motions, just fine (after killing the numpy bug) . She will also smile, frown, etc. _But if you make her look left_ (or right, or up or down...) then her head motions will go completely wild. This happens on blender 2.78, and looks just like the bug in blender 2.71

So, this issue is unrelated to the blender version -- its instead due to some transform bug in the blender file itself.

I don't understand how anyone can get any work done. This is a show-stopper, dead-in-your-tracks issue. For me, at least, the whole rig is unusable. (My work-around is to use the old blender model, from before summer 2015, back when things still worked. That old model still does work... ignoring that some animation names were changed)

from head.

demaris avatar demaris commented on May 31, 2024

I'm not sure how you're controlling the head, but I think I see what you're
talking about, and I can get it from the blender menu controls but also
from the webui puppeteering head control. I think the latter has to be
going through ros and the ros command layer.
What it seems to me is different is that those commands used to move the
head and keep it there, but now something is resetting the head rapidly
back to some previous or new position roughly centered as soon as there's
no active event. If you stop a head direction gesture, it snaps back; if
you try to move the widget around it jerks to center and back to the
position. There is some way more animated keepalive than was there back in
say November 2015; maybe that's stealing the head direction. I don't know
who took over that animation when I shifted to puppeting and chat.

On Wed, Sep 7, 2016 at 6:46 PM, Linas Vepštas [email protected]
wrote:

Ahh .. OK .. more debugging results: the error message

Command Source 'ros' won't build
No Command Sources found

really does mean that ROS is not attached to blender. Thus, when she comes
up, she will just do breathing motions, just fine (after killing the numpy
bug) . She will also smile, frown, etc. But if you make her look left
(or right, or up or down...) then her head motions will go completely wild.
This happens on blender 2.78, and looks just like the bug in blender 2.71

So, this issue is unrelated to the blender version -- its instead due to
some transform bug in the blender file itself.

I don't understand how anyone can get any work done. This is a
show-stopper, dead-in-your-tracks issue. For me, at least, the whole rig is
unusable. (My work-around is to use the old blender model, from before
summer 2015, back when things still worked. That old model still does
work... ignoring that some animation names were changed)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#204 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF3yl0ku8Z8ne0zhAY2UyBC_CCj-twDsks5qn0zHgaJpZM4J2UjN
.

from head.

vytasrgl avatar vytasrgl commented on May 31, 2024

The only thing i can think of is that one very slow machines if FPS < 5 it might be that more animations are queued up than blender can actually play so multiple commands being executed at same time.
Otherwise it might be that
Are there any external nodes that publish to /blender_api/setFaceTarget and what distance (x coordinate it publishes).
@demaris if behavior tree running and head is being moved left or right manual the behavior tree will reset its position as keep alive part of the tree will move head randomly. To manual control the head you may need turn off behavior tree.

from head.

linas avatar linas commented on May 31, 2024

I have a brand-new graphics card now, will review.

from head.

sameerthahir avatar sameerthahir commented on May 31, 2024

Hello, I am stuck with the same error.

Command Source 'ros' won't build
No Command Sources found.

Is there any update on a fix

from head.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.