Closed nhz2 closed 4 years ago
Fixes #213
int64
double
None, Ptest is using its own time for now.
MATLAB/run_tests.m passes. teensy36 tests pass.
MATLAB/run_tests.m
teensy36
Changed const.dt = int64(1e8); to const.dt = int64(120e6);
const.dt = int64(1e8);
const.dt = int64(120e6);
Added:
const.INIT_GPSNS= int64(const.INITGPS_WN)*int64(1E9)*int64(7*24*60*60); % INITGPS_WN in nanoseconds (ns)
Updated MATLAB/README.md
MATLAB/README.md
Update MATLAB to use int64 GPS time and real control cycle duration.
Fixes #213
Summary of changes
int64
ns from GPS epoch instead ofdouble
s from PAN epoch.Ptest Effects
None, Ptest is using its own time for now.
Testing
MATLAB/run_tests.m
passes.teensy36
tests pass.Constants
Changed
const.dt = int64(1e8);
toconst.dt = int64(120e6);
Added:
Documentation Evidence
Updated
MATLAB/README.md