Code for our FYDP -only one IMU works right now -RTOS is working
Embed:
(wiki syntax)
Show/hide line numbers
bt_shell.h
00001 #ifndef BT_shell_H 00002 #define BT_shell_H 00003 00004 #include "robot.h" 00005 00006 void bt_shell_init(); 00007 void bt_shell_run(); 00008 00009 00010 struct interface{ 00011 bool list[16]; //list saves which pieces of data must be returned 00012 //0 - IMU_all 00013 //1 - IMU_acc 00014 //2 - IMU_gyr 00015 //3 - IMU_rotation 00016 //4 - IR_sensors 00017 //5 - Optical_flow_sensors 00018 //6 - Current_sensor 00019 //7 - Voltage_sensor 00020 int period; //this is the refresh rate at which the python wants data [ms] 00021 }; 00022 00023 #endif
Generated on Wed Jul 13 2022 10:32:23 by
1.7.2