Now each flight mode has its own copy of virtual sticks. This is a wrong approach. You have to make virtual sticks a static field in flight mode class. Each flight mode will bring values from there and store values in there (that they need to use or change). Before running any fight mode, virtual pilot will store there received sticks values. Flight mode implementation will next decide, whether run its own code first, or its base flight mode.
Current implementation also made impossible to implement posHold flight mode, because stabilize always brought sticks values from Storage
Now each flight mode has its own copy of virtual sticks. This is a wrong approach. You have to make virtual sticks a static field in flight mode class. Each flight mode will bring values from there and store values in there (that they need to use or change). Before running any fight mode, virtual pilot will store there received sticks values. Flight mode implementation will next decide, whether run its own code first, or its base flight mode.
Current implementation also made impossible to implement posHold flight mode, because stabilize always brought sticks values from Storage