HackerTrans
トップ新着トレンドコメント過去質問紹介求人

facontidavide

no profile record

投稿

Beyond State Machines: BehaviorTree.CPP 4.0

behaviortree.dev
13 ポイント·投稿者 facontidavide·4 年前·3 コメント

コメント

facontidavide
·6 か月前·議論
Since I still see this on the front page, I am taking the liberty to plug my own funny experiment (still WIP).

By no mean it is as nice looking as your demo, but it is interesting to ME... C++, compiled to WASM, using WebGL. Works on Firefox too. M4 decimation.

https://one-million-points-wasm.netlify.app/
facontidavide
·6 か月前·議論
Soon there will be only 3 factors that we will care about: API (easy to use and integrate), behavior (does it do what I want it to do?) and testability (do I have sufficient guaranty that the code doesn't have errors).

The fact that the code was generated by a human or a machine is less and less important.
facontidavide
·6 か月前·議論
Cool to see that this project started 5 days ago! Unfortunately, I can not make it work on my system (Ubuntu, chrome, WebGPU enabled as described in the documentation). On the other hand, It works on my Android phone...

Funny enough, I am doing something very similar: a C++ portable (Windows, Linux MacOS) charting library, that also compile to WASM and runs in the browser...

I am still at day 2, so see you in 3 days, I guess!
facontidavide
·3 年前·議論
I have been doing robotics for 20 years, and the "trend" to adopt a distributed architecture was already popular 15 years ago. ROS just adopted and continued that trend. I think you are missing some important points:

- a large amount of data can be transferred asynchronously. Pub/Sub is a great pattern to achieve that; the cases when you need a synchronous interface are the minority.

- a robotic software has MANY components, you need an approach that incentivize decoupling and lousily-coupled interfaces.

- this lousily-coupled architecture has been a catalyst for innovation and cooperation, because it makes it easier for people to share their code as "building blocks" of a larger system.

Is there a considerable overhead? Sure! But it is much more complicated to write thread-safe code in a huge, monolithic application.
facontidavide
·4 年前·議論
Main author here of the library: I just released the 4th major version of BehaviorTree.CPP.

https://github.com/BehaviorTree/BehaviorTree.CPP

This library is increasingly popular in robotics and automation, and I am very excited about the new features being introduced.
facontidavide
·4 年前·議論
Video link: https://www.youtube.com/watch?v=zULU6Hhp42w
facontidavide
·4 年前·議論
"There are not multiple queues with work-stealing which is I think a minimum for a production level version of something like this."

100% agree. I also agree that would be a minimum requirement to call it "high-performance".