Skip to content

move_to_pose.py not consistent with book when alpha > pi/2  #877

Closed
@qlibp

Description

@qlibp

Describe the bug
As the book says,

For the case where the goal is behind the robot, that is α ∉ (−pi/2 , pi/2 ], we reverse the vehicle by negating v and γ in the control law

But the implementation here just negate linear velocity.

Expected behavior
I tested with negating both linear velocity & angular velocity, the control vibrates, but the overall trajectory makes more sense than only negating the linear velocity.

Screenshots

  1. Negate Both
    negate_both

  2. Negate only linear velocity
    negate_one

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions