| | |
| | | package com.ard.tianyu.netty.command.control; |
| | | |
| | | import com.ard.tianyu.model.dto.control.AbsAngleControlDto; |
| | | import com.ard.tianyu.model.dto.control.AbsAngleControlDTO; |
| | | import com.ard.tianyu.netty.command.BaseCommand; |
| | | import io.netty.buffer.ByteBuf; |
| | | import lombok.Data; |
| | |
| | | private final float yaw; // 平移 |
| | | private final float roll; // 横滚 |
| | | |
| | | public AbsAngleControlCommand(AbsAngleControlDto absAngleControlDto) { |
| | | public AbsAngleControlCommand(AbsAngleControlDTO absAngleControlDto) { |
| | | setDataHeader((short) 0x7479); |
| | | setDataLength((short) 30); |
| | | setBoxSn(absAngleControlDto.getBoxSn().getBytes()); |