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

Updated motion profiling API #93

Merged
merged 2 commits into from Jan 14, 2019
Merged

Updated motion profiling API #93

merged 2 commits into from Jan 14, 2019

Conversation

virtuald
Copy link
Member

@virtuald virtuald commented Jan 14, 2019

I elected to keep the existing API as is, and introduce a new BTrajectoryPoint object for use with the new API. The rationale for this is that if we change the definition of TrajectoryPoint, old code will break one way or another. Though, you probably shouldn't use the old API at all.

x_type: "BuffTrajPointStream&"
x_callname: "stream.m_handle"
x_pyann: 'stream: "BufferedTrajectoryPointStream"'
x_pyarg: 'py::arg("stream")'
Copy link
Member

Choose a reason for hiding this comment

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

You probably could've moved the x_pyarg calculation lower to avoid duplicating this, but 🤷‍♂️

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

Successfully merging this pull request may close these issues.

None yet

2 participants