Conversation
반복 블록의 동작을 명확히 하기 위해 설명을 보강했습니다.
이 변경은 새로운 기능이나 수정 사항을 포함할 수 있습니다.
불필요한 console제거
There was a problem hiding this comment.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
eslint
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
'Buffer' is not defined.
| func(sprite, script) { | ||
| const command = 'mapping_start'; | ||
| const commandBuffer = Buffer.from(encodeURIComponent(command)+"\r", 'utf8'); | ||
| const commandBuffer = Buffer.from( |
| const command = 'mapping_start'; | ||
| const commandBuffer = Buffer.from(encodeURIComponent(command)+"\r", 'utf8'); | ||
| const commandBuffer = Buffer.from( | ||
| encodeURIComponent(command) + '\r', |
There was a problem hiding this comment.
Unexpected string concatenation.
| encodeURIComponent(command) + '\r', | |
| `${encodeURIComponent(command) }\r`, |
| func(sprite, script) { | ||
| const command = 'takeoff'; | ||
| const commandBuffer = Buffer.from(encodeURIComponent(command)+"\r", 'utf8'); | ||
| const commandBuffer = Buffer.from( |
| const command = 'takeoff'; | ||
| const commandBuffer = Buffer.from(encodeURIComponent(command)+"\r", 'utf8'); | ||
| const commandBuffer = Buffer.from( | ||
| encodeURIComponent(command) + '\r', |
There was a problem hiding this comment.
Unexpected string concatenation.
| encodeURIComponent(command) + '\r', | |
| `${encodeURIComponent(command) }\r`, |
| func(sprite, script) { | ||
| const command = 'land'; | ||
| const commandBuffer = Buffer.from(encodeURIComponent(command)+"\r", 'utf8'); | ||
| const commandBuffer = Buffer.from( |
|
|
||
| const command11 = `right ${stick2} ${time}\r`; | ||
| console.log('Constructed command:', command11); | ||
| const commandBuffer11 = Buffer.from(command11, 'utf8'); |
| console.log('Command sent using sendAsyncWithThrottle:', command1); | ||
| const command1 = `forward ${stick1} ${time}\r`; | ||
| console.log('Constructed command:', command1); | ||
| const commandBuffer1 = Buffer.from(command1, 'utf8'); |
| console.log('Command sent using sendAsyncWithThrottle:', command11); | ||
| const command11 = `left ${stick2} ${time}\r`; | ||
| console.log('Constructed command:', command11); | ||
| const commandBuffer11 = Buffer.from(command11, 'utf8'); |
| stick1 = stick1 * -1; | ||
| const command1 = `back ${stick1} ${time}\r`; | ||
| console.log('Constructed command:', command1); | ||
| const commandBuffer1 = Buffer.from(command1, 'utf8'); |
| const commandBuffer11 = Buffer.from(command11, 'utf8'); | ||
| const command11 = `right ${stick2} ${time}\r`; | ||
| console.log('Constructed command:', command11); | ||
| const commandBuffer11 = Buffer.from(command11, 'utf8'); |
No description provided.