| 19 | { |
| 20 | protected: |
| 21 | void SetUp() override |
| 22 | { |
| 23 | setupParams(); |
| 24 | PointT pta, ptb, ptc, ptd; |
| 25 | pta.x = 0; pta.y = 0; pta.z = 0; |
| 26 | ptb.x = 0; ptb.y = 1; ptb.z = 0; |
| 27 | ptc.x = 1; ptc.y = 0; ptc.z = 0; |
| 28 | ptd.x = 1; ptd.y = 1; ptd.z = 0; |
| 29 | VectorType gfeatures{pta, ptb, ptc, ptd}; |
| 30 | plane = boost::make_shared<Plane>(gfeatures, params); |
| 31 | |
| 32 | std::ifstream ifs("/opt/sloam_ws/src/sloam/src/tests/aux/still_landmarks_t0"); |
| 33 | boost::archive::text_iarchive ia(ifs); |
| 34 | // read class state from archive |
| 35 | ia >> landmarks; |
| 36 | } |
| 37 | |
| 38 | void setupParams() |
| 39 | { |
nothing calls this directly
no outgoing calls
no test coverage detected