The proportional constant of the PI controller. When set to 0.0, the proportional constant will be set by the following formula from the current sync interval. The default is 0.0. kp = min(kp_scale * sync^kp_exponent, kp_norm_max / sync)) ...
#include "pi.h" #include "servo_private.h"#include "print.h"#define NSEC_PER_SEC 1000000000struct servo *servo_create(struct config *cfg, enum servo_type type, @@ -79,6 +82,9 @@ struct servo *servo_create(struct config *cfg, enum servo_type type, ...
pi.c pi.h pmc.8 pmc.c pmc_common.c pmc_common.h port.c port.h port_private.h port_signaling.c pqueue.c pqueue.h print.c print.h ptp4l.8 ptp4l.c raw.c raw.h rtnl.c rtnl.h servo.c servo.h servo_private.h sk.c
.BR pi_max_frequency . .TP .B maxStepsRemoved When using this option, if the value of stepsRemoved of an Announce message is greater than or equal to the value of maxStepsRemoved the Announce message is not considered in the operation of the BMCA. The default value is 255. ...
(int64_t)x_interval, y_interval); } s->last_update = local_ts; } static void add_sample(struct linreg_servo *s, int64_t offset, double weight) { s->last_point = (s->last_point + 1) % MAX_POINTS; s->points[s->last_point].x = s->reference.x; s->points[s->last_point...
(c->sanity_check && clockcheck_sample(c->sanity_check, ts)) { servo_reset(c->servo); } } double clock_rate_ratio(struct clock *c) { if (c->free_running) { return c->master_local_rr; } return servo_rate_ratio(c->servo); } struct servo *clock_servo(struct clock *c) { ...