dt_ctrl_az_sim.ctrl 3.84 KB
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1
blocks {
Jeroen Vreeken's avatar
Jeroen Vreeken committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
	{ "limit",	"dt_az_speed_limit"	}
	{ "quantize",	"dt_az_speed_quantize"	}
	{ "subtract",	"dt_az_speed_fb"	}
	{ "pid",	"dt_az_driver"	}
	{ "limit_dyn",	"dt_az_torque_limit"	}
	{ "random",	"dt_az_torque_noise_rnd"	}
	{ "gain",	"dt_az_torque_noise_gain"	}
	{ "value",	"dt_az_torque_noise_0"	}
	{ "sine",	"dt_az_torque_noise_sine"	}
	{ "add",	"dt_az_torque_noise_add"	}
	{ "friction",	"dt_az_friction"	}
	{ "pid",	"dt_az_accelerate"	}
	{ "pid",	"dt_az_speed2pos"	}
	{ "value",	"dt_az_offset"	}
	{ "add",	"dt_az_offset_add"	}
	{ "quantize",  	"dt_az_pos_quantize"	}
	{ "register",	"dt_az_enabled"	}
	{ "value_bool",	"dt_az_safety_n"	}
	{ "not",	"dt_az_safety_n_not"	}
	{ "value_bool",	"dt_az_safety_p"	}
	{ "not",	"dt_az_safety_p_not"	}
23
	{ "value_bool",	"dt_az_bex" 		}
Jeroen Vreeken's avatar
Jeroen Vreeken committed
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
	{ "value",	"dt_az_focusbox"	}

	{ "dt_az_stoeber_sim", "dt_az" }
}

links {
        { "dt_az_speed_limit",		"out",		"dt_az_speed_quantize",		"in",		true }
	{ "dt_az_speed_quantize",	"out",		"dt_az_speed_fb", 		"positive",	true }
	{ "dt_az_speed_fb",		"difference",	"dt_az_driver", 		"in",       	true }
	{ "dt_az_driver",		"out",		"dt_az_torque_limit",		"in",       	true }
	{ "dt_az_torque_limit",		"out",		"dt_az_torque_noise_add",	"in0",      	true }
	{ "dt_az_torque_noise_0",	"value",	"dt_az_torque_noise_gain",	"in",		true }
	{ "dt_az_torque_noise_gain",	"out",		"dt_az_torque_noise_add", 	"in1", 		true }
	{ "dt_az_torque_noise_add",	"out",		"dt_az_friction",		"in",       	true }
	{ "dt_az_friction",		"out",		"dt_az_accelerate",        	"in",       	true }
	{ "dt_az_accelerate",		"out",		"dt_az_speed2pos",         	"in",       	true }
	{ "dt_az_accelerate",		"out",		"dt_az_speed_fb",          	"negative", 	false }
	{ "dt_az_accelerate",		"out",		"dt_az_friction",          	"speed",    	false }

	{ "dt_az_speed2pos",		"out",		"dt_az_offset_add",        	"in0",      	false }
	{ "dt_az_offset",		"value",	"dt_az_offset_add",        	"in1",		false }

	{ "dt_az_offset_add",		"out",		"dt_az_pos_quantize",      	"in", 		false }

	{ "dt_az_safety_n", 		"value",	"dt_az_safety_n_not",		"input",	true }
	{ "dt_az_safety_p", 		"value",	"dt_az_safety_p_not",		"input",	true }
}

params {
	{ "dt_az_speed_limit",       "max",		(float)314.159265359 }
	{ "dt_az_speed_limit",       "min",             (float)-314.159265359 }
	{ "dt_az_speed_quantize",    "quantum",         (float)0.00479368996214 }
	{ "dt_az_driver",            "kp",             	(float)1.0 }
	{ "dt_az_driver",            "ki",              (float)100.0 }
	{ "dt_az_driver",            "kd",              (float)0.01 }
	{ "dt_az_driver",            "t",               (float)0.004 }
	{ "dt_az_friction",          "friction_static",	(float)6.0 }
	{ "dt_az_friction",          "friction_dynamic",(float)5.8 }
	{ "dt_az_friction",          "deadzone_max",    (float)0.1 }
	{ "dt_az_friction",          "deadzone_min", 	(float)-0.1 }
	{ "dt_az_accelerate",        "kp",              (float)0.0  }
	{ "dt_az_accelerate",        "ki",             	(float)25.0 }
	{ "dt_az_accelerate",        "kd",              (float)0.0 }
	{ "dt_az_accelerate",        "t",               (float)0.004 }
	{ "dt_az_speed2pos",         "kp",              (float)0.0 }
	{ "dt_az_speed2pos",         "ki",              (float)1.0 }
	{ "dt_az_speed2pos",         "kd",              (float)0.0 }
	{ "dt_az_speed2pos",         "t",               (float)0.004 }
	{ "dt_az_pos_quantize",      "quantum",         (float)8.72664625997e-07 }
	{ "dt_az_torque_noise_gain", "gain",            (float)0.0 }
	{ "dt_az_torque_noise_0",    "value",           (float)0.0 }
	{ "dt_az_torque_noise_sine", "f",               (float)0.0 }
	{ "dt_az_focusbox",          "value",           (float)5.0 }
	{ "dt_az_offset",            "value",      	(float)-21730.3997815 }
78
	{ "dt_az_bex",               "value",      	(int)0 }
Jeroen Vreeken's avatar
Jeroen Vreeken committed
79
80
	{ "dt_az_safety_p",          "value",      	(int)1 }
	{ "dt_az_safety_n",          "value",      	(int)1 }
Jeroen Vreeken's avatar
Jeroen Vreeken committed
81
}