#include <Waypoints.h>
Classes | |
struct | WP |
Public Member Functions | |
Waypoints () | |
WP | get_waypoint_with_index (uint8_t i) |
WP | get_current_waypoint (void) |
void | set_waypoint_with_index (Waypoints::WP wp, uint8_t i) |
void | set_start_byte (uint16_t start_byte) |
void | set_wp_size (uint8_t wp_size) |
void | next_index (void) |
uint8_t | get_index (void) |
void | set_index (uint8_t i) |
uint8_t | get_total (void) |
void | set_total (uint8_t total) |
Definition at line 8 of file Waypoints.h.
Waypoints::Waypoints | ( | ) |
Definition at line 14 of file Waypoints.cpp.
Waypoints::WP Waypoints::get_current_waypoint | ( | void | ) |
Definition at line 74 of file Waypoints.cpp.
uint8_t Waypoints::get_index | ( | void | ) |
Definition at line 80 of file Waypoints.cpp.
uint8_t Waypoints::get_total | ( | void | ) |
Definition at line 100 of file Waypoints.cpp.
Waypoints::WP Waypoints::get_waypoint_with_index | ( | uint8_t | i | ) |
Definition at line 45 of file Waypoints.cpp.
void Waypoints::next_index | ( | void | ) |
Definition at line 86 of file Waypoints.cpp.
void Waypoints::set_index | ( | uint8_t | i | ) |
Definition at line 94 of file Waypoints.cpp.
void Waypoints::set_start_byte | ( | uint16_t | start_byte | ) |
Definition at line 111 of file Waypoints.cpp.
void Waypoints::set_total | ( | uint8_t | total | ) |
Definition at line 105 of file Waypoints.cpp.
void Waypoints::set_waypoint_with_index | ( | Waypoints::WP | wp, | |
uint8_t | i | |||
) |
Definition at line 19 of file Waypoints.cpp.
void Waypoints::set_wp_size | ( | uint8_t | wp_size | ) |
Definition at line 117 of file Waypoints.cpp.