ADCS.controller.helpers.optional_dependencies module¶
- ADCS.controller.helpers.optional_dependencies.ModuleType¶
alias of
ModuleType
- ADCS.controller.helpers.optional_dependencies.get_trajectory_planner_modules()[source]¶
Return
(tplaunch, pysat)from the OldPlanner submodule build dir.Load order matters:
pysatmust be loaded first so itsSatellitetype binding is registered in pybind11’s global type table beforetplaunch’s PYBIND11_MODULE runs (which internally doespy::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.trajectory_planner_available()[source]¶
- Return type:
bool
- ADCS.controller.helpers.optional_dependencies.trajectory_planner_build_path()[source]¶
Path to the compiled
tplaunch/pysatpybind modules.The trajectory-planner add-on lives in the
OldPlannersubmodule (https://github.com/patrickmckeen/OldPlanner), built out-of-tree intoOldPlanner/build/.- Return type:
str