MESC_Firmware icon indicating copy to clipboard operation
MESC_Firmware copied to clipboard

Request: enable sending log data via the term.

Open owhite opened this issue 1 year ago • 1 comments

Suggestion two levels of complicity for this.

FIRST VERSION: User select items for configuring the payload with a command like status log init To configure:

  • frequency the payload is sent
  • output format (e.g., "json", "csv") of payload
  • values to send, where the values correspond to what's available from get

json format is shown below. Then when the user makes the call: status log send

the device starts sending the payload.

Also: get should show board temp, motor temp and vbat_volts. :-)

SECOND (EASIER) VERSION: If all of that is too complicated for now, much simpler, create a print statement that prints:

{"amps": 10, "volts": 20, "rpm": 30, "btemp": 40, "mtemp": 50}

and I'll just configure the print to send whatever I need.

owhite avatar Feb 12 '23 15:02 owhite