Simulation 3D Scene Configuration Background all black.

1 回表示 (過去 30 日間)
George
George 2023 年 7 月 8 日
コメント済み: George 2023 年 7 月 10 日
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

採用された回答

Jayant
Jayant 2023 年 7 月 8 日
編集済み: Jayant 2023 年 7 月 8 日
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 件のコメント
George
George 2023 年 7 月 10 日
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.

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by