Simulation 3D Vehicle Lights

13 visualizzazioni (ultimi 30 giorni)
Sully
Sully il 11 Dic 2023
Modificato: Nishan Nekoo il 14 Dic 2023
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!

Risposta accettata

Nishan Nekoo
Nishan Nekoo il 12 Dic 2023
Modificato: Nishan Nekoo il 14 Dic 2023
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 Commenti
Sully
Sully il 13 Dic 2023
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 il 14 Dic 2023
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

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by