mirror of
https://github.com/rene-dev/stmbl.git
synced 2024-12-26 02:22:25 +00:00
Compare commits
2 Commits
b58bc77bf6
...
fb23ed3176
Author | SHA1 | Date | |
---|---|---|---|
|
fb23ed3176 | ||
|
b3a66a4ddd |
@ -19,6 +19,9 @@ pid0.vel_d = idm0.vel_d
|
|||||||
idm0.torque = pid0.torque_cmd
|
idm0.torque = pid0.torque_cmd
|
||||||
idm0.fb_torque = pid0.fb_torque_cmd
|
idm0.fb_torque = pid0.fb_torque_cmd
|
||||||
|
|
||||||
|
vel1.torque = 0
|
||||||
|
vel2.torque = 0
|
||||||
|
|
||||||
conf0.max_pos_error = 0
|
conf0.max_pos_error = 0
|
||||||
conf0.max_sat = 10
|
conf0.max_sat = 10
|
||||||
conf0.vel_g = 1
|
conf0.vel_g = 1
|
||||||
|
@ -62,13 +62,13 @@ static void nrt_init(void *ctx_ptr, hal_pin_inst_t *pin_ptr) {
|
|||||||
PIN(ji) = 10.0;
|
PIN(ji) = 10.0;
|
||||||
PIN(pos_bw) = 5.0;
|
PIN(pos_bw) = 5.0;
|
||||||
PIN(vel_bw) = 40.0;
|
PIN(vel_bw) = 40.0;
|
||||||
PIN(vel_d) = 2.0;
|
PIN(vel_d) = 4.0;
|
||||||
PIN(max_vel) = 25.0;
|
PIN(max_vel) = 25.0;
|
||||||
PIN(max_acc) = 250.0;
|
PIN(max_acc) = 250.0;
|
||||||
PIN(min_pos) = -10.0;
|
PIN(min_pos) = -10.0;
|
||||||
PIN(max_pos) = 10.0;
|
PIN(max_pos) = 10.0;
|
||||||
PIN(auto_step) = 1.4;
|
PIN(auto_step) = 1.4;
|
||||||
PIN(inertia) = 0.0001;
|
PIN(inertia) = 0.0002;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void nrt(void *ctx_ptr, hal_pin_inst_t *pin_ptr) {
|
static void nrt(void *ctx_ptr, hal_pin_inst_t *pin_ptr) {
|
||||||
|
Loading…
Reference in New Issue
Block a user