Loading...
Searching...
No Matches
loom_return.h
Go to the documentation of this file.
44 double lookahead_m; /**< Carrot step distance ahead of the vehicle along a unit vector, metres. */
68 double home_latitude, home_longitude; /**< Optional live-sortie destination, geographic degrees. */
76/** @brief Check that optional destination coordinates are either both present or both omitted. */
78/** @brief Convert a declared two-component vector to earth-frame east/north with attitude gating.
98/** @brief Generate a slightly noisy body-frame simulated homing vector seeded by neural feature output. */
128bool loom_return_update(struct loom_return_state *state, const struct loom_return_config *config,
138bool loom_return_simulate(struct loom_return_state *state, const struct loom_return_config *config,
loom_return_metric
Wire metric values distinguishing active vector steering from arrival.
Definition loom_return.h:34
loom_return_frame
Explicit model-vector coordinates; embeddings are never guessed to be bearings.
Definition loom_return.h:57
void loom_return_options_init(struct loom_return_options *options)
Initialize return limits with feature-only semantics by default.
Definition loom_return.c:40
bool loom_return_options_valid(const struct loom_return_options *options)
Check that optional destination coordinates are either both present or both omitted.
Definition loom_return.c:47
bool loom_return_vector(enum loom_return_frame frame, double first, double second, double yaw_deg, struct loom_return_point *direction)
Convert a level declared two-component vector to earth-frame east/north.
Definition loom_return.c:132
bool loom_return_vector_attitude(enum loom_return_frame frame, double first, double second, double roll_deg, double pitch_deg, double yaw_deg, double max_tilt_deg, struct loom_return_point *direction)
Convert a declared two-component vector to earth-frame east/north with attitude gating.
Definition loom_return.c:86
void loom_return_simulated_vector(uint64_t seed, struct loom_return_point position, double yaw_deg, float vector[3])
Generate a slightly noisy body-frame simulated homing vector seeded by neural feature output.
Definition loom_return.c:109
bool loom_return_update(struct loom_return_state *state, const struct loom_return_config *config, uint32_t sequence, struct loom_return_point candidate, struct loom_return_point *target)
Admit a fresh bounded target and limit its movement.
Definition loom_return.c:171
bool loom_return_config_valid(const struct loom_return_config *config)
Validate finite limits and their cross-field relationships.
Definition loom_return.c:26
bool loom_return_setting(void *context, const char *key, const char *value)
Parse one LOOM-owned settings field, rejecting duplicates and unknown keys.
Definition loom_return.c:55
bool loom_return_simulate(struct loom_return_state *state, const struct loom_return_config *config, uint32_t sequence, struct loom_return_point *target)
Produce small mean-reverting target fluctuations for explicit PC simulation.
Definition loom_return.c:191
void loom_return_defaults(struct loom_return_config *config)
Conservative return-policy defaults, not aircraft flight settings.
Definition loom_return.c:35
bool loom_return_direction(const struct loom_return_config *config, struct loom_return_point position, struct loom_return_point direction, double confidence, struct loom_return_point *target)
Convert an earth-frame direction into a HOME-bounded target.
Definition loom_return.c:138
Limits applied before a neural direction may become a target.
Definition loom_return.h:42
Module-owned inference settings, separate from universal runtime settings.
Definition loom_return.h:65
Local ground point in metres east/north of the reference origin.
Definition loom_return.h:31
Caller-owned sequence and smoothing state; first observation seeds target.
Definition loom_return.h:51