21 #ifndef PITCH_CALIBRATION_H
22 #define PITCH_CALIBRATION_H
24 #include "laser_calibration.h"
32 std::string config_path);
Abstract base class for laser calibration.
Calibrate the pitch angle of the laser.
constexpr static float threshold
The threshold of the mean of z to stop calibration.
PitchCalibration(LaserInterface *laser, fawkes::tf::Transformer *tf_transformer, fawkes::NetworkConfiguration *config, std::string config_path)
Constructor.
virtual void calibrate()
The actual calibration.
float get_new_pitch(float z, float old_pitch)
Compute the new pitch based on the old pitch and the mean z.
Laser360Interface Fawkes BlackBoard Interface.
Remote configuration via Fawkes net.