Effacer les filtres
Effacer les filtres

Simulation 3D Scene Configuration Background all black.

3 vues (au cours des 30 derniers jours)
George
George le 8 Juil 2023
Commenté : George le 10 Juil 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

Réponse acceptée

Jayant
Jayant le 8 Juil 2023
Modifié(e) : Jayant le 8 Juil 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 commentaire
George
George le 10 Juil 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by