feat: add AS status feedback for both HMI sizes with verified v2.7 release

This commit is contained in:
shenlefengnai-rgb
2026-10-07 16:32:42 +08:00
parent dba8aa5ea9
commit e6556fc218
245 changed files with 21470 additions and 159 deletions
+29
View File
@@ -102,3 +102,32 @@ if(ebs_state!=shown_ebs)
}
shown_ebs=ebs_state
}
if(as_state!=shown_as)
{
xstr 194,215,108,30,0,33840,0,1,1,1,"无人未知"
if(as_state==0)
{
xstr 194,215,108,30,0,65535,0,1,1,1,"AS OFF"
}
if(as_state==1)
{
xstr 194,215,108,30,0,65504,0,1,1,1,"AS Ready"
}
if(as_state==2)
{
xstr 194,215,108,30,0,65504,0,1,1,1,"AS Driving"
}
if(as_state==3)
{
xstr 194,215,108,30,0,31,0,1,1,1,"AS Finished"
}
if(as_state==4)
{
xstr 194,215,108,30,0,63488,0,1,1,1,"AS Emergency"
}
if(as_state==5)
{
xstr 194,215,108,30,0,2016,0,1,1,1,"有人驾驶"
}
shown_as=as_state
}