fix num submaps in trimmer_test (#424)
parent
3859da7ea4
commit
30f7de1a32
|
@ -29,7 +29,7 @@ class FakePoseGraph : public Trimmable {
|
|||
public:
|
||||
~FakePoseGraph() override {}
|
||||
|
||||
int num_submaps(int trajectory_id) const override { return 17; }
|
||||
int num_submaps(int trajectory_id) const override { return 17 - trimmed_submaps_.size(); }
|
||||
|
||||
void MarkSubmapAsTrimmed(const SubmapId& submap_id) override {
|
||||
trimmed_submaps_.push_back(submap_id);
|
||||
|
|
Loading…
Reference in New Issue