Ariane 5 simulation


#1

Hi, I’m trying to simulate launching an Ariane 5 rocket:

I need help to:

  • Precisely control time between each elementary movement (dz), for example 100 ms.
  • Manage the display of texte and data with line breaks.
  • Use the “round …” block in the “set text …” block.
  • Make the camera looks towards the rocket permanently.
  • Attach a second camera to the rocket (which is an object in STL).
  • Choose any object for the “create item” block, then name it, choose its size and color, … (to generate the output smoke of the engines).
  • Turn at an angle less than 1 °.

Thanks for your help.


#2

Nobody can help me ?

I would also need to be able to save the data z(t) and v(t), in a csv file for example, to be able to draw the corresponding curves.

Thanks for your help


#3

HI @Daniel_Pers,

I went through your questions, remixed and updated your space with corresponding changes:

  • Precisely control time between each elementary movement (dz), for example 100 ms.
    I have added the block "Wait
    "
  • Manage the display of texte and data with line breaks.
    You can do it if you split your text block into different parts.
  • Use the “round …” block in the “set text …” block.
    You can do it if you create new variable with rounded value and use it in “set text” block
  • Make the camera looks towards the rocket permanently.
    Create a forever block and insert into it "Look At " block for the camera. I have placed a Look at point at the rocket to control the view.
  • Attach a second camera to the rocket (which is an object in STL).
    You can add new camera objects to the scene and switch to them using "Switch to camera " block
  • Choose any object for the “create item” block, then name it, choose its size and color, … (to generate the output smoke of the engines).
    I created “GenerateSmoke” function that adds a smoke to the bottom of the rocket. You can change the size or color inside of it.
  • Turn at an angle less than 1 °.
    The Turn block accepts 1 as minimal value
  • I would also need to be able to save the data z(t) and v(t), in a csv file for example, to be able to draw the corresponding curves.
    You can use the "Debug.log " block to write the values to console. Then you can copy them to Excel and format there

Here is the modified space with all that changes


#4

Hi @Nikolay, Thank you very much, I couldn’t do it without your help. I will study your solutions this afternoon. Some first questions.

  • Why don’t I see Newtext2 and NewText3 on stage (in construction mode)?
  • How to copy console data into Excell?
  • How to maintain the visibility of the rocket at high altitude?

#5

@Daniel_Pers,

  • Why don’t I see Newtext2 and NewText3 on stage (in construction mode)?
    I removed the text from them. You can try to click on the space below the Newtext or select them from the library.
  • How to copy console data into Excell?
    You have to stop Debug.log calls. The easiest way is to put Debug.log calls into the If time block.
    Then you can select the text from the console
  • How to maintain the visibility of the rocket at high altitude?
    You can switch to another camera and attach that camera to the rocket. If you place that camera on a distance from the rocket, you have very good view on flying rocket