#behavior-tree #forester #http-api #http-client #instance #api-access #ai

forester-http

the lib provides an access to api for the forester instance using http protocol

1 unstable release

0.1.0 Sep 4, 2023

#16 in #behavior-tree

27 downloads per month
Used in forester-rs

Custom license

38KB
158 lines

Logo

Forester - A fast orchestration engine, implementing behavior trees.

About

Forester represents a framework that provides the toolkit to perform the effective task orckestrations. The tasks can be performed synchronously or asynchronously, locally or remotely. Forester takes care of the correct performance and distribution of the tasks. The main concept of the framework is the flow based on the behavior trees it can be effectively used in the game, ai, robotic areas, or anywhere where the workflow engine can be applied.

Forester http client library

This library provides a simple http client for Forester to use with the Forester API. The main purpose is to implement remote actions on Forester.


lib.rs:

Forester HTTP

The library provides a contract to implement a remote action alongside with the
API to the Forester instance of http server. It is used to get access to the blackboard and to trace events.

The library composes three main parts:

  • ForesterRemoteAction - the contract for the remote action that is expected by the Forester instance
  • ForesterHttpApi - the api to Forester instance of http server
  • ForesterHttpClient - the client to the Forester instance of http server

Client uses api to get access to the blackboard and to trace events. Under the hood it uses reqwest(blocking) to send requests to the Forester instance. If the library is willing to use another client it can use only api.

Dependencies

~6–20MB
~295K SLoC