-
Notifications
You must be signed in to change notification settings - Fork 9
/
PlatooningInfo.msg
47 lines (36 loc) · 830 Bytes
/
PlatooningInfo.msg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# PlatooningInfo.msg
#
# The details of the current platoon information
#
# @author Shuwei Qiang
# @version 0.1
#
# Platoon state
uint8 state
uint8 DISABLED=0
uint8 SEARCHING=1
uint8 CONNECTING_TO_NEW_FOLLOWER=2
uint8 CONNECTING_TO_NEW_LEADER=3
uint8 LEADING=4
uint8 FOLLOWING=5
# Current platoon ID (GUID)
string platoon_id
# Platoon current size
uint8 size
# Platoon size upper limit
uint8 size_limit
# Leader vehicle static Id (license plate)
string leader_id
# Leader current downtrack distance
float32 leader_downtrack_distance
# Leader command speed
float32 leader_cmd_speed
# Host position in platoon
uint8 host_platoon_position
# Host adjusted command speed
float32 host_cmd_speed
# Desired gap with leader
float32 desired_gap
# Actual gap with leader
float32 actual_gap