From 3c491b8c4ac9b6a502e510ba9d61cbeda2b4d128 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Fri, 30 Mar 2012 00:20:06 +0200 Subject: digital/mimot: add guybrush motor --- digital/mimot/tools/mimot/init.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'digital/mimot/tools/mimot') diff --git a/digital/mimot/tools/mimot/init.py b/digital/mimot/tools/mimot/init.py index 5dbe1a87..7ce31c5a 100644 --- a/digital/mimot/tools/mimot/init.py +++ b/digital/mimot/tools/mimot/init.py @@ -17,9 +17,16 @@ target_robospierre = dict ( a1_error_limit = 64, a1_bd_speed_limit = 0x08, a1_bd_counter_limit = 5, e_sat = 0x3ff, d_sat = 0x1ff, ) +target_guybrush = dict ( + a0_kp = 1, a0_kd = 16, + a0_acc = 4, a0_speed_max = 0x20, a0_speed_slow = 0x02, + a0_error_limit = 32, a0_bd_speed_limit = 0x08, a0_bd_counter_limit = 125, + e_sat = 0x3ff, d_sat = 0x1ff, + ) target = { 'marcel': target_marcel, 'robospierre': target_robospierre, + 'guybrush': target_guybrush, } host = target -- cgit v1.2.3