I'm using FG 2019.1.1 on windows 7 (64bit).
I modeled a rocket in ac3d that I want to use to visualize its motion computed with Simulink.
I managed to rotate fins when I include the offset in the corresponding xml, e.g.,
- Code: Select all
<animation>
<type>rotate</type>
<object-name>Fin1</object-name>
<property>/surface-positions/fin1-pos-norm</property>
<factor>0</factor>
<interpolation>
<entry>
<ind>-1</ind>
<dep>-90.0</dep>
</entry>
<entry>
<ind>1</ind>
<dep>90</dep>
</entry>
</interpolation>
<center>
<x-m>0</x-m>
<y-m>-0.5</y-m>
<z-m>11</z-m>
</center>
<axis>
<x>0</x>
<y>1</y>
<z>0</z>
</axis>
</animation>
and I can successfully start the simulation from terminal with
- Code: Select all
./fgfs --https=5400 --aircraft=myrocket
so when I explore the properties of the simulation for checking rotations of moving parts on
http://localhost:5400/#Simulator/Properties
I can see the fins, but I cannot modify their rotation angle by typing the value on the side of the property (see pic1.png). I can instead modify position and orientation (pic2.png).
https://drive.google.com/open?id=1_tFjPwJbqg9suXo8YintWEK_i8aGn9PM
https://drive.google.com/open?id=1zvMCe9VDPCDlLjCktlmJYe-JbDLDJ9Gx
When I repeat the procedure for other vehicles (e.g., Tecnam P92) I can see that I can modify the angles of ailerons, rudders, etc. but apparently there are no differences in the way of defining animations in the corresponding xml files. What am I missing?
thanks in advance!