From e9de4179fa754c1ed1b4a9962ccb8f7339fea862 Mon Sep 17 00:00:00 2001 From: rav4kumar <36933347+rav4kumar@users.noreply.github.com> Date: Tue, 19 Dec 2023 10:50:47 -0700 Subject: [PATCH] readd vision turn controller --- custom.capnp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/custom.capnp b/custom.capnp index 59a489fc6..2c366d16b 100644 --- a/custom.capnp +++ b/custom.capnp @@ -34,7 +34,15 @@ struct LiveMapData @0x81c2f05a394cf4af { struct LongitudinalPlanExt @0xaedffd8f31e7b55d { dpE2EIsBlended @0 :Bool; de2eIsEnabled @1 :Bool; + visionTurnControllerState @3 :VisionTurnControllerState; + visionTurnSpeed @4 :Float32; + enum VisionTurnControllerState { + disabled @0; # No predicted substancial turn on vision range or feature disabled. + entering @1; # A subsantial turn is predicted ahead, adapting speed to turn confort levels. + turning @2; # Actively turning. Managing acceleration to provide a roll on turn feeling. + leaving @3; # Road ahead straightens. Start to allow positive acceleration. + } } struct LateralPlanExt @0xf35cc4560bbf6ec2 {