12345678910111213 |
- #include "slave_shoes.h"
- void slave_shoes(int time_stamp, float gyr[3], float acc[3], float mag[3], uint16_t s_press,
- int32_t s_pos[3], int16_t s_att[3], int16_t s_zupt)
- {
- int32_t press = (((int32_t)s_press & 0x0000ffff)<<8);
- unsigned char left_tag = footPDR(time_stamp, gyr, acc, mag, press, s_pos, s_att, &s_zupt);
- send_data_to_host(s_press, s_pos, s_att , s_zupt);
-
- }
|