系统采用CPU驱动直流无刷电机转动,编码器输出的正余弦信号指示电机的位置。
The system with CPU drives the DC brushless motor, and the encoder indicates the motor position outputting the sine and cosine signal.
这个数组再被传给Services_JSON编码器作为其输入,该编码器给出json格式的输出。
That array is then passed as an input to the Services_JSON encoder, which gives you the JSON-formatted output.
如果出现这种情况,则需要明确使用Python的Unicode设施更小心地处理输出(可以用标准codecs模块中的Unicode编码器包装输出流)。
If so, you'll want to use Python's explicit Unicode facilities for more careful output (probably by wrapping the output stream with a Unicode encoder from the standard codecs module).
应用推荐