-
Notifications
You must be signed in to change notification settings - Fork 2
Running in python
All python capabilities are gathered in Source/cielim-python
The Cielim test connector enables communication with a Cielim instance to send simulation frames and request rendered images. You can create scenes manually by populating simulation data frames using the Cielim protobuf schema defined in cielimMessage.proto.
Be sure to install the python requirements listed in requirements.txt
- Connect to and disconnect from Cielim instances
- Send spacecraft frames as protobuf messages
- Request and receive rendered camera images
The connector supports both static image generation (without requiring Basilisk or external scene generation tools) and integrated testing workflows.
Cielim and the Connector exchange data using the Basilisk cielimMessage.proto schema. The Python interface for this schema has been generated from Basilisk and copied into the Cielim project to eliminate the dependency on Basilisk for schema access. The schemas are currently maintained in sync manually.
The cielim-python folder contains both integrated and unit tests written in Python. To run all tests, execute the following command in this directory:
pytestNavigate to the examples folder and run any of the following:
python random_asteroid_generation.pyIf you have downloaded the required support data, you can also try:
python deimos_flyby.py