2.0协议完善加简单交管配置

This commit is contained in:
ykkokluo
2026-08-14 09:49:23 +08:00
parent a28bc68e23
commit 1e780c2b65
51 changed files with 4013 additions and 393 deletions
@@ -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,