Skip to content

novaphy.FeatureCompletenessChecker

Legacy fixed checklist for a small Newton-alignment snapshot. It returns a FeatureCheckReport, but it does not inspect the features compiled into the current extension.

The current implementation always reports four hard-coded rows: continuous_collision_detection=False, joint_motor=False, soft_rigid_coupling=True, and gpu_parallel_solver=True. The last two do not prove that libuipc or CUDA is available, and require_full_alignment() currently always raises because the first two rows are false.

Methods

Method Description
run_check()FeatureCheckReport Return the fixed four-row legacy checklist.
require_full_alignment()None Raise RuntimeError unless every fixed checklist row is marked available.

Example

import novaphy

checker = novaphy.FeatureCompletenessChecker()

# Print everything
report = checker.run_check()
for item in report.items:
    print("ok" if item.available else "missing", item.name, item.backend)

# This is legacy alignment metadata, not build capability detection.
assert report.all_aligned is False

Use has_ipc(), has_sph_cuda(), has_mujoco_cuda(), has_featherstone_cuda(), has_vbd_cuda(), and has_vbd_dlan() to gate optional runtime backends.

See Also