Skip to content

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

Merged
adamshapiro0 merged 17 commits intomasterfrom
summary
Dec 9, 2024
Merged

Added new p1_capture utility, and simplified TCP/UDP/serial example apps.#347
adamshapiro0 merged 17 commits intomasterfrom
summary

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

@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