diff options
author | Jogi Hofmüller <jogi@mur.at> | 2011-08-10 10:27:01 +0000 |
---|---|---|
committer | Jogi Hofmüller <jogi@mur.at> | 2011-08-10 10:27:01 +0000 |
commit | 1c321442b57db117b83fee5e1ef5bed216dabd33 (patch) | |
tree | b00b9e576e4cb0ea9e8e75f8937d32576e7d63e6 /tools/mmd | |
parent | - fixed the east/west connection of curves bug (diff) |
- added current satellite point to map
git-svn-id: https://svn.spreadspace.org/mur.sat@116 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'tools/mmd')
-rw-r--r-- | tools/mmd/MmdWidgets.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/mmd/MmdWidgets.py b/tools/mmd/MmdWidgets.py index 76688a7..8957916 100644 --- a/tools/mmd/MmdWidgets.py +++ b/tools/mmd/MmdWidgets.py @@ -66,7 +66,8 @@ def computeTrajectory (longitude, latitude, elevation): graz = ephem.Observer () graz.long, graz.lat, graz.elevation = longitude, latitude, elevation - point_list = [] + sat.compute (graz) + point_list = [(str (dms2degdec (sat.sublong.__str__ ())), str (dms2degdec (sat.sublat.__str__ ())))] # calculate points for next three hours for i in range (12 * 3): |