Expand description
§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 instanceForesterHttpApi
- the api to Forester instance of http serverForesterHttpClient
- 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.
Modules§
Structs§
- Remote
Action Request - The request that is sent from the Forester instance It has the current tick and the arguments in the action from tree
- RtArgument
- The argument that is sent from the Forester instance
Enums§
- Tick
Result - The result that the node returns It can be Success, Failure or Running The Failure contains the error message The Running means that the node is still running and it will be executed on the next tick
Traits§
- Forester
Remote Action - Describes the contract for the remote action that is expected by the Forester instance The remote action is a remote implementation of the action node in the tree.