26 using namespace gtsam;
30 TEST(dataSet, sfmDataSerialization) {
33 SfmData mydata = SfmData::FromBalFile(filename);
38 EXPECT(equalsBinary(mydata));
42 TEST(dataSet, sfmTrackSerialization) {
45 SfmData mydata = SfmData::FromBalFile(filename);
52 EXPECT(equalsBinary(track));
SfmData stores a bunch of SfmTracks.
static int runAllTests(TestResult &result)
const SfmTrack & track(size_t idx) const
The track formed by series of landmark measurements.
#define EXPECT(condition)
Data structure for dealing with Structure from Motion data.
TEST(dataSet, sfmDataSerialization)
GTSAM_EXPORT std::string findExampleDataFile(const std::string &name)
utility functions for loading datasets