summaryrefslogtreecommitdiff
path: root/digital/mimot/tools/mimot/init.py
diff options
context:
space:
mode:
Diffstat (limited to 'digital/mimot/tools/mimot/init.py')
-rw-r--r--digital/mimot/tools/mimot/init.py42
1 files changed, 23 insertions, 19 deletions
diff --git a/digital/mimot/tools/mimot/init.py b/digital/mimot/tools/mimot/init.py
index a05f8c44..1900de67 100644
--- a/digital/mimot/tools/mimot/init.py
+++ b/digital/mimot/tools/mimot/init.py
@@ -1,27 +1,31 @@
"""Default parameters for asserv."""
-target_marcel = dict (
- a0kp = 4,
- a0a = 16, a0sm = 0x60, a0ss = 0x10,
- a0be = 256, a0bs = 0x18, a0bc = 5,
- a1kp = 4,
- a1a = 16, a1sm = 0x60, a1ss = 0x10,
- a1be = 256, a1bs = 0x18, a1bc = 5,
+host_marcel = dict (
+ scale = 0.0395840674352314, f = 0xdd1,
+ tkp = 1, tkd = 16,
+ ta = 0.75, tsm = 0x20, tss = 0x10,
+ akp = 2, akd = 16,
+ aa = 0.25, asm = 0x20, ass = 0x10,
E = 0x3ff, D = 0x1ff,
- w = 0x03,
+ l = 0x1000,
)
-target_robospierre = dict (
- a0kp = 4,
- a0a = 8, a0sm = 0x60, a0ss = 0x10,
- a0be = 256, a0bs = 0x18, a0bc = 5,
- a1kp = 4,
- a1a = 0.5, a1sm = 0x30, a1ss = 0x08,
- a1be = 256, a1bs = 0x18, a1bc = 5,
+host = {
+ 'tazg': host_marcel,
+ 'giboulee': host_marcel,
+ 'marcel': host_marcel,
+ }
+target_marcel = dict (
+ scale = 0.0415178942124, f = 0xcef,
+ c = float (0x00ffbabf) / (1 << 24),
+ tkp = 1, tkd = 16,
+ ta = 0.75, tsm = 0x20, tss = 0x10,
+ akp = 2, akd = 16,
+ aa = 0.25, asm = 0x20, ass = 0x10,
E = 0x3ff, D = 0x1ff,
- w = 0x01,
+ l = 0x1000,
+ w = 0x00,
)
target = {
+ 'tazg': target_marcel,
+ 'giboulee': target_marcel,
'marcel': target_marcel,
- 'robospierre': target_robospierre,
}
-
-host = target