Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed tests badge #156

Merged
merged 3 commits into from
Mar 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## PASEOS - PAseos Simulates the Environment for Operating multiple Spacecraft

![Read the Docs (version)](https://img.shields.io/readthedocs/paseos/latest?style=flat-square) ![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/aidotse/PASEOS/.github/workflows/run_tests.yml?branch=main?style=flat-square) ![GitHub last commit](https://img.shields.io/github/last-commit/aidotse/PASEOS?style=flat-square)
![Read the Docs (version)](https://img.shields.io/readthedocs/paseos/latest?style=flat-square) [![Tests](https://github.com/aidotse/paseos/actions/workflows/run_tests.yml/badge.svg)](https://github.com/aidotse/paseos/actions/workflows/run_tests.yml) ![GitHub last commit](https://img.shields.io/github/last-commit/aidotse/PASEOS?style=flat-square)
![GitHub](https://img.shields.io/github/license/aidotse/PASEOS?style=flat-square)
![GitHub contributors](https://img.shields.io/github/contributors/aidotse/PASEOS?style=flat-square)
![GitHub issues](https://img.shields.io/github/issues/aidotse/PASEOS?style=flat-square) ![GitHub pull requests](https://img.shields.io/github/issues-pr/aidotse/PASEOS?style=flat-square)
Expand All @@ -13,6 +13,8 @@
<a href="https://github.com/aidotse/PASEOS/issues">Report Bug</a>
·
<a href="https://github.com/aidotse/PASEOS/issues">Request Feature</a>
·
<a href="https://arxiv.org/abs/2302.02659">Read the Paper</a>
</p>

Disclaimer: This project is currently under development. Use at your own risk.
Expand Down Expand Up @@ -932,4 +934,4 @@ If you have used `PASEOS`, please cite the following paper:
journal = {arXiv:2302.02659 [cs.DC]},
year = {2023},
}
```
```
7 changes: 5 additions & 2 deletions paseos/tests/visualization_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
import sys

sys.path.append("../..")

from skspatial.objects import Sphere

from paseos import ActorBuilder, SpacecraftActor
from paseos.visualization.space_animation import SpaceAnimation
from test_utils import get_default_instance
from test_utils import get_default_instance, _PASEOS_TESTS_EARTH_RADIUS
import pykep as pk


Expand All @@ -15,8 +18,8 @@ def test_animation():
sat2 = ActorBuilder.get_actor_scaffold("sat2", SpacecraftActor, pk.epoch(0))
ActorBuilder.set_orbit(sat2, [0, 10000000, 0], [0, 0, 8000.0], pk.epoch(0), earth)
ActorBuilder.set_power_devices(sat2, 5000, 10000, 1)
sat2.set_central_body_shape(Sphere([0, 0, 0], _PASEOS_TESTS_EARTH_RADIUS))
sim.add_known_actor(sat2)

anim = SpaceAnimation(sim)

dt = 100
Expand Down