calliope-edu / CalliopEO_AstroPi

MIT License
1 stars 2 forks source link

Timestamp provided by the astropi #45

Closed Amerlander closed 3 years ago

Amerlander commented 3 years ago

We could insert a timestamp in front of each received serial line.

rzbrk commented 3 years ago

Good idea and easily implemented, see bf117fa.

Can be closed if #47 is merged.

rzbrk commented 3 years ago

Example output for 30sec-counter.hex:

2021/07/22-17:33:25.936989 0
2021/07/22-17:33:26.974704 1
2021/07/22-17:33:28.012900 2
2021/07/22-17:33:29.050885 3
2021/07/22-17:33:30.088654 4
2021/07/22-17:33:31.126935 5
2021/07/22-17:33:32.164999 6
2021/07/22-17:33:33.203119 7
2021/07/22-17:33:34.240642 8
2021/07/22-17:33:35.278918 9
2021/07/22-17:33:36.317007 10
2021/07/22-17:33:37.355206 11
2021/07/22-17:33:38.392911 12
2021/07/22-17:33:39.430941 13
2021/07/22-17:33:40.469067 14
2021/07/22-17:33:41.507325 15
2021/07/22-17:33:42.544868 16
2021/07/22-17:33:43.582900 17
2021/07/22-17:33:44.621104 18
2021/07/22-17:33:45.659190 19
2021/07/22-17:33:46.696877 20
2021/07/22-17:33:47.735192 21
2021/07/22-17:33:48.773268 22
2021/07/22-17:33:49.811067 23
2021/07/22-17:33:50.848969 24
2021/07/22-17:33:51.887008 25
2021/07/22-17:33:52.925457 26
2021/07/22-17:33:53.967761 27
2021/07/22-17:33:55.001109 28
2021/07/22-17:33:56.039199 29
Amerlander commented 3 years ago

hm. it wont work with the md5 checks... should we add a flag to disable this and use the flag in the tests?

rzbrk commented 3 years ago

You are right. We have to re-make all .data files. Shall we?

I do like this feature but not the idea of an additional flag or command line parameter.