Skip to content

Feature Request: Serial Logging Timestamps #63

@DennisMelamed

Description

@DennisMelamed

Subject of the issue

Is it possible to add an option to timestamp entries to the serial logfile? I am recording data coming from a separate microcontroller over serial, but would like the this data to be timestamped to align to the IMU data being collected by the OLA.

Your workbench

  • Are you using a microSD card? If so, what size? How is it formatted (FAT, FAT32, or exFat)?
    FAT32, 32GB card
  • At what frequency are you logging? For example, 10Hz, 1Hz, once every 5 seconds, etc.
    IMU logging at ~100 Hz, serial data coming in ~ 1 Hz
  • What version of firmware are you using? This is shown at boot, for example: "Artemis OpenLog v1.10"
    V1.8
  • How is OpenLog Artemis wired to your sensor(s)?
    Onboard IMU, serial line from peripheral microcontroller UART TX pin to OLA RX pin
  • How is everything being powered?
    OLA powered from usb-c, peripheral microcontroller via 3.3V pin on OLA
  • Are there any additional details that may help us help you?
    N/a

Steps to reproduce

Wire other device to provide serial data to OLA RX pin once per second. Viewing serial log file, there is no timestamp for each reading.

Expected behavior

Each line of serialLog****.TXT should have a timestamp attached to it that allows when the serial data was received to be aligned to when the IMU is sampled

Actual behavior

Serial log file contains no timestamps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions