Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Conversation

@MoreTore
Copy link
Contributor

No description provided.

self.pid = PIDController(self.torque_params.kp, self.torque_params.ki,
k_f=self.torque_params.kf, pos_limit=self.steer_max, neg_limit=-self.steer_max)
self.torque_from_lateral_accel = CI.torque_from_lateral_accel()
self.torque_from_lateral_accel = CI.torque_from_lateral_accel(self.torque_params.linear)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MoreTore wondering if it's possible to use stock controller or create a new one like latcontrol_ti?
comma team still progressively updates it so it may be different in each version, doing so we can:

  1. not affecting other vehicles
  2. Consistent experiences for all TI users.

Copy link
Contributor Author

@MoreTore MoreTore Feb 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would not affect other vehicles. The default is linear. This edit is required to stop jerky steering at low speeds. Comma will probably be changing the controller again next time so it will need to be redone

@rav4kumar rav4kumar marked this pull request as draft May 2, 2023 02:15
@MoreTore
Copy link
Contributor Author

New PR #62

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants