Torsten wrote in Wed Jul 19, 2017 7:07 pm:Hi,
is Marius_A still around here?
If so: If you don't mind, I'd like to add your FGCamera as an addon to our FGAddon repository and make the required changes to make it compatible with the --addon= command line feature.
Ok, i've created working implementation of the latest code of FGCamera as addon. Everything is on the repository:
https://github.com/slawekmikula/flightg ... n-fgcamera- base code was code marked as 201706 from Marius
- i've refactored the code to run as an addon
- added TODO with information about my next steps (mostly refactoring as I do not know every aspect of the addon)
- fixed/implemented overview mini-panels with configuration
- changed vfr panel selection from editbox to combobox
During this i've found one issue with flightgear addon registration. I'll post it on devel list and cross-link with addon thread here.
I'll be most grateful if Marius could take a look at the code if the implementation/changes are OK. Everything is in commits from base source code. Mostly i've added code to register cameras as "slots" in fgcamera.nas (marked as FIXME).
For everyone interested take a look at the implementation.
Simple running:
- get the addon
- copy from contrib/mice.xml to fgdata/mice.xml (overwrite - make backup first !)
Have fun !
- start flightgear with commandline (!) parameter e.g. --addon="<path to fgcamera addon>"