| File was renamed from ard-work/src/main/java/com/ard/tianyu/netty/command/DroneReadyNotificationCommand.java |
| | |
| | | * @date 2024/10/24 17:18 |
| | | */ |
| | | @Data |
| | | public class DroneReadyNotificationCommand extends BaseCommand { |
| | | public class UavReadyNotificationCommand extends BaseCommand { |
| | | |
| | | private byte actionCode; |
| | | private TelemetryDataPB.UavInitInfo uavInitInfo; |
| | | |
| | | public DroneReadyNotificationCommand(String boxSn,TelemetryDataPB.UavInitInfo uavInitInfo, byte actionCode) { |
| | | public UavReadyNotificationCommand(String boxSn, TelemetryDataPB.UavInitInfo uavInitInfo, byte actionCode) { |
| | | setDataHeader((short) 0x6A77); // 设置帧头 |
| | | // setDataLength((short) (1 + uavState.toByteArray().length)); // 数据长度 |
| | | setBoxSn(boxSn.getBytes()); |