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