Skip to content

Undarstanding mpc realization #14845

@IDovgopolik

Description

@IDovgopolik

System information

  • Linux Ubuntu 20.04
  • Apollo installed from source:
  • Apollo version 8.0:

Hello, colleagues! I have a question about mpc realization. File mpc_controller.cc has a declaration of matrix addition_gain:
Screenshot from 2023-03-23 12-47-51
The element of this matrix is used in a calculation of some variables:
Screenshot from 2023-03-23 12-51-17
But between declaration and using of the element of this matrix there isn't any place where some values are put in the matrix, so this element always is equal to 0. It uses as multiplier, so it doesn't have sense. My question is do I clearly understand that this element is always equal to zero? What is the sense of this variable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Module: Controlindicates control module related issue

    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