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

PythonSDK - Recording unknown number of packets #537

Open
L-Reichardt opened this issue Jul 24, 2023 · 2 comments
Open

PythonSDK - Recording unknown number of packets #537

L-Reichardt opened this issue Jul 24, 2023 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@L-Reichardt
Copy link

Hello,

I am trying to use the SDK to record .pcap files. The documentation example only considers a finite amount of packets.
This makes .pcap.record impractical. In my application I am recording to an unknown amount of time (2h +), so the amount of packets is not know beforehand, and memory is a constraint.
Is this possible through the PythonSDK or should I use different software - preferably a solution using ROS that outputs .pcap

Best Regards,
L

@L-Reichardt L-Reichardt added the question Further information is requested label Jul 24, 2023
@kairenw
Copy link
Contributor

kairenw commented Jul 24, 2023

Have you tried the ouster-cli utility?

I'd recommend checking out the help menu (ouster-cli source <SENSOR_HOSTNAME> record --help) to figure out all the options you can use

@twslankard twslankard self-assigned this Aug 14, 2023
@twslankard
Copy link
Collaborator

twslankard commented Aug 14, 2023

@L-Reichardt

To add to kairenw's answer, the ouster-cli pcap record command has an option -s, --n-seconds FLOAT max time to record which provides a way to record a PCAP of a certain length, in seconds.

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

3 participants