1// =============================================================================
2// PROJECT CHRONO - http://projectchrono.org
3//
4// Copyright (c) 2020 projectchrono.org
5// All rights reserved.
6//
7// Use of this source code is governed by a BSD-style license that can be found
8// in the LICENSE file at the top level of the distribution and at
9// http://projectchrono.org/license-chrono.txt.
10//
11// =============================================================================
12// Authors: 肖言 (Yan Xiao)
13// =============================================================================
14//
15// Schema file that defines MAP message
16//    - Approach means from one direction to another. For example one approach
17//      could be "all the lines from North turn to East"
18//    - reduced version of standard MAP message
19//
20// =============================================================================
21
22include "Utils.fbs";
23include "Approach.fbs";
24include "SPAT.fbs";
25
26namespace SynFlatBuffers.MAP;
27
28table State {
29  time:double;
30  intersections:[intersection];
31}
32
33table intersection {
34  approaches:[SynFlatBuffers.Approach.State];
35}
36
37root_type State;