Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[trajoptlib] Add Python bindings using nanobind #848

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

spacey-sooty
Copy link
Collaborator

@spacey-sooty spacey-sooty commented Oct 7, 2024

Resolves #543


cls.def(nb::init<double, double, double, double, double,
std::vector<Translation2d>>(),
"mass"_a, "moi"_a, "wheelRadius"_a, "wheelMaxAngularVelocity"_a,
Copy link
Member

Choose a reason for hiding this comment

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

Python APIs should use snake case, not mixed case.

Copy link
Member

@calcmogul calcmogul left a comment

Choose a reason for hiding this comment

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

This needs some tests to ensure the package functions.

[project]
name = "trajoptlib"
description = "A library for generating time optimal trajectories for FRC robots."
version = "0.0.1.dev124"
Copy link
Member

Choose a reason for hiding this comment

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

This should be changed to how choreolib does its version updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TrajoptLib Python support
2 participants