Skip to content

Commit 7deca43

Browse files
authored
Merge pull request #249 from chen-gr/new_referee
Update new referee protocol unpack code
2 parents 2f28c0b + 5ebc825 commit 7deca43

File tree

15 files changed

+146
-126
lines changed

15 files changed

+146
-126
lines changed

rm_msgs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ add_message_files(
6868
DartStatus.msg
6969
IcraBuffDebuffZoneStatus.msg
7070
SupplyProjectileAction.msg
71-
DartRemainingTime.msg
71+
DartInfo.msg
7272
RobotHurt.msg
7373
SentryAttackingTarget.msg
7474
ShootData.msg

rm_msgs/msg/referee/Buff.msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ uint8 cooling_buff
33
uint8 defence_buff
44
uint8 vulnerability_buff
55
uint16 attack_buff
6+
uint8 remaining_energy

rm_msgs/msg/referee/DartInfo.msg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
uint8 dart_remaining_time
2+
uint8 dart_last_aim_state
3+
uint8 enemy_total_hit_received
4+
uint8 dart_current_target
5+
6+
time stamp

rm_msgs/msg/referee/DartRemainingTime.msg

Lines changed: 0 additions & 4 deletions
This file was deleted.

rm_msgs/msg/referee/EventData.msg

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
bool forward_supply_station_state
2-
bool inside_supply_station_state
1+
bool overlapping_supply_station_state
2+
bool nan_overlapping_supply_station_state
33
bool supplier_zone_state
4-
bool power_rune_activation_point_state
54
bool small_power_rune_state
65
bool large_power_rune_state
7-
uint8 ring_elevated_ground_state
8-
uint8 r3_state
9-
uint8 r4_state
10-
uint8 base_shield_value
6+
uint8 central_elevated_ground_state
7+
uint8 trapezoidal_elevated_ground_state
118
uint16 be_hit_time
129
uint8 be_hit_target
1310
uint8 central_point_state

rm_msgs/msg/referee/GameRobotHp.msg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@ uint16 red_1_robot_hp
22
uint16 red_2_robot_hp
33
uint16 red_3_robot_hp
44
uint16 red_4_robot_hp
5-
uint16 red_5_robot_hp
65
uint16 red_7_robot_hp
76
uint16 red_outpost_hp
87
uint16 red_base_hp
98
uint16 blue_1_robot_hp
109
uint16 blue_2_robot_hp
1110
uint16 blue_3_robot_hp
1211
uint16 blue_4_robot_hp
13-
uint16 blue_5_robot_hp
1412
uint16 blue_7_robot_hp
1513
uint16 blue_outpost_hp
1614
uint16 blue_base_hp

rm_msgs/msg/referee/PowerHeatData.msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
float32 chassis_volt
2-
float32 chassis_current
3-
float32 chassis_power
41
uint16 chassis_power_buffer
52
uint16 shooter_id_1_17_mm_cooling_heat
63
uint16 shooter_id_2_17_mm_cooling_heat
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
uint8 mark_hero_progress
2-
uint8 mark_engineer_progress
3-
uint8 mark_standard_3_progress
4-
uint8 mark_standard_4_progress
5-
uint8 mark_standard_5_progress
6-
uint8 mark_sentry_progress
1+
bool mark_hero_progress
2+
bool mark_engineer_progress
3+
bool mark_standard_3_progress
4+
bool mark_standard_4_progress
5+
bool mark_sentry_progress
76

87
time stamp

rm_msgs/msg/referee/RfidStatus.msg

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
bool base_buff_point_state
2-
bool own_ring_elevated_ground_state
3-
bool enemy_ring_elevated_ground_state
4-
bool own_r3_state
5-
bool enemy_r3_state
6-
bool own_r4_state
7-
bool enemy_r4_state
8-
bool power_rune_activation_point_state
9-
bool forward_own_launch_ramp_buff_point_state
10-
bool behind_own_launch_ramp_buff_point_state
11-
bool forward_enemy_launch_ramp_buff_point_state
12-
bool behind_enemy_launch_ramp_buff_point_state
2+
bool own_central_elevated_ground_state
3+
bool enemy_central_elevated_ground_state
4+
bool own_trapezoidal_elevated_ground_state
5+
bool enemy_trapezoidal_elevated_ground_state
6+
bool forward_own_terrain_span_buff_point_state
7+
bool behind_own_terrain_span_buff_point_state
8+
bool forward_enemy_terrain_span_buff_point_state
9+
bool behind_enemy_terrain_span_buff_point_state
10+
bool below_central_own_terrain_span_buff_point_state
11+
bool upper_central_own_terrain_span_buff_point_state
12+
bool below_central_enemy_terrain_span_buff_point_state
13+
bool upper_central_enemy_terrain_span_buff_point_state
14+
bool below_road_own_terrain_span_buff_point_state
15+
bool upper_road_own_terrain_span_buff_point_state
16+
bool below_road_enemy_terrain_span_buff_point_state
17+
bool upper_road_enemy_terrain_span_buff_point_state
18+
bool own_fort_buff_point
1319
bool own_outpost_buff_point
14-
bool own_side_restoration_zone
15-
bool own_sentry_patrol_zones
16-
bool enemy_sentry_patrol_zones
20+
bool nan_overlapping_supplier_zone
21+
bool overlapping_supplier_zone
1722
bool own_large_resource_island_point
1823
bool enemy_large_resource_island_point
1924
bool own_exchange_zone
2025
bool central_buff_point
21-
uint32 reverse
2226

2327
time stamp

rm_msgs/msg/referee/RobotsPositionData.msg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@ float32 standard_3_x
66
float32 standard_3_y
77
float32 standard_4_x
88
float32 standard_4_y
9-
float32 standard_5_x
10-
float32 standard_5_y
119

1210
time stamp

0 commit comments

Comments
 (0)