ADCS.controller.helpers.optional_dependencies module

ADCS.controller.helpers.optional_dependencies.ModuleType

alias of ModuleType

ADCS.controller.helpers.optional_dependencies.get_saltro_module()[source]
Return type:

ModuleType

ADCS.controller.helpers.optional_dependencies.get_trajectory_planner_modules()[source]

Return (tplaunch, pysat) from the OldPlanner submodule build dir.

Load order matters: pysat must be loaded first so its Satellite type binding is registered in pybind11’s global type table before tplaunch’s PYBIND11_MODULE runs (which internally does py::module_::import("trajectory_planner.build.pysat") and would otherwise either re-register or fail).

Return type:

Tuple[ModuleType, ModuleType]

ADCS.controller.helpers.optional_dependencies.import_module(name, package=None)[source]

Import a module.

The ‘package’ argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import.

ADCS.controller.helpers.optional_dependencies.planner_extension_clash_reason()[source]
Return type:

str

ADCS.controller.helpers.optional_dependencies.saltro_available()[source]
Return type:

bool

ADCS.controller.helpers.optional_dependencies.saltro_build_path()[source]
Return type:

str

ADCS.controller.helpers.optional_dependencies.saltro_missing_reason()[source]
Return type:

str

ADCS.controller.helpers.optional_dependencies.trajectory_planner_available()[source]
Return type:

bool

ADCS.controller.helpers.optional_dependencies.trajectory_planner_build_path()[source]

Path to the compiled tplaunch / pysat pybind modules.

The trajectory-planner add-on lives in the OldPlanner submodule (https://github.com/patrickmckeen/OldPlanner), built out-of-tree into OldPlanner/build/.

Return type:

str

ADCS.controller.helpers.optional_dependencies.trajectory_planner_missing_reason()[source]
Return type:

str