2.0协议完善加简单交管配置
This commit is contained in:
@@ -21,6 +21,7 @@ namespace StandardScene.Fass2Simulator
|
||||
|
||||
private static int RunMotionSelfTest()
|
||||
{
|
||||
Fass2SimFileLogger.Configure(new Fass2SimConfig { EnableFileLog = false });
|
||||
var config = new Fass2SimConfig
|
||||
{
|
||||
InitialNode = 1,
|
||||
@@ -31,9 +32,9 @@ namespace StandardScene.Fass2Simulator
|
||||
var (vehicle, motion, _) = Fass2SimBootstrap.CreateTestStack(config);
|
||||
var nodes = new[]
|
||||
{
|
||||
new Fass2SimNodeMessage { Node = 1, StartStop = 1 },
|
||||
new Fass2SimNodeMessage { Node = 1, StartStop = 1, Distance = 500 },
|
||||
new Fass2SimNodeMessage { Node = 2, StartStop = 1, Distance = 500 },
|
||||
new Fass2SimNodeMessage { Node = 3, StartStop = 2, Distance = 500 }
|
||||
new Fass2SimNodeMessage { Node = 3, StartStop = 2 }
|
||||
};
|
||||
|
||||
vehicle.State = 1;
|
||||
@@ -57,6 +58,7 @@ namespace StandardScene.Fass2Simulator
|
||||
|
||||
private static int RunActionSelfTest()
|
||||
{
|
||||
Fass2SimFileLogger.Configure(new Fass2SimConfig { EnableFileLog = false });
|
||||
var config = new Fass2SimConfig
|
||||
{
|
||||
InitialNode = 3,
|
||||
|
||||
Reference in New Issue
Block a user