|
|
|
@ -46,15 +46,15 @@ config::Config UGV::DefaultConfig() {
@@ -46,15 +46,15 @@ config::Config UGV::DefaultConfig() {
|
|
|
|
|
config::Config c; |
|
|
|
|
|
|
|
|
|
auto *apid = c.mutable_angle_pid(); |
|
|
|
|
apid->set_kp(0.10); |
|
|
|
|
apid->set_ki(0.0); |
|
|
|
|
apid->set_kp(0.06); |
|
|
|
|
apid->set_ki(0.01); |
|
|
|
|
apid->set_kd(0.4); |
|
|
|
|
apid->set_max_output(0.5); |
|
|
|
|
apid->set_max_output(0.6); |
|
|
|
|
apid->set_max_i_error(15.0); |
|
|
|
|
|
|
|
|
|
c.set_min_target_dist(10.0); |
|
|
|
|
c.set_min_target_dist(1.0); |
|
|
|
|
c.set_min_flip_pitch(90.0); |
|
|
|
|
c.set_drive_power(0.3); |
|
|
|
|
c.set_drive_power(0.4); |
|
|
|
|
c.set_mag_declination(11.5); |
|
|
|
|
return c; |
|
|
|
|
} |
|
|
|
|