豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

MPPI: Velocity constraint inconsistency: vx_min violated but no cost applied in ConstraintCritic #6042

@prajwalthakur

Description

@prajwalthakur

I have a question regarding the design of ConstraintCritic velocity bounds for holonomic robots.

min_vel_ = min_sgn * sqrtf(vx_min * vx_min + vy_max * vy_max);
}

Given:
vx_max = 0.5
vx_min = -0.3
vy_max = 0.5

The critic computes:
max_vel = sqrt(vx_max^2 + vy_max^2) ≈ 0.707
min_vel = -sqrt(vx_min^2 + vy_max^2) ≈ -0.583

Now consider a trajectory:
vx = -0.4, vy = 0 → v = -0.4

This satisfies:
v ∈ [min_vel, max_vel] → no cost applied

However:
vx = -0.4 < vx_min = -0.3 → violates longitudinal constraint

This suggests that the critic enforces a magnitude-based constraint
rather than axis-wise bounds, allowing physically invalid velocities
(along vx) to pass without penalty.

Is this behavior intentional for smoothing / MPPI optimization reasons,
or is it an oversight?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions