Satellite Object Info from script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stellarium |
Fix Released
|
Wishlist
|
gzotti |
Bug Description
Suggestion from SF forum https:/
.. if I may:
SatData = core.getObjectP
SatAlt = SatData[
core.output(
Is there a name for the "subpoint" Key to get that Information?, e.g. to a text file?
--> GZ:
We could add some optional extra fields to StelMainScriptA
Related branches
- Alexander Wolf: Approve
- gzotti: Needs Resubmitting
-
Diff: 1262 lines (+615/-216)27 files modifiedcmake/stellarium.rc.cmake (+1/-1)
plugins/Exoplanets/src/Exoplanet.cpp (+20/-1)
plugins/Exoplanets/src/Exoplanet.hpp (+10/-1)
plugins/MeteorShowers/src/MeteorShower.cpp (+56/-1)
plugins/MeteorShowers/src/MeteorShower.hpp (+11/-1)
plugins/Novae/src/Nova.cpp (+21/-1)
plugins/Novae/src/Nova.hpp (+17/-7)
plugins/Pulsars/src/Pulsar.cpp (+23/-1)
plugins/Pulsars/src/Pulsar.hpp (+23/-3)
plugins/Quasars/src/Quasar.cpp (+12/-1)
plugins/Quasars/src/Quasar.hpp (+15/-3)
plugins/RemoteControl/src/ObjectService.cpp (+1/-2)
plugins/Satellites/src/Satellite.cpp (+84/-0)
plugins/Satellites/src/Satellite.hpp (+22/-1)
plugins/Supernovae/src/Supernova.cpp (+15/-1)
plugins/Supernovae/src/Supernova.hpp (+17/-3)
src/core/StelObject.cpp (+101/-0)
src/core/StelObject.hpp (+30/-0)
src/core/StelObjectMgr.cpp (+16/-0)
src/core/StelObjectMgr.hpp (+5/-0)
src/core/modules/Atmosphere.cpp (+1/-1)
src/core/modules/Comet.cpp (+8/-0)
src/core/modules/Comet.hpp (+6/-0)
src/core/modules/Planet.cpp (+27/-0)
src/core/modules/Planet.hpp (+19/-7)
src/scripting/StelMainScriptAPI.cpp (+36/-135)
src/scripting/StelMainScriptAPI.hpp (+18/-45)
Changed in stellarium: | |
status: | Fix Committed → Fix Released |
r9161 brings a solution to extend scripting capabilities to satellites and other objects.
For your case:
satLat= SatData[ "subpoint- lat"]; SatData[ "subpoint- long"];
satLong=