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

Use tf write methods from hdf5_core in seerep_hdf5_fb and seerep_hdf5_pb #410

Open
jarkenau opened this issue Aug 13, 2024 · 0 comments
Open
Labels
core Related to the SEEREP core / the data storage itself tf coordinate frame transformations

Comments

@jarkenau
Copy link
Member

1125453 introduces write methods for the rotation, translation and timestamps of tfs. As most of the code revolves around settings up the extendible datasets and takes standard containers (std::array) as input, it makes sense to reuse them in seerep_hdf5_pb and seerep_hdf5_fb like it is done in seerep_hdf5_ros:

hdf5CoreTf_->writeTimestamp(datagroupPath, { transform.header.stamp.sec,
transform.header.stamp.nsec });
hdf5CoreTf_->writeTranslation(datagroupPath,
{ transform.transform.translation.x,
transform.transform.translation.y,
transform.transform.translation.z });
hdf5CoreTf_->writeRotation(
datagroupPath,
{ transform.transform.rotation.x, transform.transform.rotation.y,
transform.transform.rotation.z, transform.transform.rotation.w });

@jarkenau jarkenau added core Related to the SEEREP core / the data storage itself tf coordinate frame transformations labels Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Related to the SEEREP core / the data storage itself tf coordinate frame transformations
Projects
None yet
Development

No branches or pull requests

1 participant