JointControllerState.fromJson constructor
Implementation
factory JointControllerState.fromJson(Map<String, Object?> json) =>
JointControllerState(
header: Field.asMessage(json['header'], ros2.Header.fromJson),
setPoint: Field.doubleAt(json, 'set_point'),
processValue: Field.doubleAt(json, 'process_value'),
processValueDot: Field.doubleAt(json, 'process_value_dot'),
error: Field.doubleAt(json, 'error'),
timeStep: Field.doubleAt(json, 'time_step'),
command: Field.doubleAt(json, 'command'),
p: Field.doubleAt(json, 'p'),
i: Field.doubleAt(json, 'i'),
d: Field.doubleAt(json, 'd'),
iClamp: Field.doubleAt(json, 'i_clamp'),
antiwindup: Field.boolAt(json, 'antiwindup'),
);