Zephyr API 3.6.99
Loading...
Searching...
No Matches
navigation.h File Reference
#include <zephyr/types.h>

Go to the source code of this file.

Data Structures

struct  navigation_data
 Navigation data structure. More...
 

Functions

int navigation_distance (uint64_t *distance, const struct navigation_data *p1, const struct navigation_data *p2)
 Calculate the distance between two navigation points along the surface of the sphere they are relative to.
 
int navigation_bearing (uint32_t *bearing, const struct navigation_data *from, const struct navigation_data *to)
 Calculate the bearing from one navigation point to another.