Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
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.