Skip to content

Conversation

@glopesdev
Copy link
Contributor

@glopesdev glopesdev commented Nov 16, 2023

This feature allows passing all optional parameters to register reader. The reader module was refactored so that all extra columns, e.g. type are included in the final frame after all conversion steps are applied.

For example, the below example retrieves the frame using UTC time and including the message type for all recorded messages:

from harp.io import REFERENCE_EPOCH
from harp.reader import create_reader

reader = create_reader('device.harp')
reader.WhoAmI.read(epoch=REFERENCE_EPOCH, keep_type=True)

@glopesdev glopesdev added the feature New planned feature label Nov 16, 2023
@glopesdev glopesdev merged commit e54ce51 into main Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New planned feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants