|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| std::string | scratch (const char *name) |
| A unique scratch path per test — hermetic, no committed fixtures, parallel-safe. | |
| json | read_json (const std::string &path) |
| double | eval_abcd (const json &arr, double x) |
| void | add_pt_points (CubicCalibrationStore &s, uint16_t uid) |
| GN2 High's real captured shape: a 5000 psi PT, ADC codes in the hundreds of millions. | |
| void | add_lc_points (CubicCalibrationStore &s, uint16_t uid) |
| The LOX Scale's real captured shape: a load cell, codes in the hundreds of thousands. | |
| void | pt_lc_logical_collision () |
| void | logical_1_collision () |
| void | kind_round_trip () |
| void | legacy_file_without_kind () |
| void | add_point_rejects_unknown_uid () |
| void | recovery_regenerates_overwritten_pt_curve () |
| void | unreadable_file_is_not_overwritten () |
| void anonymous_namespace{test_cubic_store_namespace.cpp}::add_lc_points | ( | CubicCalibrationStore & | s, |
| uint16_t | uid ) |
The LOX Scale's real captured shape: a load cell, codes in the hundreds of thousands.
Definition at line 77 of file test_cubic_store_namespace.cpp.
References fsw::calibration::CubicCalibrationStore::add_point().
Referenced by kind_round_trip(), legacy_file_without_kind(), logical_1_collision(), pt_lc_logical_collision(), and recovery_regenerates_overwritten_pt_curve().
| void anonymous_namespace{test_cubic_store_namespace.cpp}::add_point_rejects_unknown_uid | ( | ) |
Definition at line 190 of file test_cubic_store_namespace.cpp.
References fsw::calibration::CubicCalibrationStore::add_point(), fsw::calibration::CubicCalibrationStore::channel(), CHECK, fsw::calibration::PT, fsw::calibration::CubicCalibrationStore::register_channel(), scratch, and fsw::calibration::CubicCalibrationStore::uids().
Referenced by main().
| void anonymous_namespace{test_cubic_store_namespace.cpp}::add_pt_points | ( | CubicCalibrationStore & | s, |
| uint16_t | uid ) |
GN2 High's real captured shape: a 5000 psi PT, ADC codes in the hundreds of millions.
Definition at line 69 of file test_cubic_store_namespace.cpp.
References fsw::calibration::CubicCalibrationStore::add_point().
Referenced by disabled_board_orphan_is_not_applied(), kind_round_trip(), legacy_file_without_kind(), logical_1_collision(), pt_lc_logical_collision(), recovery_regenerates_overwritten_pt_curve(), removed_board_does_not_win_the_logical_map(), and role_moved_to_t7_keeps_its_unit().
| double anonymous_namespace{test_cubic_store_namespace.cpp}::eval_abcd | ( | const json & | arr, |
| double | x ) |
Definition at line 63 of file test_cubic_store_namespace.cpp.
Referenced by kind_round_trip(), legacy_file_without_kind(), logical_1_collision(), pt_lc_logical_collision(), recovery_regenerates_overwritten_pt_curve(), and removed_board_does_not_win_the_logical_map().
| void anonymous_namespace{test_cubic_store_namespace.cpp}::kind_round_trip | ( | ) |
Definition at line 129 of file test_cubic_store_namespace.cpp.
References add_lc_points(), add_pt_points(), CHECK, contains(), eval_abcd(), fsw::calibration::LC, fsw::calibration::CubicCalibrationStore::load(), fsw::calibration::PT, read_json(), fsw::calibration::CubicCalibrationStore::register_channel(), fsw::calibration::CubicCalibrationStore::save(), and scratch.
Referenced by main().
| void anonymous_namespace{test_cubic_store_namespace.cpp}::legacy_file_without_kind | ( | ) |
Definition at line 153 of file test_cubic_store_namespace.cpp.
References add_lc_points(), add_pt_points(), basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType, CustomBaseClass >::array(), CHECK, eval_abcd(), fsw::calibration::LC, fsw::calibration::CubicCalibrationStore::load(), fsw::calibration::PT, read_json(), fsw::calibration::CubicCalibrationStore::register_channel(), fsw::calibration::CubicCalibrationStore::save(), and scratch.
Referenced by main().
| void anonymous_namespace{test_cubic_store_namespace.cpp}::logical_1_collision | ( | ) |
Definition at line 112 of file test_cubic_store_namespace.cpp.
References add_lc_points(), add_pt_points(), CHECK, eval_abcd(), fsw::calibration::LC, fsw::calibration::PT, read_json(), fsw::calibration::CubicCalibrationStore::register_channel(), fsw::calibration::CubicCalibrationStore::save(), and scratch.
Referenced by main().
| void anonymous_namespace{test_cubic_store_namespace.cpp}::pt_lc_logical_collision | ( | ) |
Definition at line 85 of file test_cubic_store_namespace.cpp.
References add_lc_points(), add_pt_points(), CHECK, eval_abcd(), fsw::calibration::LC, fsw::calibration::PT, read_json(), fsw::calibration::CubicCalibrationStore::register_channel(), fsw::calibration::CubicCalibrationStore::save(), and scratch.
Referenced by main().
| json anonymous_namespace{test_cubic_store_namespace.cpp}::read_json | ( | const std::string & | path | ) |
Definition at line 56 of file test_cubic_store_namespace.cpp.
Referenced by kind_round_trip(), legacy_file_without_kind(), logical_1_collision(), pt_lc_logical_collision(), recovery_regenerates_overwritten_pt_curve(), removed_board_does_not_win_the_logical_map(), role_moved_to_t7_keeps_its_unit(), and t7_role_follows_within_t7().
| void anonymous_namespace{test_cubic_store_namespace.cpp}::recovery_regenerates_overwritten_pt_curve | ( | ) |
Definition at line 203 of file test_cubic_store_namespace.cpp.
References add_lc_points(), add_pt_points(), CHECK, eval_abcd(), fsw::calibration::LC, fsw::calibration::CubicCalibrationStore::load(), fsw::calibration::PT, read_json(), fsw::calibration::CubicCalibrationStore::register_channel(), fsw::calibration::CubicCalibrationStore::save(), and scratch.
Referenced by main().
| std::string anonymous_namespace{test_cubic_store_namespace.cpp}::scratch | ( | const char * | name | ) |
A unique scratch path per test — hermetic, no committed fixtures, parallel-safe.
Definition at line 48 of file test_cubic_store_namespace.cpp.
References p.
| void anonymous_namespace{test_cubic_store_namespace.cpp}::unreadable_file_is_not_overwritten | ( | ) |
Definition at line 239 of file test_cubic_store_namespace.cpp.
References CHECK, fsw::calibration::CubicCalibrationStore::load(), fsw::calibration::CubicCalibrationStore::save(), and scratch.
Referenced by main().