ECSS
ECSS Space engineering CANbus extension protocol
SpaceCraft Elapsed Time (SCET)
struct {
unsigned 32 Coarse Time
unsigned 24 Fine Time (sub seconds)
} SCET
Spacecraft Universal Time Coordinated (UTC)
struct {
unsigned 16 Day
unsigned 32 ms of day
unsigned 16 submilliseconds of ms
} UTC
- olaf.scet_int_from_time(unix_time: float) int[source]
Convert a float to SCET int
- Parameters:
unix_time (float) – time in the
time.time()format- Returns:
unix_time to convert to SCET time as a int
- Return type:
- olaf.scet_int_to_time(scet: int) float[source]
Convert a SCET int to
time.time()format- Parameters:
scet (int) – SCET time as a int
- Returns:
time in the
time.time()format- Return type:
- olaf.utc_int_from_time(unix_time: float) int[source]
Convert a float to ECSS UTC int
- Parameters:
unix_time (float) – time in the
time.time()format- Returns:
unix_time to convert to ECSS UTC time as a int
- Return type:
- olaf.utc_int_to_time(utc: int) float[source]
Convert a ECSS UTC int to
time.time()format- Parameters:
scet (int) – ECSS UTC time as a int
- Returns:
time in the
time.time()format- Return type: