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

How to save IMU stream in osf files #639

Open
joaocalen opened this issue Jan 17, 2025 · 1 comment
Open

How to save IMU stream in osf files #639

joaocalen opened this issue Jan 17, 2025 · 1 comment
Labels
question Further information is requested

Comments

@joaocalen
Copy link

I'm creating a project using lidar which I log into a .osf every scan given by the lidar sensor. I found this easy using this method of class Writer:

void save(uint32_t stream_index, const LidarScan& scan,
const ouster::osf::ts_t timestamp);

But how can I save also IMU data? I have to use the save_message to store an array of bytes with the IMU data or is there a better way to do it?

@joaocalen joaocalen added the question Further information is requested label Jan 17, 2025
@Samahu
Copy link
Collaborator

Samahu commented Jan 17, 2025

Unfortunately OSF currently doesn't support IMU data yet.
If you need to preserve IMU use pcap or bag file format and if you are using the ouster-cli use the save_raw command.

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

No branches or pull requests

2 participants