Skip to content

Commit 0a9c2b8

Browse files
committed
Stop computing base param mapping for payload only ID
1 parent 6f73fd7 commit 0a9c2b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/solve_inertial_param_sdp.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,8 @@ def main():
639639
# Transform from affine `tau = W * params + w0` into linear `(tau - w0) = W * params`
640640
tau_data -= w0_data
641641

642-
if not args.keep_unidentifiable_params:
642+
# All parameters are identifiable when only identifying the payload parameters
643+
if not args.keep_unidentifiable_params and not payload_only:
643644
# Load base parameter mapping
644645
base_param_mapping = None
645646
if base_param_mapping_path is not None:

0 commit comments

Comments
 (0)