Skip to content

Cannot find the file unitree_sdk2_bridge.cc for Joystick mapping #107

Description

@EveryDayIsaSong

I am trying to configure a custom gamepad layout (non-Xbox/Switch) following the instructions in the README.
The README states:

If your gamepad is not in Xbox or Switch layout, you can modify it in the source code... In simulate/src/unitree_sdk2_bridge/unitree_sdk2_bridge.cc
Image

However, in the latest version of the repository, the directory simulate/src/unitree_sdk2_bridge/ and the file unitree_sdk2_bridge.cc do not exist.

Image

In simulate/src/, I can only find unitree_sdk2_bridge.h (but no .cc file). Could you please clarify which file handles the Joystick/Gamepad key mapping now? Is it moved to simulate/src/physics_joystick.h or inside the joystick folder? The documentation seems to be outdated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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