dragonpilot 2023-03-30T08:35:14 for EON/C2

version: dragonpilot v0.9.2 beta for EON/C2
date: 2023-03-30T08:35:14
dp-dev(priv2) master commit: 42cfd61d1e0f0a69237e69d75c5b5f69e417a8c9
This commit is contained in:
Dragonpilot Team
2023-03-30 08:32:39 +00:00
parent c0ac87c36c
commit b0e747ea3b
33 changed files with 29 additions and 4 deletions
+2
View File
@@ -2,6 +2,8 @@ dragonpilot [Latest] - EON/C2 Release
========================
* Synced with openpilot master 2023.03.26 commits.
* DP Highlight
* NEW: Manual Lane Change.
* NEW: Road Edge detection when Lane Change.
* NEW: Rainbow mode. (fancy lol)
* NEW: Local Trip counter.
* NEW: Alternative Lateral Controller
+1
View File
@@ -120,6 +120,7 @@ struct CarEvent @0x9b1657f34caf3ad3 {
speedLimitValueChange @117;
leadMovingAlertSilent @118;
leadMovingAlert @119;
manualSteeringRequiredBlinkersOn @120;
radarCanErrorDEPRECATED @15;
communityFeatureDisallowedDEPRECATED @62;
+1
View File
@@ -54,4 +54,5 @@ struct DragonConf {
dpE2EConditionalAdaptAp @46 :Bool;
dpE2EConditionalVoacc @47 :Bool;
dpLongLeadMovingAlert @48 :Int8;
dpLateralLcManual @49 :Bool;
}
Binary file not shown.
Binary file not shown.
+1
View File
@@ -201,6 +201,7 @@ confs = [
{'name': 'local_trip_count_total', 'default': 0.0, 'type': 'Float32', 'conf_type': ['param']},
{'name': 'local_trip_meter_total', 'default': 0.0, 'type': 'Float32', 'conf_type': ['param']},
{'name': 'local_trip_min_total', 'default': 0.0, 'type': 'Float32', 'conf_type': ['param']},
{'name': 'dp_lateral_lc_manual', 'default': False, 'type': 'Bool', 'conf_type': ['param', 'struct']},
]
def get_definition(name):
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
#define COMMA_VERSION "2023.03.29"
#define COMMA_VERSION "2023.03.30"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+12 -1
View File
@@ -698,7 +698,18 @@ class Controls:
if CS.leftBlinker or CS.rightBlinker:
self.last_blinker_frame = self.sm.frame
# dp - manual lane change
if self.sm['dragonConf'].dpLateralLcManual:
speed = CS.vEgo * CV.MS_TO_MPH
if self.sm['dragonConf'].dpLateralMode == 1 and speed >= self.sm['dragonConf'].dpLcMinMph:
pass
# we use "or" here in case dpLcAutoMinMph is smaller than dpLcMinMph
elif self.sm['dragonConf'].dpLateralMode == 2 and (speed >= self.sm['dragonConf'].dpLcMinMph or speed >= self.sm['dragonConf'].dpLcAutoMinMph):
pass
else:
if CC.latActive:
self.events.add(EventName.manualSteeringRequiredBlinkersOn)
CC.latActive = False
# State specific actions
if not CC.latActive:
+9
View File
@@ -980,4 +980,13 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = {
Priority.MID, VisualAlert.none,
AudibleAlert.disengage, .2),
},
# dp - use for manual lane change
EventName.manualSteeringRequiredBlinkersOn: {
ET.PERMANENT: Alert(
_("STEERING REQUIRED: Blinkers ON"),
"",
AlertStatus.normal, AlertSize.small,
Priority.LOW, VisualAlert.none, AudibleAlert.none, .0, alert_rate=0.25),
},
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -567,7 +567,7 @@ Reboot required.</source>
</message>
<message>
<source>Enable this if you wish to use following dist. mode in DE2E.</source>
<translation></translation>
<translation> DE2E </translation>
</message>
<message>
<source>DE2E Adapt Accel Mode</source>
@@ -575,7 +575,7 @@ Reboot required.</source>
</message>
<message>
<source>Enable this if you wish to use accel mode in DE2E.</source>
<translation></translation>
<translation> DE2E </translation>
</message>
<message>
<source>Enable this if your vehicles is in VOACC (e.g. Honda Bosch / VAG).</source>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.