BehaviorTree.CPP 라이브러리 튜토리얼
리드미에서 제공하는 튜토리얼을 따라 해보았다. (BehaviorTree.CPP 튜토리얼) 그 중 내가 생각했을 때, 꼭 필요하다고 생각되는 부분 위주로 정리했다. Blackboard port 추가 (generic type) 1. generic type struct 추가 (convertFromString함수는 사용자가 구현해야 함) struct Position2D { double x; double y; double th; }; // Template specialization to converts a string to Position2D. namespace BT { template inline Position2D convertFromString(StringView str) { // The next line ..
2022.06.25