| | |
| | | return AjaxResult.success(state); |
| | | } |
| | | |
| | | @ApiOperation("无人机控制订阅") |
| | | @GetMapping("/uavControlSubscribe") |
| | | public AjaxResult uavControlSubscribe(String boxSn) { |
| | | tyService.uavControlSubscribe(boxSn); |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | @ApiOperation("云台转动(基于角度)") |
| | | @GetMapping("/controlAngle") |
| | | public AjaxResult controlAngle(String boxSn,Integer actionId,Integer rotationAngle) { |
| | | tyService.controlAngle(boxSn,actionId,rotationAngle); |
| | | tyService.angleControl(boxSn,actionId,rotationAngle); |
| | | return AjaxResult.success(); |
| | | } |
| | | |