more observation & testing...
This commit is contained in:
parent
d2766b2f44
commit
d965a971d8
2 changed files with 71 additions and 3 deletions
|
|
@ -281,7 +281,7 @@ void osc()
|
|||
}
|
||||
}
|
||||
}
|
||||
Task osc_task(0, TASK_FOREVER, &osc, &runner, false); // -> ENABLED, at start-up.
|
||||
Task osc_task(1, TASK_FOREVER, &osc, &runner, false); // -> ENABLED, at start-up.
|
||||
//*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
|
||||
//
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
|
||||
|
||||
with : Task osc_task(0, TASK_FOREVER, &osc, &runner, false);
|
||||
|
||||
|
||||
|
||||
( id=4001, pitch=0.00, velocity=96.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=98.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
|
|
@ -100,5 +106,67 @@ set_speed:44
|
|||
156
|
||||
( id=4001, pitch=0.00, velocity=44.00, onoff=0.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
(pio) doohoyi@Doohos-MacBook-Pro:~/Documents/Arduino/faa/faa_roller (wifi-interrupt
|
||||
)$ arduino-cli compile && arduino-cli upload -v -p /dev/tty.SLAB_USBtoUART && pio d
|
||||
evice monitor -p /dev/tty.SLAB_USBtoUART -b 115200
|
||||
)$ arduino-cli compile && arduino-cli upload -v -p /dev/tty.SLAB_USBtoUART && pio device monitor -p /dev/tty.SLAB_USBtoUART -b 115200
|
||||
|
||||
|
||||
|
||||
|
||||
with : Task osc_task(1, TASK_FOREVER, &osc, &runner, false);
|
||||
|
||||
|
||||
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=45.00, onoff=0.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=46.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=48.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
set_speed:48
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=50.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=52.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
set_speed:52
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=53.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=55.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
set_speed:55
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=56.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=58.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
set_speed:58
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=59.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=61.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
set_speed:61
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=62.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=64.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
set_speed:64
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=65.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=67.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
set_speed:67
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=68.00, onoff=1.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
156
|
||||
( id=4001, pitch=0.00, velocity=69.00, onoff=0.00, x1=0.00, x2=0.00, x3=0.00, x4=0.00, ps=2000.00 )
|
||||
set_speed:69
|
||||
|
||||
|
||||
|
||||
osc msg parsing is lost + sometimes, set_speed also doesn't fire.
|
||||
|
||||
- when no set_speed, subsequent 1-2-3 msg lost..
|
||||
when i change scheduler speed slower. becomes worse. (loose more)
|
||||
|
||||
- then scheduling too slow?
|
||||
|
||||
- but then, why no set_speed? isn't it being streamed? (buffered?=saved?)
|
||||
|
||||
- at some cases, only set_speed doesn't fire. => msg. is there. but set_speed not.
|
||||
|
|
|
|||
Loading…
Reference in a new issue