energy changed

This commit is contained in:
sun
2019-07-05 16:34:03 +08:00
parent da45e62806
commit ba85a1e27f
7 changed files with 105 additions and 69 deletions

View File

@@ -13,6 +13,10 @@
#define ENEMY_BLUE 0
#define ENEMY_RED 1
#define BIG_ENERGY_STATE 'b'
#define SMALL_ENERGY_STATE 's'
#define ARMOR_STATE 'a'
struct mcu_data{
float curr_yaw;
float curr_pitch;

View File

@@ -66,4 +66,3 @@ void lastVideo(std::string &video_name, const std::string &filename_prefix){
}
if(cnt > 1) std::string video_name = filename_prefix + std::to_string(cnt) + ".avi";
}