add_pose_search_channel_to_schema
Add a Pose, Trajectory, Position, Velocity, or Heading channel to a UPoseSearchSchema asset, or overwrite an existing channel's weight, then finalize and save.
Instructions
Add a feature channel of channel_type to a UPoseSearchSchema asset or, when a channel of that class is already there, overwrite its Weight instead (already_existed=true); then finalize via PostEditChange and save. Returns schema_cardinality and channel_count; success stays true if the save fails: read saved.
Returns: { schema_path, channel_type, channel_class, weight, schema_cardinality, channel_count, added, already_existed, weight_updated, saved, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight | No | Channel weight (float); default 1.0, which also resets the weight of an existing channel when omitted | |
| schema_path | Yes | Asset path of the UPoseSearchSchema (required). | |
| channel_type | Yes | One of 'Pose', 'Trajectory', 'Position', 'Velocity', 'Heading' (required). |