Simulation 3D Scene Configuration Background all black.

1 Ansicht (letzte 30 Tage)
George
George am 8 Jul. 2023
Kommentiert: George am 10 Jul. 2023
I am using the Simulation 3D Scene Configuration block with the SImulation 3D Aircraft Block to display a model of Aircraft Dyanmics. I have the settings and parameters as shown in the images below, but whenever I run the simulation, the aircraft behaves as expected and can be seen clearly, however the background is completely black.
I was using this video tutorial to set the settings for the blocks and theirs worked fine: https://www.youtube.com/watch?v=vBVOeEt63kY&ab_channel=MATLAB

Akzeptierte Antwort

Jayant
Jayant am 8 Jul. 2023
Bearbeitet: Jayant am 8 Jul. 2023
As shown in the ''scene.jpg'' image, the sample time is the default value. Kindly change it to 1/60 as instructed in the video.
Hope that helps.
  1 Kommentar
George
George am 10 Jul. 2023
I had it as 0.01 since I was getting an error related to the sample time needing to be a multiple of the timestep of integration and I have been using a fixed time step integrator. However, I tried variable step and using 1/60 and still the same result.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by