MAVProxyUser / DUMLrub

Ruby port of PyDUML
40 stars 34 forks source link

FlightController.rb - current values same as default in output *.json #12

Open KyokushinPL opened 6 years ago

KyokushinPL commented 6 years ago

FlightController.rb - current values are same as default in output *.json file. script is reading correct current values, but in cache json a current value is same as default.

jan2642 commented 6 years ago

This was by design but might indeed be confusing since there's also a 'value' in the json file. The parameters are referenced by the FC with an index number but getting this list takes quite some time. That's why I cache it in a json file per FC version (similar to Assistant 2). That's currently the sole purpose of that json file.

I'm planning to add a backup/restore function which will store parameter names & corresponding values in a separate file but that's still work-in-progress.