Skip to content

Inconsistent third-person right rotation semantics between prompt_builder.py and HY-WorldPlay pose generation #9

Description

@sysuKaiYang

Hi, thanks for open-sourcing WBench.

I noticed a possible inconsistency in the third-person navigation semantics for right rotation.

What I found:
In src/models/text/prompt_builder.py, the third-person action mapping says:
left: The camera orbits counterclockwise around the subject.
right: The camera orbits clockwise around the subject.

However, in the HY-WorldPlay adapter path:
examples/hy_worldplay/convert_cases_to_jsonl.py maps right to yaw = +1
examples/hy_worldplay/navigation_to_poses.py updates orbit angle with:

if "yaw" in move:
    azimuth -= move["yaw"]

with initial azimuth = np.pi.

From this logic, for third-person orbit mode, right makes the camera move counterclockwise in top-down view, not clockwise.

Questions
Is prompt_builder.py using incorrect wording?
Or does HY-WorldPlay use the opposite orbit convention from the text prompt definition?
If the adapter behavior is intended, should the prompt text be updated to avoid confusion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions