Short question: Which arguments should I pass or properties in the property tree should I modify so that the helicopter simulation starts with the rotors spinning? How do I mimic the { and } commands via property tree?
Longer explanation:
I'm attempting to train a neural network to keep a helicopter hovering in a stable position. Currently I'm using the Raven R44 but may switch to the BO105 eventually. I'm able to read/write properties to/from the property tree over a UDP socket using the Generic Protocol and --generic argument.
I would like to be able to start the helicopter from a specific position with the rotors on. For example, start at an altitude of 100ft with rotors spinning.
I'm able to use the --altitude argument to start at a specific altitude. However, I have not been able to figure out which properties in the property tree correspond to turning the rotors on/off.
I've tried modifying mostly properties within the /controls/engines/engine/ tree. I've also looked up several other issues which were never completely answered: https://forum.flightgear.org/viewtopic.php?f=17&t=15238, https://forum.flightgear.org/viewtopic.php?f=25&t=28881
Maybe I'm going about it the wrong way? Should I instead be using a Nasal script that executes when the simulator launches?