@foxglove/velodyne-cloud
Version:
TypeScript library for converting Velodyne LIDAR packet data to point clouds
15 lines • 694 B
JavaScript
;
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/
Object.defineProperty(exports, "__esModule", { value: true });
const Calibration_1 = require("./Calibration");
const VelodyneTypes_1 = require("./VelodyneTypes");
describe("Calibration", () => {
it("does nothing", () => {
const cal = new Calibration_1.Calibration(VelodyneTypes_1.Model.VLP16);
expect(cal.model).toEqual(VelodyneTypes_1.Model.VLP16);
expect(cal.laserCorrections).toHaveLength(16);
});
});
//# sourceMappingURL=Calibration.test.js.map