This commit is contained in:
parent
3e6c36aa0e
commit
00232e4251
|
@ -63,7 +63,7 @@ static float chassis_vx, chassis_vy; // 将云台系的速度投影到底盘
|
||||||
static float vt_lf, vt_rf, vt_lb, vt_rb; // 底盘速度解算后的临时输出,待进行限幅
|
static float vt_lf, vt_rf, vt_lb, vt_rb; // 底盘速度解算后的临时输出,待进行限幅
|
||||||
first_order_filter_type_t vx_filter;
|
first_order_filter_type_t vx_filter;
|
||||||
first_order_filter_type_t vy_filter;
|
first_order_filter_type_t vy_filter;
|
||||||
//提交
|
|
||||||
void ChassisInit() {
|
void ChassisInit() {
|
||||||
// 四个轮子的参数一样,改tx_id和反转标志位即可
|
// 四个轮子的参数一样,改tx_id和反转标志位即可
|
||||||
Motor_Init_Config_s chassis_motor_config = {
|
Motor_Init_Config_s chassis_motor_config = {
|
||||||
|
|
Loading…
Reference in New Issue