% Variables which can be streamed and plotted USER_VARS.VAR_TIMESTAMP = 0; % Timestamp. [us] USER_VARS.VAR_POS_REG_PID_P = 1; % Position regulator - proportionnal coefficient. [1] USER_VARS.VAR_POS_REG_PID_I = 2; % Position regulator - integral coefficient. [1] USER_VARS.VAR_POS_REG_PID_D = 3; % Position regulator - derivative coefficient. [1] USER_VARS.VAR_POS_REG_PID_ARW = 4; % Position regulator - ARW (integrator max value). [1] USER_VARS.VAR_POS_REG_PID_INTEGRATOR = 5; % Position regulator - integrator state. [1] USER_VARS.VAR_POS_REG_PID_OUTPUT = 6; % Position regulator - output. [mN.m] USER_VARS.VAR_POS_REG_SAMPLING_PERIOD = 7; % Position regulator - sampling period [us] USER_VARS.VAR_WALL_POSITION = 8; % Position regulator - target (wall position). [pulses] USER_VARS.VAR_MEASURED_ANGLE_RAW = 9; % Measured output angle, unfiltered. [pulses] USER_VARS.VAR_MEASURED_ANGLE_FILTERED = 10; % Measured output angle, filtered. [pulses] USER_VARS.VAR_COMM_TX_PERIOD = 11; % Communication loop - sending period. [us] USER_VARS.VAR_ACTIVE_FILTER = 12; % Active filter type (0: none, 1: first-order, 2: running mean). [None] USER_VARS.VAR_1ST_FILT_TAU = 13; % First order filter - time constant. [1] USER_VARS.VAR_DAC1_VOLTAGE = 14; % DAC 1 channel voltage. [V] USER_VARS.VAR_DAC2_VOLTAGE = 15; % DAC 2 channel voltage. [V] USER_VARS.VAR_ADC1_VOLTAGE = 16; % ACDC 1 channel voltage. [V] USER_VARS.VAR_ADC2_VOLTAGE = 17; % ACDC 2 channel voltage. [V] USER_VARS.VAR_HALL_ANGLE = 18; % Angle measured by the Hall sensor. [deg] USER_VARS.VAR_TACHO_SPEED = 19; % Angular speed measured by the tachometer. [deg/s] USER_VARS.VAR_STRAIN_GAUGE_FORCE = 20; % Force measured by the strain gauge. [?] USER_VARS.VAR_USER_VAR_1 = 21; % User Variable 1 [] USER_VARS.VAR_USER_VAR_2 = 22; % User Variable 2 [] USER_VARS.VAR_USER_VAR_3 = 23; % User Variable 3 [] USER_VARS.VAR_USER_VAR_4 = 24; % User Variable 4 [] USER_VARS.VAR_USER_VAR_5 = 25; % User Variable 5 []