mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 11:37:45 +08:00
修复BMI088初始化异常,测试通过请尽快迁移到新版本。增加了电机的协议说明。
This commit is contained in:
16
modules/motor/HTmotor/HT04.md
Normal file
16
modules/motor/HTmotor/HT04.md
Normal file
@@ -0,0 +1,16 @@
|
||||
- 在通过串口设置电机的时候,注意发送指令不要追加回车\n,否则电机端不响应。可以使用sscom,其会将你的按键直接当作ascii字符发送出去。
|
||||
|
||||
- **此电机的CAN线序和RoboMaster开发板相反,注意单独制作CAN线**
|
||||
|
||||
- 电机控制和反馈报文:
|
||||

|
||||
|
||||
注意,我们的代码实现不使用其电调协议的位置PD算法;自行实现了三环,并在最后给出电流参考值,发送给电调。因此command packed structure中的**pos cmd & vel cmd & Kp & Kd均为零**。报文均为小端,**低位在前**。
|
||||
|
||||
请注意发送和反馈数据的**单位**。
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
> ~~HT的电机协议做的真不行,纯纯直接抄mit还抄不明白,之后全部换成LK!~~
|
||||
BIN
modules/motor/HTmotor/控制报文.png
Normal file
BIN
modules/motor/HTmotor/控制报文.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 103 KiB |
BIN
modules/motor/HTmotor/驱动器硬件说明.pdf
Normal file
BIN
modules/motor/HTmotor/驱动器硬件说明.pdf
Normal file
Binary file not shown.
Reference in New Issue
Block a user