Simulation 3D Vehicle Lights

11 次查看(过去 30 天)
Hello,
When using the Simulation 3D vehicle with Ground Following block in Simulink, the lights appear on when all options are set to off. With the below setup and all lights set to off (all zeros)...
the lights remain on.
How do I turn these lights off?
Thanks!

采纳的回答

Nishan Nekoo
Nishan Nekoo 2023-12-12
编辑:Nishan Nekoo 2023-12-14
Hi Sully,
The tail lights that you see here are synchronized with the vehicle headlights (I will refer to these as running lights).
Prior to R2023b, there was no way to turn off running lights with light controls enabled, meaning the vector elements of the light controls input did not affect the vehicle running lights. However, this issue was resolved in R2023b. Now, the running lights are automatically turned on when you enable low beam or high beam headlights, to mimic how these lights would function on actual vehicles.
Thanks,
Nishan
  2 个评论
Sully
Sully 2023-12-13
Hello Nishan,
Thanks for the info.
This is important to me since I am demonstrating AEB functionality that requires control of the brake lights and hazards (both indicator lights enabled). Looking at a side view of the ego, that is important to show relative stopping distance, you cannot see the brake lights. Although you can see the hazard lights, the nature of the test (ISO22733) means that these are on for a very short time and aren't very useful for showing the activation of the AEB feature.
I would have liked to have been able to control the daytime running lights to clearly show when the function is activated or not, since these are visable from the side (see photo).
I appreciate that on a typical road vehicle, the brake lights may not always be viewed from the side. I just find it a bit strange that these are off until one wishes to control the lights then all the other lights are controllable but the daytime running lights aren't.
Thanks for your help.
Sully
Nishan Nekoo
Nishan Nekoo 2023-12-14
Hi Sully,
Apologies for the confusion here, but I do believe that this issue has actually been resolved in the R2023b release already. Can I clarify which version of MATLAB you are using and whether updating to R2023b resolves the issue?
I will edit my initial response to indicate the above.
Nishan

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by