Git Product home page Git Product logo

behavior3py's People

Contributors

renatopp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

behavior3py's Issues

what does the "Close node from last tick" means?

# Close node from last tick, if needed
last_open_nodes = blackboard.get('open_nodes', self.id)
curr_open_nodes = tick._open_nodes
start = 0
for node1, node2 in itertools.izip(last_open_nodes, curr_open_nodes):
start += 1
if node1 != node2:
break
# - close nodes
for i in xrange(len(last_open_nodes)-1, start-1, -1):
last_open_nodes[i]._close(tick);

Hi, I read the code here but this confuse me, when a node is not at running state, will close it. So "Close node from last tick" is for what?

Can't load tree from editor json

Passing trees made with the online editor containing decorators outputs this:
I'm using python 2.7

Traceback (most recent call last):  File "test.py", line 10, in <module>    tree.load(data_tree)
  File "/home/b3/core/behaviortree.py", line 35, in load
    node = cls()
TypeError: __init__() missing 1 required positional argument: 'child'

The tree in question is this simple one:

tree

It seems like the node's constructor is always being called without children even if it needs one.

b3 module missing

It seems that the b3.py module is missing:

python test_basenode.py 
Traceback (most recent call last):
  File "test_basenode.py", line 6, in <module>
    import b3
ImportError: No module named b3

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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.