Skip to content

Commit 85d73a1

Browse files
committed
fix animation
1 parent 8dd364b commit 85d73a1

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

animation/geostationary.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ arc_of_ascending_nodes = 360.0
4040
eccentricity = 0.0
4141

4242
[[ground_station]]
43-
name = "TU Berlin"
43+
name = "TUBerlin"
4444
lat = 52.51499
4545
long = 13.32674

animation/iridium.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ arc_of_ascending_nodes = 180.0
4040
eccentricity = 0.0
4141

4242
[[ground_station]]
43-
name = "TU Berlin"
43+
name = "TUBerlin"
4444
lat = 52.51499
4545
long = 13.32674

animation/kuiper.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ arc_of_ascending_nodes = 360.0
5656
eccentricity = 0.0
5757

5858
[[ground_station]]
59-
name = "TU Berlin"
59+
name = "TUBerlin"
6060
lat = 52.51499
6161
long = 13.32674

animation/oneweb.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ arc_of_ascending_nodes = 360.0
5656
eccentricity = 0.0
5757

5858
[[ground_station]]
59-
name = "TU Berlin"
59+
name = "TUBerlin"
6060
lat = 52.51499
6161
long = 13.32674

animation/starlink.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,6 @@ arc_of_ascending_nodes = 360.0
115115
eccentricity = 0.0
116116

117117
[[ground_station]]
118-
name = "TU Berlin"
118+
name = "TUBerlin"
119119
lat = 52.51499
120120
long = 13.32674

celestial/animation.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
import typing
2727

2828
import celestial.config
29+
import celestial.types
30+
import celestial.shell
2931

3032
EARTH_RADIUS_M = 6371000 # radius of Earth in meters
3133

@@ -539,9 +541,9 @@ def makeInactiveSatsActor(self, shell_no: int, shell_total_sats: int) -> None:
539541

540542
# initialize all the positions
541543
for i in range(len(self.sat_positions[shell_no])):
542-
self.shell_inactive_actors[shell_no].satPointIDs[
543-
i
544-
] = self.shell_inactive_actors[shell_no].satVtkPts.InsertNextPoint(0, 0, 0)
544+
self.shell_inactive_actors[shell_no].satPointIDs[i] = (
545+
self.shell_inactive_actors[shell_no].satVtkPts.InsertNextPoint(0, 0, 0)
546+
)
545547

546548
self.shell_inactive_actors[shell_no].satVtkVerts.InsertNextCell(1)
547549
self.shell_inactive_actors[shell_no].satVtkVerts.InsertCellPoint(

0 commit comments

Comments
 (0)