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

Converting the dataframe to PoseTrajectory3D #647

Closed
benghalensis opened this issue Mar 27, 2024 · 1 comment
Closed

Converting the dataframe to PoseTrajectory3D #647

benghalensis opened this issue Mar 27, 2024 · 1 comment

Comments

@benghalensis
Copy link

This library has a method to convert dataframe to PoseTrajectory3D in pandas_bridge but not the other way around. I saw a PR to do that but I do not see the code here.

MichaelGrupp added a commit that referenced this issue Apr 22, 2024
MichaelGrupp added a commit that referenced this issue Apr 22, 2024
* Add pandas_bridge.df_to_trajectory()

Request: #647

* fix builtin name collision

* Platform-dependent int for windooooooooooowwwwwwwwwsssssss
@MichaelGrupp
Copy link
Owner

This is now possible in version v1.27.1.

df = pandas_bridge.trajectory_to_df(traj_in)

traj_out = pandas_bridge.df_to_trajectory(df)

assert traj_in == traj_out

See the linked commit for details.

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

No branches or pull requests

2 participants