// Radio control interface. Runs a thread to receive data packets // and updates rf_heading and rf_speed if the packet is valid. // The variables are updated inside chSysLock(). #pragma once #include #include volatile extern unsigned rf_packets; void orientation_update(); void rf_get_speed(v2d *speed); void rf_start(); void rf_stop();