Skip to content

ThrusterStateEffector / ThrusterDynamicEffector attribute thrusterData is not wrapped #1254

@atharris-ts

Description

@atharris-ts

Describe the bug
Something is broken in how both thruster module's thrusterData attribute is swig'd.

To reproduce
Steps to reproduce the behavior:

  1. Open scenarioOrbitManeuverTH.py. On line 328, add print(thrusterSet.thrusterData[0]).
  2. Run scenarioOrbitManeuverTH.py.
  3. Observe `*** TypeError: 'SwigPyObject' object is not subscriptable

Expected behavior
ThrusterStateEffector and ThrusterDynamicEffector should allow users to access their thrusterData members as iterable lists in Python.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Version: Pulled from develop, commit dbf5237
  • Python version: 3.10.12

Additional context
I didn't see anything obviously wrong in the swig files for either thruster module - I have code that was using this based on an older basilisk version from ~mid 2025.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions