I am running the new code and found out 'wrong key!' error in the serial port window when running k-commands. Also when running a script in demos such as climbCeiling in python I got the same, though Petoi moves correctly for all other commands such as 'm', 'I',... Herewith attached screen shot of Arduino serial window and python terminal
![](https://static.wixstatic.com/media/fa8d6c_0bddfd12fd474568844f1cdc8f7146d1~mv2.png/v1/fill/w_980,h_539,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/fa8d6c_0bddfd12fd474568844f1cdc8f7146d1~mv2.png)
![](https://static.wixstatic.com/media/fa8d6c_fe27bb4279734c47989bc5f0b23dddcc~mv2.png/v1/fill/w_959,h_656,al_c,q_90,enc_auto/fa8d6c_fe27bb4279734c47989bc5f0b23dddcc~mv2.png)
thanks problem solved
in the wrapper of arterial.py, add ‘\n’ for ‘k’ can solve the problem.