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

Added new p1_capture utility, and simplified TCP/UDP/serial example apps. #347

Merged
merged 17 commits into from
Dec 9, 2024

Conversation

adamshapiro0
Copy link
Collaborator

New Features

  • Added new p1_capture tool to display incoming FE messages in real time and capture to disk
    • Combines logic formerly in example tcp_client.py, udp_client.py, and serial_client.py applications
    • Adds new --summary mode to display a summary of device and FusionEngine message status in real time similar to p1_print --summary

Changes

  • Added device type, ID, and software version to p1_print --summary
  • Drastically simplified tcp_client.py, udp_client.py, and serial_client.py example apps
    • Use p1_capture for fully-featured real time capture and display instead

Fixes

  • Use serial/socket read timeouts so we print some console update if there's no incoming data

@adamshapiro0 adamshapiro0 requested a review from axlan December 9, 2024 17:28
@adamshapiro0 adamshapiro0 self-assigned this Dec 9, 2024
…pps.

The examples are not intended to be fully featured applications, just very
simple examples.
Copy link
Collaborator

@axlan axlan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

python/fusion_engine_client/applications/p1_print.py Outdated Show resolved Hide resolved
python/fusion_engine_client/applications/p1_capture.py Outdated Show resolved Hide resolved
@adamshapiro0 adamshapiro0 merged commit 15e3935 into master Dec 9, 2024
13 checks passed
@adamshapiro0 adamshapiro0 deleted the summary branch December 9, 2024 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants