// Function to decode a LIST of FISTS and do things accordingly... :3 void decode_bro_fists (bro_fist_t * orders, bro_fist_t * response, engines_t * motors) { //manipulatePackets(&orders); setSpeedCounter = 0; for (int i = 0; i < BUFFER_SIZE; i++) { decode_bro_input (&orders[i], &response[i], motors); }; };
// Function to decode a LIST of FISTS and do things accordingly... :3 void decode_bro_fists (const bro_fist_t * orders, bro_fist_t * response, engines_t * motors) { int i; for (i = 0; i < BUFFER_SIZE; i ++) { decode_bro_input (&orders[i], &response[i], motors); systick_wait_ms(2); }; };
// Function to decode a LIST of FISTS and do things accordingly... :3 void decode_bro_fists (bro_fist_t * orders, engines_t * motors) { for (int i = 0; i < BUFFER_SIZE; i ++) { decode_bro_input (&orders[i], motors); }; };