RobotHardware-UESTC/Hardware/Pibot驱动底盘/PiRobot_Firmware v1.0/STM32/params.mk

50 lines
750 B
Makefile
Raw Normal View History

2023-12-12 10:36:56 +08:00
#common
#model
-DMODEL_TYPE_2WD_DIFF=1
-DMODEL_TYPE_4WD_DIFF=2
-DMODEL_TYPE_3WD_OMNI=101
-DMODEL_TYPE_4WD_OMNI=102
-DMODEL_TYPE_4WD_MECANUM=201
-DROBOT_MODEL=MODEL_TYPE_2WD_DIFF
-DFW_VERSION=\"v2.1.0\"
#motor
-DCOMMON_CONTROLLER=1
-DAF_SHIELD_CONTROLLER=2
-DMOTOR_CONTROLLER=COMMON_CONTROLLER
-DMOTOR_DRIVER_TB6612=1
-DMOTOR_DRIVER_DRV8870=2
2024-01-24 20:44:32 +08:00
-DMOTOR_DRIVER=MOTOR_DRIVER_TB6612
2023-12-12 10:36:56 +08:00
#uart
-DMASTER_USART=3
#debug
-DDEBUG_ENABLE=0
-DODOM_DEBUG_OUTPUT=0
-DPID_DEBUG_OUTPUT=0
#joystick
-DJOYSTICK_ENABLE=0
-DJOYSTICK_DEBUG_ENABLE=0
-DJOYSTICK_FOR_HOLONOMIC=0
#speed
-DMAX_LINER_X=50
-DMAX_LINER_Y=0
-DMAX_ANGULAR_Z=250
#imu
-DIMU_ENABLE=1
2023-12-26 18:40:22 +08:00
-DIMU_DEBUG_ENABLE=1
2023-12-12 10:36:56 +08:00
# intervel
-DCALC_ODOM_INTERVAL=10
-DCHECK_JOYSTICK_INTERVAL=100
-DCALC_IMU_INTERVAL=1