Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Std cargo refactor #714

Closed
wants to merge 2 commits into from
Closed

Std cargo refactor #714

wants to merge 2 commits into from

Conversation

dek3rr
Copy link

@dek3rr dek3rr commented Jun 25, 2019

remove mass unit ambiguities

@rbiasini
Copy link
Contributor

Nice. What about moving STD_CARGO_KG to selfdrive/car/__init__.py?

@dek3rr
Copy link
Author

dek3rr commented Jun 25, 2019

what do you think about moving hardcoded civic parameters into a class and adding functions for scaling tirestiffness and rotational inertia?

@rbiasini
Copy link
Contributor

yep, that would make sense, as long as such class has no dependencies, goes in init and it's super simple.

Thanks for the STD_CARGO refactor

@rbiasini
Copy link
Contributor

merged internally due to conflicts. Will be in next release!

@rbiasini rbiasini closed this Jun 25, 2019
@dek3rr dek3rr deleted the cargo branch June 27, 2019 01:49
aivordin pushed a commit to aivordin/openpilot that referenced this pull request Mar 29, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Convert safe_desired_curvature to float before returning.

This ensures the returned value is explicitly a float, avoiding an issue when serializing it on capnp as it does not recognize numpy.float

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants