diff --git a/eclipse_magic.lua b/eclipse.lua similarity index 96% rename from eclipse_magic.lua rename to eclipse.lua index a2d2d4b..9c1e95c 100644 --- a/eclipse_magic.lua +++ b/eclipse.lua @@ -90,19 +90,24 @@ LoggingFile = nil -- times are the same. Make sure the times are correct for your location, and that your camera -- is accurately set to GPS time. -- +-- Note that the two branches below are not interchangeable. When TestBeepNoShutter +-- is 1, get_cur_secs() subtracts the script start time, so the contact times are read +-- as an offset from when the script is run. Otherwise they are read as wall-clock +-- times from the camera's clock. +-- if ( TestBeepNoShutter == 1 ) then - -- Esterbrook: 10:23:32 11:44:37 11:46:53 13:11:42 - c1.hr = 10; c1.min = 23; c1.sec = 32 - c2.hr = 11; c2.min = 44; c2.sec = 37; - c3.hr = 11; c3.min = 46; c3.sec = 53; - c4.hr = 13; c4.min = 11; c4.sec = 42; -else -- Testing: c1.hr = 0; c1.min = 1; c1.sec = 00; c2.hr = 0; c2.min = 4; c2.sec = 00; c3.hr = 0; c3.min = 6; c3.sec = 20; c4.hr = 0; c4.min = 9; c4.sec = 00; +else + -- Esterbrook: 10:23:32 11:44:37 11:46:53 13:11:42 + c1.hr = 10; c1.min = 23; c1.sec = 32 + c2.hr = 11; c2.min = 44; c2.sec = 37; + c3.hr = 11; c3.min = 46; c3.sec = 53; + c4.hr = 13; c4.min = 11; c4.sec = 42; end