mjbots / moteus

Brushless servo and quadrupedal robot
Apache License 2.0
824 stars 260 forks source link

How to use the can send command? Display ERR unknown command on tview #63

Closed away12356 closed 1 month ago

away12356 commented 1 month ago

屏幕截图 2024-07-25 105910

jpieper commented 1 month ago

The tview console lets you enter diagnostic mode commands, as described here: https://github.com/mjbots/moteus/blob/main/docs/reference.md#b-diagnostic-command-set

If you want to send raw CAN frames, you need to exit tview, and open the fdcanusb with a serial emulator, like "putty" on Windows or "minicom" or "screen" on Linux.

jpieper commented 1 month ago

I'll assume you were able to make this work.

away12356 commented 1 month ago

What command is sent in the original CAN from POS 1 0 nan v1 a1?