oresat / CANopen-monitor

An NCurses-based TUI application for tracking activity over the CAN bus and decoding messages with provided EDS/OD files.
https://canopen-monitor.readthedocs.io/
GNU General Public License v3.0
25 stars 6 forks source link

ECSS time #57

Closed ryanpdx closed 3 years ago

ryanpdx commented 3 years ago

Add support for ECSS time standards from the ECSS CANBus extension protocol specs. OreSat uses the SCET standard instead of the CANopen TIME standard.

There is no standardize epoch. The recommended epoch is GPS time (January 5th 1980), on OreSat the epoch used is the Unix time stamp (January 1st 1970). So this probably needs to be a setting.

https://ecss.nl/standard/ecss-e-st-50-15c-space-engineering-canbus-extension-protocol-1-may-2015/

dmitri-mcguckin commented 3 years ago

The default timestamp for a CAN Date object is January 1st 1984, no?

ryanpdx commented 3 years ago

Yep, TIME_OF_DAY object epoch is January 1, 1984.

ryanpdx commented 3 years ago

ECSS-CANBus-extension-protocol.pdf