Rev 1695 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1695 | Rev 1696 | ||
---|---|---|---|
Line 13... | Line 13... | ||
13 | import dongfang.mkt.frames.DebugRequestFrame; |
13 | import dongfang.mkt.frames.DebugRequestFrame; |
14 | import dongfang.mkt.frames.ExternalControlRequestFrame; |
14 | import dongfang.mkt.frames.ExternalControlRequestFrame; |
15 | import dongfang.mkt.frames.LoopbackTestRequestFrame; |
15 | import dongfang.mkt.frames.LoopbackTestRequestFrame; |
16 | import dongfang.mkt.frames.MotorTestRequestFrame; |
16 | import dongfang.mkt.frames.MotorTestRequestFrame; |
17 | import dongfang.mkt.frames.OSDDataRequestFrame; |
17 | import dongfang.mkt.frames.OSDDataRequestFrame; |
- | 18 | import dongfang.mkt.frames.ProfilerLabelRequestFrame; |
|
- | 19 | import dongfang.mkt.frames.ProfilerRequestFrame; |
|
18 | import dongfang.mkt.frames.ReadExternalControlRequestFrame; |
20 | import dongfang.mkt.frames.ReadExternalControlRequestFrame; |
19 | import dongfang.mkt.frames.ReadIMUConfigurationRequestFrame; |
21 | import dongfang.mkt.frames.ReadIMUConfigurationRequestFrame; |
20 | import dongfang.mkt.frames.ReadMotorMixerRequestFrame; |
22 | import dongfang.mkt.frames.ReadMotorMixerRequestFrame; |
21 | import dongfang.mkt.frames.ReadParamSetRequestFrame; |
23 | import dongfang.mkt.frames.ReadParamSetRequestFrame; |
22 | import dongfang.mkt.frames.ReadRCChannelsRequestFrame; |
24 | import dongfang.mkt.frames.ReadRCChannelsRequestFrame; |
Line 131... | Line 133... | ||
131 | public void visit(AnalogDebugLabelRequestFrame f) throws IOException { |
133 | public void visit(AnalogDebugLabelRequestFrame f) throws IOException { |
132 | writeByte('a'); |
134 | writeByte('a'); |
133 | base64OutputStream.writeByte(f.getChannel()); |
135 | base64OutputStream.writeByte(f.getChannel()); |
134 | } |
136 | } |
Line -... | Line 137... | ||
- | 137 | ||
- | 138 | public void visit(ProfilerLabelRequestFrame f) throws IOException { |
|
- | 139 | writeByte('f'); |
|
- | 140 | base64OutputStream.writeByte(f.getChannel()); |
|
- | 141 | } |
|
135 | 142 | ||
136 | public void visit(AttitudeDataRequestFrame f) throws IOException { |
143 | public void visit(AttitudeDataRequestFrame f) throws IOException { |
137 | writeByte('c'); |
144 | writeByte('c'); |
138 | base64OutputStream.writeByte(f.getAutoSendInterval()); |
145 | base64OutputStream.writeByte(f.getAutoSendInterval()); |
Line 139... | Line 146... | ||
139 | } |
146 | } |
140 | 147 | ||
141 | public void visit(DebugRequestFrame f) throws IOException { |
148 | public void visit(DebugRequestFrame f) throws IOException { |
142 | writeByte('d'); |
149 | writeByte('d'); |
Line -... | Line 150... | ||
- | 150 | base64OutputStream.writeByte(f.getAutoSendInterval()); |
|
- | 151 | } |
|
- | 152 | ||
- | 153 | public void visit(ProfilerRequestFrame f) throws IOException { |
|
- | 154 | writeByte('u'); |
|
143 | base64OutputStream.writeByte(f.getAutoSendInterval()); |
155 | base64OutputStream.writeByte(f.getAutoSendInterval()); |
144 | } |
156 | } |
145 | 157 | ||
Line 146... | Line 158... | ||
146 | public void visit(DCMMatrixRequestFrame f) throws IOException { |
158 | public void visit(DCMMatrixRequestFrame f) throws IOException { |