StoRC
Autonomous Payload Delivery System
|
Commands for reading and updating RC values. More...
Go to the source code of this file.
Functions | |
void | read_RC (void) |
void | send_RC (void) |
boolean | check_drop (void) |
void | drop_payload (void) |
void | reset_drop (void) |
int | rc_filter (int rc, int rc_old) |
Commands for reading and updating RC values.
Definition in file rc.pde.
boolean check_drop | ( | void | ) |
void drop_payload | ( | void | ) |
int rc_filter | ( | int | rc, |
int | rc_old | ||
) |
Filter RC commands when they are read. This function limits the difference between the current and previous reading to prevent wild readings from being used.
rc | the current RC value as read from the board |
rc_old | the previous RC value |
void read_RC | ( | void | ) |
void reset_drop | ( | void | ) |