Epok Engine

EPOK RUNTIME

epok::advance_rail_aim

Function · 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.

Function

Separate from transport and object storage: both PSX and native runners can apply the same controller after publishing a ready rail pose.

Belongs to
epok
Header
rail_camera_aim.hpp
Overloads
1

Declaration

Declaration
inline void advance_rail_aim(const RailAimData& data,RailAimState& state,uint32_t elapsed, const int32_t* camera,const int32_t* target,int32_t* rotation, uint16_t current,uint16_t next,uint32_t fraction,bool cut)

Separate from transport and object storage: both PSX and native runners can apply the same controller after publishing a ready rail pose.

ParameterTypeMeaning
dataconst RailAimData &Not documented; consult the linked header.
stateRailAimState &Not documented; consult the linked header.
elapseduint32_tNot documented; consult the linked header.
cameraconst int32_t *Not documented; consult the linked header.
targetconst int32_t *Not documented; consult the linked header.
rotationint32_t *Not documented; consult the linked header.
currentuint16_tNot documented; consult the linked header.
nextuint16_tNot documented; consult the linked header.
fractionuint32_tNot documented; consult the linked header.
cutboolNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "rail_camera_aim.hpp"

// Assume these named values have been initialized with valid data:
// const RailAimData & data
// RailAimState & state
// uint32_t elapsed
// const int32_t * camera
// const int32_t * target
// int32_t * rotation
// uint16_t current
// uint16_t next
// uint32_t fraction
// bool cut

epok::advance_rail_aim(data, state, elapsed, camera, target, rotation, current, next, fraction, cut);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/rail_camera_aim.hpp:35

Related members