Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Adds obstacle as part of the navigation module.
uint16_t add_obstacle()Adds obstacle as part of the navigation module.
This overload takes no parameters.
Returns: uint16_t. Consult the linked header for its meaning.
#include "navigation.hpp"
epok::nav::World& object = /* obtain a valid instance */;
auto result = object.add_obstacle();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/navigation.hpp:52
cancelPerforms `cancel` as part of the navigation module.Methodedge_openPerforms `edge open` as part of the navigation module.MethodfloorBarycentric floor query in Q8; the closest reachable layer wins.MethodgetReturns get as part of the navigation module.MethodlocatePerforms `locate` as part of the navigation module.MethodoccupyPerforms `occupy` as part of the navigation module.MethodrebuildReplace the current topology (procedural levels/streaming).Methodremove_obstacleRemoves obstacle as part of the navigation module.MethodreplanPerforms `replan` as part of the navigation module.MethodrequestRequests request as part of the navigation module.MethodreservePerforms `reserve` as part of the navigation module.MethodresetResets reset as part of the navigation module.Method