Version 2.7 Known Issues

Version 2.7.0

  • pip-based installation in editable mode using pip install -e . is not currently supported. Developers and users alike should continue to use python conanfile.py installation.

  • When using C++ wrapped sensor objects (CSS, thrusters, reaction wheels), Python references must be explicitly retained to prevent premature garbage collection. The recommended approach is to store these objects directly on your simulation object. For example:

    1# Create and configure a CSS device
    2cssDevice = coarseSunSensor.CoarseSunSensor()
    3cssDevice.ModelTag = "css1"
    4
    5# Store it on the simulation object to keep it alive
    6scSim.cssDevice = cssDevice  # Prevents garbage collection
    

    Alternatively, for multiple devices, you can use a list or registry:

    1# Store multiple devices
    2scSim.css_devices = []
    3for i in range(4):
    4    cssDevice = coarseSunSensor.CoarseSunSensor()
    5    cssDevice.ModelTag = f"css{i}"
    6    scSim.css_devices.append(cssDevice)
    

    See specific documentation for:

    For working examples, refer to these scenarios:

    Failure to retain references will cause segmentation faults when accessing collected objects.