|
|
@ -90,20 +90,21 @@ void Subboard10Hbot::initialize() { |
|
|
|
xy_defaultcfg.robot_type = XYRobotCtrlModule::khbot; |
|
|
|
xy_defaultcfg.x_shaft = 0; |
|
|
|
xy_defaultcfg.y_shaft = 1; |
|
|
|
xy_defaultcfg.ihold = 1; |
|
|
|
xy_defaultcfg.irun = 16; |
|
|
|
xy_defaultcfg.ihold = 3; |
|
|
|
xy_defaultcfg.irun = 20; |
|
|
|
xy_defaultcfg.iholddelay = 100; |
|
|
|
xy_defaultcfg.distance_scale = 7344; |
|
|
|
xy_defaultcfg.shift_x = 0; |
|
|
|
xy_defaultcfg.shift_y = 0; |
|
|
|
|
|
|
|
// limit
|
|
|
|
xy_defaultcfg.acc = 800; |
|
|
|
xy_defaultcfg.dec = 800; |
|
|
|
xy_defaultcfg.acc = 400; |
|
|
|
xy_defaultcfg.dec = 400; |
|
|
|
xy_defaultcfg.min_x = 0; |
|
|
|
xy_defaultcfg.max_x = 0; |
|
|
|
xy_defaultcfg.min_y = 0; |
|
|
|
xy_defaultcfg.max_y = 0; |
|
|
|
xy_defaultcfg.default_velocity = 300; |
|
|
|
|
|
|
|
xy_defaultcfg.run_to_zero_speed = 80; |
|
|
|
xy_defaultcfg.look_zero_edge_speed = 10; |
|
|
|