Compare commits

...

1 Commits

  1. 1
      Core/BASE/Src/MSP/msp_K1061DC.c
  2. 4
      Core/BASE/Src/MSP/msp_TL720D.c
  3. BIN
      Debug/Core/BASE/Src/MSP/msp_K1061DC.o
  4. 2
      Debug/Core/BASE/Src/MSP/msp_K1061DC.su
  5. BIN
      Debug/Core/BASE/Src/MSP/msp_TL720D.o
  6. 4
      Debug/Core/BASE/Src/MSP/msp_TL720D.su
  7. BIN
      Debug/Negative_Pressure_UDP_1.1.bin
  8. BIN
      Debug/Negative_Pressure_UDP_1.1.elf
  9. 117735
      Debug/Negative_Pressure_UDP_1.1.list
  10. 3141
      Debug/Negative_Pressure_UDP_1.1.map

1
Core/BASE/Src/MSP/msp_K1061DC.c

@ -66,6 +66,7 @@ static void decode_K1061DC(uint8_t *buffer, uint16_t length)
float pressure_value = (current_uA - 12000) / 80.0; float pressure_value = (current_uA - 12000) / 80.0;
if (pressure != NULL) { if (pressure != NULL) {
*pressure = pressure_value; *pressure = pressure_value;
*pressure = *pressure +1;//补偿开机默认值(-1左右)
} }
// 可选: 更新硬件错误状态(通信成功) // 可选: 更新硬件错误状态(通信成功)
HardWareErrorController->Set_PCOMHardWare(HardWareErrorController, "K1061DC", 1); HardWareErrorController->Set_PCOMHardWare(HardWareErrorController, "K1061DC", 1);

4
Core/BASE/Src/MSP/msp_TL720D.c

@ -193,7 +193,9 @@ static void decode_TL720D(uint8_t *buffer, uint16_t length)
// *RobotAngle = SP_MSP_RF_TL720D_Parameters_In->RF_Angle_Roll; // *RobotAngle = SP_MSP_RF_TL720D_Parameters_In->RF_Angle_Roll;
//水平向左为0°,转换为竖直向上为0°; //水平向左为0°,转换为竖直向上为0°;
*RobotAngle = changeAngle_LeftZerotoUpZero(SP_MSP_RF_TL720D_Parameters_In->RF_Angle_Roll); *RobotAngle = changeAngle_LeftZerotoUpZero(SP_MSP_RF_TL720D_Parameters_In->RF_Angle_Roll);//1号机器人
//水平向右左为0°,转换为竖直向上为0°;
*RobotAngle = *RobotAngle * -1;// 2号
//Is_TL720_Updating_Flag=true; //Is_TL720_Updating_Flag=true;
HardWareErrorController->Set_PCOMHardWare(HardWareErrorController,"TL720D",1); HardWareErrorController->Set_PCOMHardWare(HardWareErrorController,"TL720D",1);

BIN
Debug/Core/BASE/Src/MSP/msp_K1061DC.o

Binary file not shown.

2
Debug/Core/BASE/Src/MSP/msp_K1061DC.su

@ -1,3 +1,3 @@
../Core/BASE/Src/MSP/msp_K1061DC.c:32:6:K1061DC_intialize 24 static ../Core/BASE/Src/MSP/msp_K1061DC.c:32:6:K1061DC_intialize 24 static
../Core/BASE/Src/MSP/msp_K1061DC.c:48:13:decode_K1061DC 40 static ../Core/BASE/Src/MSP/msp_K1061DC.c:48:13:decode_K1061DC 40 static
../Core/BASE/Src/MSP/msp_K1061DC.c:80:13:reading_K1061DC_Task 24 static ../Core/BASE/Src/MSP/msp_K1061DC.c:81:13:reading_K1061DC_Task 24 static

BIN
Debug/Core/BASE/Src/MSP/msp_TL720D.o

Binary file not shown.

4
Debug/Core/BASE/Src/MSP/msp_TL720D.su

@ -3,5 +3,5 @@
../Core/BASE/Src/MSP/msp_TL720D.c:97:13:reading_Task_DDM360B 32 static ../Core/BASE/Src/MSP/msp_TL720D.c:97:13:reading_Task_DDM360B 32 static
../Core/BASE/Src/MSP/msp_TL720D.c:124:13:reading_Task_TL720D 32 static ../Core/BASE/Src/MSP/msp_TL720D.c:124:13:reading_Task_TL720D 32 static
../Core/BASE/Src/MSP/msp_TL720D.c:163:13:decode_TL720D 48 static ../Core/BASE/Src/MSP/msp_TL720D.c:163:13:decode_TL720D 48 static
../Core/BASE/Src/MSP/msp_TL720D.c:210:12:changeAngle_LeftZerotoUpZero 24 static ../Core/BASE/Src/MSP/msp_TL720D.c:211:12:changeAngle_LeftZerotoUpZero 24 static
../Core/BASE/Src/MSP/msp_TL720D.c:223:16:getDeci 32 static ../Core/BASE/Src/MSP/msp_TL720D.c:224:16:getDeci 32 static

BIN
Debug/Negative_Pressure_UDP_1.1.bin

Binary file not shown.

BIN
Debug/Negative_Pressure_UDP_1.1.elf

Binary file not shown.

117735
Debug/Negative_Pressure_UDP_1.1.list

File diff suppressed because it is too large

3141
Debug/Negative_Pressure_UDP_1.1.map

File diff suppressed because it is too large
Loading…
Cancel
Save