Skip to content

Lateral controller is not cascaded P-P, but PD controller #7

@fabianlischka

Description

@fabianlischka

In the solution, in the function lateral_position_control in controller.py, the target velocity_cmd is computed and limited, but then ignored, and a bog standard PD controller applied to acceleration (without velocity limit).

I think this

acceleration_cmd = acceleration_ff + \
                            self.Kp_pos*(local_position_cmd-local_position) +\
                            self.Kp_vel*(local_velocity_cmd-local_velocity)

should be replaced by

acceleration_cmd = acceleration_ff + \
                            self.Kp_vel*(velocity_cmd-local_velocity)

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