Motor command encoding

shape