Skip to content

Evaluating in the closed-loop simulator HUGSIM #54

@TheNeeloy

Description

@TheNeeloy

Hi there! I'm trying to evaluate Alpamayo in HUGSIM: https://github.com/hyzhou404/HUGSIM
Would anyone else have any experience with the same?

I've updated the camera intrinsics and extrinsics of the simulator to match the expectations of Alpamayo, and I feed the pose of the vehicle and the images to the model to sample a trajectory with high probability and low temperature. Usually, I find the model starts by going straight, and then it inevitably turns right.

One potential issue is there may be a mismatch between the frame conventions that the model expects to receive vs. what the simulator expects for the predicted trajectory. I believe that Alpamyo expects the pose to be x forward, y left, and z up. And hugsim expects the predicted trajectory to be x right, y forward, and z up.

Another issue could be that the frequency of the simulator and the model predictions do not align. I have set it so that the simulator expects the predicted trajectory to be at 10Hz, but even so, when I feed the trajectory to the simulator, the vehicle moves very slowly. As such, I have been feeding the simulator every 8th waypoint, and it moves faster.

In the videos below, I've projected the predicted trajectory into the front view with the camera intrinsics (after sampling every 8th point).

https://github.com/user-attachments/assets/73274397-b1cf-4a83-b4d7-0edebab2e92b
https://github.com/user-attachments/assets/3354d7ba-c524-48d2-8bba-45b9d1a1f376
https://github.com/user-attachments/assets/b6750548-18ae-4f5d-80f4-b7100b883bea
https://github.com/user-attachments/assets/f67b35a2-8029-4c5a-8a34-9d6d6d540075

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